Text Values in Open Hub Destination
Hi ,
Can anybody tell how to extract the text of particular info object using open hub destination into a file.
For ex data is loaded from sales billing cube, ship to customer code is extracted , but need ship to customer name . how to extract this in open hub destination using BI 7.
In queries , we use display key and text then get both key and text values. similar like that is it possible to get in open hub or not.
Thanks .
Hi Uppala,
Following are 2 approaches to achieve this
Approach 1:
1. Create info spoke which will extract data from cube to data base table (do not use file)
2. Create one more info spoke which will extract master data text to data base table (again do not use file)
3. Create join on both the data base tables.
4. Write a ABAP program which will create a file based on the joins of tables.
Approach 2 :
1. Create multiprovider on cube and master data info object
2. Create info spoke based on the multi provider, that will extract data to flat file
For 2nd approach u have to put certain filters to avoid unwanted rows
Regards,
Ajinkya
Similar Messages
-
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
SaikatHI 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. -
Populate text description in the open hub destination
Hi SDNers,
I have requirement with open hub destination, i am taking the cube data to SQL server database.
in that scenario i need text description in the cube ,but we can not see the text description data in the cube(because cube can hold dimension data and utmost navigational attributes data but no textual description).
Text data lies out side the cube but i need couples of text description for master data texts.
Do i need to write the code to populate(look-up) the text description from text table.
Can any one suggest an idea.
Thanks,
SatyaYes, you may want to write a code on transformations from Cube to Open hub to go and get text from Text table of that Info object.
Make sure to create a new IO of lenght equal to Text field in IO and add this new IO in the Open hub and in transformations write a code at field like:
select single TXTSH from /BIC/Txxxxx into wa_text where
key_of_p_table = /bic/source_field
and langu = 'EN'
If sy-subrc = 0.
result = wa_text.
endif.
clear:wa_text -
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 to download the output file into R/3
Hi Guys,
I have a requirement where i need to down load the data from my BW cube to R/3.For this i am using Open hub destination.
While creating the open hub destination we have option called RFC Destination(in that i have selected destination as my R/3 system).When i execute my DTP it is saying the load is successful and it is showing the no.of records transfered.
But i am not able to find where this data is getting transfered From BW cube to R/3 system using open hub.Hi Friends,
I have one Query on WDJ. Here I have two requirements.
I have done click on u201CExport Excelu201D Button that data was download into Excel file Now my requirement is click on Save Button that file will save into (/exchange/CED) this path of R/3 System.
CED -
>is R/3 System ID
Under System id we can save this file.
Here EP Server and R/3 Servers in Diff Systems.
I was write codeing
InputStream text = null;
int temp = 0;
try
File file = new File(wdContext.currentContextElement().getResource().getResourceName().toString());
// String File = "abc.xls";
// String file = "anat" + ".xls";
wdComponentAPI.getMessageManager().reportSuccess("File::"+file);
FileOutputStream op = new FileOutputStream(file);
// FileOutputStream op = new FileOutputStream("D://usr//sap//BPE//"+file);
// FileOutputStream op = new FileOutputStream("D://KumarDev-BackUp//"+file);
wdComponentAPI.getMessageManager().reportSuccess("op::"+op);
if (wdContext.currentContextElement().getResource()!= null)
text = wdContext.currentContextElement().getResource().read(false);
while((temp=text.read())!= -1)
op.write(temp);
op.flush();
op.close();
// path = file.getAbsolutePath();
path = "/exchange/CED/"+file;
wdComponentAPI.getMessageManager().reportSuccess("path:"+path);
catch(Exception ex)
wdComponentAPI.getMessageManager().reportSuccess("ex.printStackTrace()");
My Req is that file will saved in this path (path = "/exchange/CED/"+file; )
Regards
Vijay Kalluri -
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. -
Open Hub destination in BI 7.0
I am trying to create an open hub destination to extract data from an mutiprovider to BPC, when I get the step where I need to assign the infocube to the open hub destination, I cannot find the mutiprovider from the drop down menu, is this means that open hub cannot use the mutiprovider as the data source?
Hi,
Infocubes, DataStore Objects or Infoobjects(attributes or texts) can be used as open hub data sources.
Please refer below link:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/ce/c2463c6796e61ce10000000a114084/frameset.htm
Thanks,
Rema -
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 youHi 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 -
Unable to delete Open Hub Destination
Hi,
I have created an Open Hub Destination in RSA1-> Modeling-> Open Hub Destination.
However, when i try to delete it, i have this error:
Error while deleting open hub destination
Anyone has any idea how to delete an Open Hub Destination?
Thanks,
CHHere is the message when deleting DTP with Delta update:-
Delta DTP cannot currently be deleted (see long text)
Message no. RSBK037
Diagnosis
You want to delete a delta DTP that has been successfully used to load requests from the source into the target. If you delete the DTP, you will also delete the information on the source data that was successfully transferred. As a result the source data would be transferred again, if you create a new delta DTP that links the same source with the same target.
System Response
The system terminated the delete operation.
Procedure
You have two options:
1. Delete all the requests loaded with this DTP from the target and then delete the DTP.
2. Do not delete the DTP and continue to load deltas using this DTP.
According to the message, i need to delete all request. How to do that?
Appreciate your help. Thanks. -
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,
AbhishekHi 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 -
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
VandanaHi,
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 -
Hi,
I am working on Open Hub (first time ofcourse). And performing following steps:-
Modeling>Open Hub> InfoArea> Create Open Hub Destination> Output to File .csv. field names>DIrectory> activate> Create transformation> activate Transformations>Create DTP..Here I am getting an error that destination Open Hub is not active.
Can anyone please tell me am i missing any step here?
ThanksHi...
Always bear in mind that the OHD, once created, should be saved and activated, before creating any transformations or DTPs for it.
And each time the OHD is changed, all the objects corresponding to it... (The transformations and the DTPs) should be activated.
Hope this helps.
Thanks
Sree Ramya Lanka -
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,
BinHi ,
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 -
To view the data in open hub destination
Hi all,
Can anyone help me out how to check the data in open hub destination file.
These are the details:
Destination: File
Type of file : Logical file
Application Server file name : XXXXXXX
If it was file name, i know it has to be checked in AL11 with directory name and file name.
Here its a logical file name. Which is the directory corresponding to this?
Thanks,
tinkugeoHi,
Question: "Are all the logical files are saved in the home directory DIR_HOME?
Please correct me if I am wrong"
Ans: When you create an Open hub destination using Physical file, the file will get created in DIR_HOME directory (by default) in AL11
And for locating the physical path in AL11. Go through the below link. it gives ans to all your ques
http://bx.businessweek.com/sap/view?url=http%3A%2F%2Fweblogs.sdn.sap.com%2Fpub%2Fwlg%2F17370
Edited by: kumkum basu on May 20, 2010 8:20 AM -
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.
Maybe you are looking for
-
What is it with Netflix and IPad that I have to open over and over again b/c it kept on shutting it off when trying to select movies from it's selection. It is sooo frustrating! That is the main reason why I purchased this IPad in the first place. Is
-
Cannot regain access to external drives.
The USB external hard drives attached to my Mac Pro, which is running 10.6.8, are not allowing me access, saying I do not have permission. There is a lock on the desktop icon for each of them. I tried changing them in the Get Info box but all permiss
-
B1DE Professional Installer Problems
I have created an installer solution using the wizard once and it worked, but after I've deleted it and trying use the wizard again, I'm getting the same error every time: "cannot add link because the \setup.exe doesn't exist". I think I'm doing some
-
How to cancel skype subscription?
I cannot cancel my skype subscription. I purchased only one month and I have no money in my account for another month and yet Skype is constantly attempting to take more out. I tried to follow the guide to cancel but it simply isn't working. I'm furi
-
Java code to read Java Program
Hi, Is there any standard api to retrieve the java program's class name, method name, its parameter, code etc... My req is to write a java program that takes any java programme file as input and returns the class name, method name, parameter name and