Open Hub - Routine for KeyFigures possible?

I created an OpenHub destination and to export data from a cube. When I now want to modify the exported value for a key figure in a routine for this transformation, I do not see the default template "RESULT = ." and keep getting syntax errors for ABAP code that works fine in other transformation routines of the same cube.
When using a formula instead, I also get error messages saying "Target parameter is not being used" and "Cannot compile formula" even though the formula is very simple.
I am now wondering whether I am doing something wrong or whether it is not possible to change values in transformations for OpenHub exports.
Thanks for clarifying,
Dennis

Hi Sasidhar,
Please find the below links,
INFOSPOKES:
http://help.sap.com/saphelp_nw04/helpdata/en/66/76473c3502e640e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c5/03853c01c89d7ce10000000a11405a/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/59/90070982d5524b931ae16d613ac04a/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/c2463c6796e61ce10000000a114084/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/43f92595-0501-0010-5eb5-bb772d41ffa4
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e830a690-0201-0010-ac86-9689620a8bc9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f12a03d-0401-0010-d9a7-a55552cbe9da
http://help.sap.com/saphelp_nw04/helpdata/en/66/76473c3502e640e10000000a114084/frameset.htm
Hope this helps,
Sai.

Similar Messages

  • Open Hub extraction for Hierarchies

    Hello,
    I need to create a Open Hub on the 0MAST_CCTR in HR-PA. Unfortunately the Open Hub does not give you the option for hierarchies. Any ideas?
    Thanks,

    Hi,
      If it is a flat file output then you can use the below program mentioned in SAP how to document. We are using this in our system.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb?quicklink=index&overridelayout=true
    Regards,
    Raghavendra.

  • Open hub services for badis implementations

    I want to implement a openhub services for badis.
    could u please send me a screen shot implementation am new to this task.
    thanks for help

    Hi Madhavi,
                    Can you please  send  those  docuemnts to me also.
    Mail-Id : [email protected]
    Thanks in advance
    Regards
    Ramakanth.

  • Modifying destination Directory of Application server for Open Hub

    Hi All,
    i want to load a csv file on application server using Open Hub.
    when i have created the open hub i have specified the server name, the file name and the directory.
    but the Basis guys told me that i should use another directory, they have created me a Unix Directory but the problem that i can't modify the directory path in my open hub.
    can you tell me please what is the problem?
    another question why i can't modify directly in Production System this parameter of server name, directory for open hub,
    in production i can create the open hub but when i have transported some one from dev to prod i can't modify in prod, i have controlled from transport tool the possibility of modication object and i see that for opne hub is "original modificable"
    Thanks for your help
    Bilal

    i have read in some forum that to " to change the server name or logical file name we can do so in the following table:
    RSBFILE"
    i tried to see the data of this table and i found 2 records for my open hub, 1 for Active version and 1 for Modified version
    i tried here to change the path name of the directory and after saving the system give me the message that the active version and the modified version of my open hub are not equal, when i try to activate again my open hub the system take the old
    directory path.
    is this is the right table to change the directory path on application server of my open hub? or there is another table?
    i don't work with logical filename, i work with file name and directory path name.
    thanks for your help
    Bilal

  • Open hub destination of text and attribute for Functional Area

    Hi Expert
    I have a requirement to accommodate both attribute ( 0FUNCT_LOC_ATTR)  and text ( 0FUNCT_LOC_TEXT ) for functional area in open hub destination .For this a DSO has been created from both 0FUNCT_LOC_ATTR, 0FUNCT_LOC_TEXT data sources .Problem is that DSO has 0FUNCT_AREA ( Functional Area ) as only key fields . So text for both english ( EN ) and Dutch ( NL) for particular 0FUNCT_AREA not getting loaded .If we assign both 0LANGU and 0FUNCT_AREA as composite key of dso , data from attribute transformation is loaded as blank as there is no language filed in attribute data source ( 0FUNCT_LOC_ATTR ).   Please let me know how can I design to accommodate both text for different language and functional area for open hub destination  .
    I know that I can create separate open hub destination for master data TEXT and Attribute.
    Any help is highly appreciated.
    Regards
    Saikat

    HI Saikat,
    You can create an additional characteristics counter and make it a key field in the DSO.After that we can populate this characteristics in the end routine .It value would increase by 1 everytime  different text comes for the same functional area.
    Sample code
    data: counter type n,
             w_farea type /bio/oifunc_area.
    Sort result_package by func_area.
    count =0.
    *checking whether we have the same functional area or we have a different functional area.
    Loop at result_package assigning <Result_fields>.
    if w_farea is initial or w_farea = <result_fields>-func_area.
    count = count +1.
    else
    count =1.
    endif.
    w_farea= <result_fields>-func_area.
    <Result_fields>-zcount = count.
    ENDLOOP.
    Clear w_farea.
    This way the value of counter would get increased by one everytime a new text comes for the same functional area.We can have any number of texts for the same functional area by this method.
    The only issue would be when some delta update comes for the existing text in this method.If you are doing a full load to the DSO from the datasource, then there would be no issue with this method.

  • To create an header for Open Hub extract

    Hi guys,
    How do i get an header for an open hub extract for a CSV file, an header consisting of the field names technical or otherwise.
    Thanks,
    Your help will be greatly appreciated

    hi,
    Field definition
    On the Field Definition tab page you define the properties of the fields that you want to transfer.
    We recommend that you use a template as a basis when you create the open hub destination. The template should be the object from which you want to update the data. This ensures that all the fields of the template are available as fields for the open hub destination. You can edit the field list by removing or adding fields. You can also change the properties of these fields.
    You have the following options for adding new fields:
    ●     You enter field names and field properties, independent of a template.
    ●     You select an InfoObject from the Template InfoObject column. The properties of the InfoObject are transferred into the rows.
    ●     You choose  Select Template Fields. A list of fields are available as fields for the open hub destination that are not contained in the current field list. You transfer a field to the field list by double-clicking on it. This allows you to transfer fields that had been deleted back into the field list.
    If you want to define the properties of a field so that they are different from the properties of the template InfoObject, delete the template InfoObject entries for the corresponding field and change the properties of the field. If there is a reference to a template InfoObject, the field properties are always transferred from this InfoObject.
    The file or database table that is generated from the open hub destination is made up of the fields and their properties and not the template InfoObjects of the fields.
    If the template for the open hub destination is a DataSource, field SOURSYSTEM is automatically added to the field list with reference to InfoObject 0SOURSYSTEM. This field is required if data from heterogeneous source systems is being written to the same database table. The data transfer process inserts the source system ID that is relevant for the connected DataSource. You can delete this field if it is not needed.
    If you have selected Database Table as the destination and Semantic Key as the property, the field list gets an additional column in which you can define the key fields for the semantic key.
    In the Format column, you can specify whether you want to transfer the data in the internal or external format. For example, if you choose External Format here, leading zeros will be removed from a field that has an ALPHA conversion routine when the data is written to the file or database table.
    Assign points if helpful
    Cheers!!
    Aparna

  • Issue for DTP from DSO to open hub destination

    Hello Gurus,
            I have a issue for DTP from DSO to open hub destination, long text for error in the monitor is as follows:
              " Could not open file
    SAPBITFS\tst_bi\bit\BIWork\GENLGR_OneTimeVendr_2 on application server"
              " Error while updating to target ZFIGLH03 (type Open Hub Destination)     "
          for open hub destination, I check the configure for logical file name , which is "
    SAPBITFS\tst_bi\bit\BIWork\GENLGR_OneTimeVendr",
    I am wondering where that file " 
    SAPBITFS\tst_bi\bit\BIWork\GENLGR_OneTimeVendr_2" in the error message comes from?
    Many thanks,

    Hi
    You do not need to create a file in application server. It will be created automatically.
    But if you have defined a logical file name in tcode FILE and used that in OHD and if it is not correct then it will show a conflict. Check this out.

  • Open Hub Destination question

    Hi,
    We want to be able to extract data from a cube and would like to use Open Hub Destination for it. We also want to extract deltas.
    The question is ..
    Should we be making a single info package for this with delta capability ..
    or 2 separate info packages .. 1 for full mode and another for delta mode.
    Regards
    Vandana

    Hi,
    Yes what you said it is write
    from which cube do u want to retract the daat that cube will be the source
    first create the open hub in RSBO tcode and
    in open hub destination select aht and create the transformation between the table( to where u want to export)
    then create the DTP between the cube to the table
    and directly u can use the delta DTP first all the records will come and later onle delta records will be updated.
    Thansk & Regards,
    sathish

  • Can open hub pull display attributes from a cube or DSO (or do they have to

    Hi all,
    Have a question which I need answered, can anyone help out?
    Which attributes can OpenHub pull from an InfoCube or DSO?
    Navigational or display, none or both?
    Any input is much appreciated.
    Thanks

    Hi Friends,
    None of the attributes are pulled using Open Hub.
    For Infocubes, only characteristics in Dimensions along with all Key figures are pulled.
    For DSO, all the Key fields and Data fields are pulled.
    Regards,
    Hemant Khemani

  • Open Hub destinations

    I am using open hub destinations to transfer the cube data into database tables in BI.During activation of open hub the database tables with names /BIC/OH* are created. I am facing problem with the reference fields associated with this table.It is taking the field name itself as the reference field for Quantity and currency fields.Suppose I have a field CRM_NETVAM in table, the reference field shown for that in table is CRM_NETVAM only.This is the problem, so it wo'nt allow us to activate the databse table and ulltimately will be cause of failure of the open hub functionality.
    I need quick help for this and will give full points to anything which can help me out in solving this.

    Hello,
    Open hub service is to distibute data from BI system to non SAP systems. In open hub service for data export from BI system to non SAP system the central object is Infospoke and within infospoke BI Objects acts as open hub data source  from which data is extracted in full and delta mode and flat files and database tables acts as open hub destinations basically the target system into which data is transferred and data can be transferred using Business Add In (BADI)
    Please check this link:
    http://help.sap.com/saphelp_nw04s/helpdata/en/c5/03853c01c89d7ce10000000a11405a/frameset.htm
    Hope it helps.
    Regards,
    Mona

  • Open Hub Vs Infospoke

    Hi All,
    In BW 7 We are using Open Hub & previously using Infospoke in BW 3.5. My question is in infospoke we have the flexibility of using BADI but in Open Hub we dont have that option. can we still use infospoke instead of Open HUB. Are there any advantages of open hub over infospoke.
    Thanks,
    Kiran.

    Hi,
    The open hub service enables you to distribute data from an SAP 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.
    Through the open hub service, SAP BW becomes a hub of an enterprise data warehouse. The distribution of data becomes clear through central monitoring from the distribution status in the BW system.
    Functions
    BW objects such as InfoCubes, ODS objects, or InfoObjects (attributes or texts) can act as open hub data sources. You can select database tables or flat files as open hub destinations. Both a full and a delta mode are also available as the extraction mode.
    Components of the Open Hub Service
    The open hub service is made up of the following objects:
    InfoSpoke
    The central object for the data export is the InfoSpoke.
    The InfoSpoke defines the following:
    u2022 The open hub data source from which the data is extracted
    u2022 The extraction mode
    u2022 The open hub destination into which the data is delivered.
    In addition, you can also select which data selection is to be extracted from which InfoProviders. This selection ensures that a destination for different points in time from the same InfoProvider can be supplied with data for different selection criteria using a delta. The selection set is freely configurable as long as extraction has not taken place in the delta mode. Once it has, this no longer applies.
    Open Hub Data Source
    BW objects such as InfoCubes, ODS objects, MultiProviders and MultiProviders and InfoObjects (attributes or texts) can function as open hub data sources. If you use an InfoCube with non-cumulative key figures as a data source, refer to the note regarding the settings on the Selection tab page in Creating InfoSpokes.
    Extraction Mode
    An InfoSpoke can extract data in two ways: in full mode (F) and in delta mode (D). See InfoSpoke Extraction Mode.
    Open Hub Destination
    Database tables (from the database in the BW system) and flat files (CSV) can act as open hub destinations. See also Extraction to Database Tables and Extraction to Flat Files. You can extract the data from a database to a non-SAP system using APIs with a third-party tool. See also Extraction to Non-SAP Systems.
    The open hub destination includes all information about a target system for the InfoProvider data: type of destination, name of the flat file or the database table. It also contains a logical target system. The logical target system is used to structure the individual open hub destinations in the open hub monitor. The open hub monitor groups the requests according to logical target system, open hub destination and InfoSpoke. By specifying a logical target system, you get a better overview of the individual open hub requests.
    for more information u can see the further link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/ce/c2463c6796e61ce10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/58e1cdbed430d9e10000000a11466f/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/79f902dfb06fc9e10000000a1553f6/content.htm
    open hub
    open hub
    @AK

  • Open hub services and infospokes

    I am quite new to BW,i like to know about open hub services and what are infospokes and it is used to implement open hub services.i will b happy if u can provide some materials as well.

    Hi,
    The open hub service enables you to distribute data from an SAP 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.
    Through the open hub service, SAP BW becomes a hub of an enterprise data warehouse. The distribution of data becomes clear through central monitoring from the distribution status in the BW system.
    Functions
    BW objects such as InfoCubes, ODS objects, or InfoObjects (attributes or texts) can act as open hub data sources. You can select database tables or flat files as open hub destinations. Both a full and a delta mode are also available as the extraction mode.
    Components of the Open Hub Service
    The open hub service is made up of the following objects:
    InfoSpoke
    The central object for the data export is the InfoSpoke.
    The InfoSpoke defines the following:
    u2022 The open hub data source from which the data is extracted
    u2022 The extraction mode
    u2022 The open hub destination into which the data is delivered.
    In addition, you can also select which data selection is to be extracted from which InfoProviders. This selection ensures that a destination for different points in time from the same InfoProvider can be supplied with data for different selection criteria using a delta. The selection set is freely configurable as long as extraction has not taken place in the delta mode. Once it has, this no longer applies.
    Open Hub Data Source
    BW objects such as InfoCubes, ODS objects, MultiProviders and MultiProviders and InfoObjects (attributes or texts) can function as open hub data sources. If you use an InfoCube with non-cumulative key figures as a data source, refer to the note regarding the settings on the Selection tab page in Creating InfoSpokes.
    Extraction Mode
    An InfoSpoke can extract data in two ways: in full mode (F) and in delta mode (D). See InfoSpoke Extraction Mode.
    Open Hub Destination
    Database tables (from the database in the BW system) and flat files (CSV) can act as open hub destinations. See also Extraction to Database Tables and Extraction to Flat Files. You can extract the data from a database to a non-SAP system using APIs with a third-party tool. See also Extraction to Non-SAP Systems.
    The open hub destination includes all information about a target system for the InfoProvider data: type of destination, name of the flat file or the database table. It also contains a logical target system. The logical target system is used to structure the individual open hub destinations in the open hub monitor. The open hub monitor groups the requests according to logical target system, open hub destination and InfoSpoke. By specifying a logical target system, you get a better overview of the individual open hub requests.
    for more information u can see the further link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/ce/c2463c6796e61ce10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/58e1cdbed430d9e10000000a11466f/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/79f902dfb06fc9e10000000a1553f6/content.htm
    open hub
    open hub
    Regards
    Tg

  • ABAP routine in Open hub transformation

    Hello Experts,
    My BW consultant created a Open Hub service. For creating a .csv file from a cube.
    For that he had a transformation defined between the source and destination fields.
    I was asked to write a routine to bring the negative sign to front for one of the fields.
    I wrote the following code.
    >    DATA V_OUT(25).
    >
    >   CLEAR V_OUT.
    >
    >    V_OUT = SOURCE_FIELDS-G_AVVWHC.
    >
    >      CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
    >        CHANGING
    >          VALUE = V_OUT.
    >
    >      RESULT = V_OUT.
    there was no error in the syntax check.
    Now, when the open hub is created/ran without routine(direct assignment) it works fine.
    But when the above code is ran, it TIMED OUT!!!!
    I am unable to find any reason for that.
    Could anybody please provide some guidance on this.
    Regards,
    DNP

    Hi Jerry,
    Thanks for your input again. I checked the dump in ST22 and looks like nothing is related to Routine-
    >Information on where terminated
    >    Termination occurred in the ABAP program "CL_SQL_STATEMENT==============CP" -
    >     in "EXECUTE_QUERY".
    >    The main program was "RSAWBN_START ".
    >
    >    In the source code you have the termination point in line 19
    >    of the (Include) program "CL_SQL_STATEMENT==============CM004".
    SourceCde
    >METHOD execute_query .
    >*
    >* Execute the given query.
    >*
    >
    >  DATA:
    >    stmt_ref TYPE REF TO data,
    >    sql_code TYPE i,
    >    sql_msg  TYPE dbsqlmsg,
    >    c        TYPE cursor.
    >
    >
    >* check if a statement was provided by the caller
    >  IF statement IS NOT SUPPLIED.
    >    RAISE EXCEPTION TYPE cx_parameter_invalid
    >          EXPORTING parameter = 'STATEMENT'.
    >  ENDIF.
    >
    >>  CALL 'C_DB_FUNCTION' ID 'FUNCTION'    FIELD 'DB_SQL'                     
    >>                       ID 'FCODE'       FIELD c_fcode_prepare_and_open
    >>                       ID 'CONNAME'     FIELD me->con_ref->con_name
    >>                       ID 'CONDA'       FIELD me->con_ref->con_da
    >>                       ID 'STMT_STR'    FIELD statement
    >>                       ID 'HOLD_CURSOR' FIELD hold_cursor
    >>                       ID 'INVALS'      FIELD me->parameters->param_tab
    >>                       ID 'CURSOR'      FIELD c
    >>                       ID 'SQLCODE'     FIELD sql_code
    >>                       ID 'SQLMSG'      FIELD sql_msg.
    > IF sy-subrc <> 0.
    >  31 *   call error handling macro
    >  32     m_handle_error sy-subrc sql_code sql_msg.
    >  33   ENDIF.
    >  34
    >  35 * reset the parameters in order to make the statement object reusable
    >  36 * for the next execution of an DML statement or query immediately;
    >  37 * but the cursor C itself must not be freed because it will still be
    >  38 * accessed by the created result set object; the allocated cursor
    Regards,
    DNP

  • Error in Open Hub Transformation Routine

    Hi,
    I created an Open Hub Destination which has 67 fields.
    In the transformation, i am using 'routine' for one of the transformation rule.
    In the routine, the target field type is not defined automatically and I am not able to change it. When i save the routine, it gives me error: E:The field string "_TY_S_TG_1" contains no fields.
    Please help.
    Thanks,
    CH
    CLASS routine DEFINITION.
      PUBLIC SECTION.
        TYPES:
          BEGIN OF tys_SC_1,
         InfoObject: 0MATERIAL Product.
            MATERIAL           TYPE /BI0/OIMATERIAL,
          END   OF tys_SC_1.
        TYPES:
          <b><i>BEGIN OF tys_TG_1,
         Field: TXTLG.
          END   OF tys_TG_1.</i></b> 
          PRIVATE SECTION.
        TYPE-POOLS: rsd, rstr.

    Hi,
    In the transformation, have you connected that rule to any target field of your destination? If not, then do that and then try to create the routine.
    Regards,
    Vaibhav

  • Dynamic File name for Open Hub file

    Hi All,
    I wanted to create a .csv file using open hub destination. I wanted the name of the file to be dynamic based on month. for example in jan I wanted it as 01.Dump for January and 02.Dump for february.
    is is possible at all to do that.I wanted to save the file in the application server. There should not be any manual intervention the process.
    Thanks in advance.
    Regds
    Raghu

    Hi
    We have take month from the first record that we read.
    Our requirement is to take one months data and give it in a file with a file name having the corresponding month.
    In the code mentioned below MOC_CODE is the field that is used for this purpose.
    Hope it helps.
    Regards,
    Raghu
    code:
    #!/bin/sh
    Script to dump file.
    Parameters.
    $1 Division name to extract from the data file.
    It re-arranges the columns.
    It replaces values in strings.
    Parameters.
    DATA_FILE_NAME="data_file.csv"
    HEADER_FILE_NAME="header_file.csv"
    DIVISION_NAME="$1"
    Re-arrange header file columns.
    Transpose rows to columns comma separated.
    HEADER_ROW=`cat "$
    Re-arrange header columns.
    Re-direct the output to a temporary file.
    " | tr '\n' ',' | sed 's/,$//g'`
    echo "$" | awk 'BEGIN { FS = ","; OFS = "," } { print $2, $3, $1, $4, $5, $6, $7 }' > "$.$.tmp"
    Prepare awk program.
    Re-arrange data file columns.
    Replace UNI in 6th column with UNIT and Replace TON in 6th column with TONS.
    Filter division rows.
    AWK_PROGRAM="BEGIN { FS = \",\"; OFS = \",\"; TVAL = 0 } \$5 ~ /$/ { sub( \"UNI\", \"UNIT\", \$6 ); sub( \"TON\", \"TONS\", \$6 ); print \$2, \$3, \$1, \$4, \$5, \$6, \$7; TVAL = TVAL + \$7 } END { printf \"$ Total Value: %f\", TVAL 2> \"$$Re-direct the program to a temporary program file.Control.ctl\" }"
    echo "$" > "$.awk"
    Execute the data file formatting command.
    awk -f "$.awk" "$" > "$.$
    Get generation date.
    Get moc code from data file.
    .tmp"
    GENERATION_TIME=`date +"%Y%m%d_%H%M%S"`
    MOC_CODE=`head -1 $ | awk -F, '{ print $3 }'`
    Prepare dump file.
    DUMP_FILE_NAME="$_$_$_$"
    cat "$.$.tmp" "$.$.tmp" > "$
    Remove temporary files.
    FTP dump file to remote server.
    FTP.
    rm *.tmp
    REMOTE_SERVER="<replace with server ip address>"
    REMOTE_USER="xxxx"
    REMOTE_PWD="xxxx"
    ftp -n "$" << EOF
         quote USER "$"
         quote PASS "$"
         ascii
         put "$"
         bye
    EOF
    Exit.
    exit 0

Maybe you are looking for

  • How to make the text flow in a table from on page to the next?

    hello, i wanted to know if its possible on pages to make a table so the text will flow from one page to the next? (for example, i write a content in the column on a specific raw, and if still have text when i reach the margins of the page, it automat

  • Using the Log Viewer for two systems on same host

    We have two Portal systems installed on the same host server.  The log viewer only identifies and displays the log files from one of the systems (A).  This is the case even though I started the log viewer while logged on as the <sid>adm for system (B

  • Deploying into a video management system

    Flash Interactive Media Server seems to be an amazing product, but is it all just hype? I see plenty of tutorials and scenarios on how to grab the video from a flash player and stream it. But would I would like to see are content management systems t

  • How do I install firefox-5.0.tar.bz2 using KPackageKit?

    Your instructions say "wait for your systems package updater...these instructions are only for if you installed firefox manually". How do I get my Fedora 12 linux package program to install the tar.bz2 that was downloaded? e.g., do I need to get a .r

  • If I purchase something on AppleTV is it possible to access it through my iPad without syncing?

    Hello I recently purchased an iPad 3 with retina display and I'm using Apple TV and I've just bought a movie on there was wondering if it's possible to access the movie through Apple TV without syncing my iPad to my MacBook Pro? I guess I'm wondering