Open hub table target structure
Hi,
we have info spoke which sends data to the file.
Infspoke has unit infoobject in it which is actually not required in the file. on the other hand we can't remove that unit infoobject from the infospoke as it required by one KF.
How do I get rid of that unit field from the file.
BADI?
If it is BADI is it OK to remove the field in the target structure?
Can I get some sample code in this case..
or is there any other way?
Thanks.
Hi varun,
Just cretae the new data target structure simillar to the source structure and in that remove the Unit from the structure.
Write the following code in the badi..
*Data Decleration
data: l_s_data_in type Source Structure
l_s_data_out type Target Structure
*clear the output table e_t_data.
clear e_t_data_out.
*loop at the source system
Loop at Internal table from Source
loop at i_t_data_in into l_s_data_in.
*insert the record to l_s_data_out..
move-corresponding l_s_data_in to l_s_data_out.
insert l_s_data_out into table e_t_data_out.
endloop.
endmethod.
I Hope this is helpful for u..
Similar Messages
-
Delete the initialization of delta on open hub table
HI Gurus
I have loaded data from cube to open hub table using DTP with full update, later on i have loaded the data using a DTP with delta update. Now i am thinking that delta has been initialized on the open hub table, so now want to delete the initialization of delta on the open hub table. It would be great if some one could send me the response.
Thanks
RohitHi Sam,
If I understand you correctly,
You have removed your Initialisation by going InfoPackage --> Scheduler --> Initialization Options for Source --> Removed the Request
Then you did Init without Data Transfer
Then you have the option from init withoout Data transfer to Delta in InfoPackage and Loaded the Data.
Check in the Process Chain the InfoPackage you have mentioned in the selections may pointing towards Init load instead of Delta.
Sudhakar. -
Cannot see an open hub table as an external data in data services
Basically an open hub has been built in SAP BW. I have configured a datastore to acess it ( connection ok ) however I am not able to see it in the external data window ( Data Services)...has anybody a list of reason why the open hub tables are not visible in data services
ThanksHi,
Please refer below link.
http://help.sap.com/saphelp_nw70/helpdata/en/43/7a69d9f3897103e10000000a1553f7/frameset.htm
Below link gives you common issues with open hubs.
http://wiki.sdn.sap.com/wiki/display/BI/CommonIssueswithOpenHub
Regards,
Pravin -
Hi Gurus,
Please let me know in which table are the Open Hub table descriptions stored?
Also let me know if there is any function module that gives the description of Open Hub tables when we pass Open Hub Technical name?
Regards,
G.Srinivasanhi,
you can check the below doc it has all the tables relate to open hub destination
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/icc/bw-ohs%20open%20hub%20service%2c%20third-party%20integration.pdf
the blow thread is relate to the same question you have asked
Re: How to Change OpenHub Destination
hope this helps.
regards,
Mahesh -
Hi all,
I am using an open hub and out put as DB . for delta load form DSO in open hub level i selected technical key so it will maintain the entire history of delta changes but for performance reason i should delete the DB after some time .
note:
I don't want to select the option deletion data from the table
Thanks and regards
udayHI,
Deleteing Data in Tables depends on your requirements, generally there are options i.e. Append or Overwrite data, or Delete.
For reference keep data in Tables after some time/days/weeks you can delete the data in tables using some ABAP code. So you write simple code to delete the data in that Table and execute that program whenever you want to delete the Data in Tables.
For, some references see in below url in Open Hub Destination section
http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
Thanks
Reddy -
Hi All,
Can we store delta data in infospoke DB table.
I created a infospoke by exporting the data of cube in DB table. now i want to export the delta data of cube in the same table.
So Guru's please let me know is this possible in infospoke to store delta data either in file or table.
Thanks,
EkkaHi pradeep
You can store the delta using Info spokes in files.
Please go through the below articles
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0d48577-9542-2e10-05a1-d6c1e07ea641?QuickLink=index&overridelayout=true
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20d6059d-f32c-2d10-90a4-f3c1009fb9a9?QuickLink=index&overridelayout=true
and check the below thread
Extraction mode Delta in Infospoke by using Multiprovider
Hope this helps
Regards,
Venkatesh
Edited by: Venky1903 on Jul 29, 2011 4:55 PM -
Update Function Module Required for Deletion/Truncation of Open Hub Table
Hi All,
I need to delete/Truncate DB tables i.e. Ztables using Update FM
can anyone help me with few Update FM.
Regards,
NS.If you want to Delete Custom DB table then you can use FM RS_DD_DELETE.
You can delete, if the table is not used anywhere in SAP.
Close thread if you got a answer
Kanagaraja L
Edited by: Kanagaraja Lokanathan on Mar 16, 2010 9:54 AM -
Open hub service - Cube as source system
Dear gurus,
i am new to open hub concept.
i need to transfer values from my query to a custom table in R/3.
im using bi7.
Questions:
1) i guess pen hub is my solution. is it correct?
2) do i have to transfer values from my cube or can i send values from my query too?
3) i have created openhub service under modelling tab, i have selected target type as TAB. it says database table /BIC/OHZTABLO.
is it correct?
4) then i am trying to create Transformation from open hub ZTABLO to/ BIC/OHZTABLO. ?
in that case it shows that transformation target is DEST- ZTABLO? i mean open hub service is my destination? then what is the source?i am confused in that point.
5) Thanks all!1) i guess pen hub is my solution. is it correct?
->If u want to transfer dat from yr query then APD (analysis Process designer) will be the best bet to go for. Create APD and schedule it in process chain
2) do i have to transfer values from my cube or can i send values from my query too?
->Using OH(open hub) you have to use Cube as a source,,,you cant use query then.
3) i have created openhub service under modelling tab, i have selected target type as TAB. it says database table /BIC/OHZTABLO.
->ya,correct,there are two ways to do that,,,either u send the cube data to a open hub table(as its happening in yr case) or send it to application server/flat file
is it correct?
--> yes
4) then i am trying to create Transformation from open hub ZTABLO to/ BIC/OHZTABLO. ?
in that case it shows that transformation target is DEST- ZTABLO? i mean open hub service is my destination? then what is the source?i am confused in that point.
---> yr source is InfoCube and target is Open hub table /BIC/OHZTABLO
5) Thanks all!
Than you. -
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. -
Access Violation when trying to read from Open Hub in BW
Hi,
Can someone help me out. I use BODS version 14.1.1.210. I have setup the connection to BW source and imported metadata for my OpenHub - no problem.
Then created DTP and processchain to load Open hub data in BW.
Made dataflow in BODS with Open Hub Tables as source and maintained processchain to be executed. When executing BODS job I get the following error:
6800 10580 JOB 17-03-2014 13:10:34 Job <Test_OpenHub> is terminated due to error <170101>.
6800 10580 SYS-170101 17-03-2014 13:10:34 |Session Test_OpenHub|Data flow Test Openhub
6800 10580 SYS-170101 17-03-2014 13:10:34 System Exception <ACCESS_VIOLATION> occurred. Process dump option is off. Process is not dumped.
6800 10580 SYS-170101 17-03-2014 13:10:34 Call stack:
6800 10580 SYS-170101 17-03-2014 13:10:34 (null)
6800 10580 SYS-170101 17-03-2014 13:10:34 Registers:
6800 10580 SYS-170101 17-03-2014 13:10:34 RAX=00000000747E1648 RBX=0000000000209AB8 RCX=0000000000209AB8 RDX=0000000000000160 RSI=000000000231DAC0
6800 10580 SYS-170101 17-03-2014 13:10:34 RDI=0000000008BEBAC0 RBP=0000000000000000 RSP=00000000002099C0 RIP=000000007477730A FLG=0000000000010206
6800 10580 SYS-170101 17-03-2014 13:10:34 R8=0000000000000000 R9=00000000FFFFFFFF R10=0000000000620064 R11=0000000008C93600 R12=000000000033D390
6800 10580 SYS-170101 17-03-2014 13:10:34 R13=0000000081D6FEC0 R14=000000000020A008 R15=000000000020A030
6800 10580 SYS-170101 17-03-2014 13:10:34 Exception code: C0000005 ACCESS_VIOLATION
6800 10580 SYS-170101 17-03-2014 13:10:34 Fault address: 000000007477730A 01:000000000002630A
6800 10580 SYS-170101 17-03-2014 13:10:34 C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_88df89932faf0bf6\MSVCP80.dll
6800 10580 SYS-170101 17-03-2014 13:10:34 ==========================================================
6800 10580 SYS-170101 17-03-2014 13:10:34 Collect the following and send to Customer Support:
6800 10580 SYS-170101 17-03-2014 13:10:34 1. Log files(error_*, monitor_*, trace_*) associated with this failed job.
6800 10580 SYS-170101 17-03-2014 13:10:34 2. Exported ATL file of this failed job.
6800 10580 SYS-170101 17-03-2014 13:10:34 3. DDL statements of tables referenced in this failed job.
6800 10580 SYS-170101 17-03-2014 13:10:34 4. Data to populate the tables referenced in the failed job. If not possible, get the last few rows (or sample of them) when
6800 10580 SYS-170101 17-03-2014 13:10:34 the job failed.
6800 10580 SYS-170101 17-03-2014 13:10:34 5. Core dump, if any, generated from this failed job.
6800 10580 SYS-170101 17-03-2014 13:10:34 ==========================================================
Any good ideas?Hello Erik,
not sure about it, but did you see this post some hours after yours?
DS 4.1 job aborts with Access Violation
Also, did you check ST22 to see if it generates any dump?
And if you're able to check the BODS log files, it might me helpful. They're located at %LINK_DIR%\log directory. Check the names with the execution of the job.
Hope it helps!
Regards.
Bruna Dupim -
Problem in transporting Open Hub destination
Hi,
I have a open hub destination. The destination is a database table. When i try to transport the open hub destination to staging, the transport fails saying "Unable to activate table /BIC/OHXXX" . What could be the reason ?
Thanks,
SatyaHi Satya,
I have exactly the same problem. The reason why the table could not be activated is because the referenced fields of the open hub table are wrong. Unfortunately I do not know at the moment why this is done. It would be great if could post the solution if you solved the problem. I will keep you informed...
Thanks,
Thomas -
I am trying to export data from BI (version 2004s, SP 11 on an Oracle DB) to an external SQL Server database using OpenHub's third party API.
Can anyone give me an example on how to use the API? My ABAP skills are not very solid, so the more details the better.
I have looked at the help files and I think I understand the process on a high level. I know that I first have to create an RFC connection to the database, then extract the data to the Open Hub tables in BI. How can I now pick up this data using the Open Hub API?
Any example around this API would be helpful.
Thank you,
DennisThis document describes the [Open Hub Service|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5f12a03d-0401-0010-d9a7-a55552cbe9da].
Tim
PS: I see I was a year late with this response
Edited by: Tim Wise on Feb 29, 2008 12:42 PM -
Open Hub Destination table structure update
Hi,
I created a open Hub detsination and activation created the table and populated the data in the table and have a view over the table.
I need to add few more fields in the open hub and when I did that and activated again , it is supposed to change the table structure adding the new fields that were added in the open hub.
The activation was successful but the table structure still stays the same.I didn't see the new fields in the generated table.
Anyone having similar issues.
Thanks in advanceWe deleted all the related objects from Staging and production and re transported them from Development as though they are being sent for the first time and that works.Tough this approach is not good we need to use it as I didn't find any other solution
-
Hi Gurus,
Please let me know, in which database table, can I find the description of open hub.
e.g. If i define a open hub destination with id ZTESTOHUB and description Test Open Hub, then in which table & field, is description Test Open Hub stored ?
Regards
MGHi,
You can use the table RSBSPOKET which contains List of all InfoSpokes with the Short & Long Descriptions (only one of these can be maintained).
The list of all table related to info spokes are as follows: Might be helpful for future use
RSBSPOKESELSET InfoSpoke Directory and Selection Options
RSBSPOKEVSELSET InfoSpoke Directory with Selection Options and Versioning
RSBSPOKE List of all InfoSpokes with attributes maintained with transaction RSBO which include the name of
the Source & Target Structures
RSBSPOKET List of all InfoSpokes with the Short & Long Descriptions (only one of these can be maintained).
RSBSTEPIDMESS Contains all the messages that have been recorded during the execution of an InfoSpoke. This table can
be added to using the ABAP Class/Method i_r_log->add_sy_message.
Hope this helps.
thanks,
rahul -
Open Hub - Data from multiple sources to single target
Hello,
I am using Open Hub to send the data from SAP BI to Flat files. I have a requirement where I want to create a single destination from multiple sources. In other words in BI we have different tables for attributes and text. I would like to combine the data from attributes and text into a single file. For eg. I want to have material attributes and text in the same single file as output.
Is this possible in Open Hub? If yes could you please help me to understand the process.
Thanks,
KKHi,
1. Create the Info Spoke and activate it
2. Change it and go to transformation
3. Check the box InfoSpoke with Transf. Using BAdI
4. You are asked if you want to generate the spoke. Say yes & Simply set some texts and activate here, then return.
5. You can now change the target structure. Simply create a Z structure with all the attributs & text field in it in the SE11 and enter it here.
6. Double click on BAdI implementation & then double click again on "TRANSFORM" method of the implementation. It will take you to method
"IF_EX_OPENHUB_TRANSFORM~TRANSFORM"
7. Write a code to select & fill the text field & map other filed with the attribute fields.
Example:
ZEMPLOYEE_ATTR_STRU - Target Structure for InfoSpoke EMPLOYEE_ATTR
EMPLOYEE /BI0/OIEMPLOYEE NUMC 8 0 Employee
DATETO /BI0/OIDATETO DATS 8 0 Valid to
DATEFROM /BI0/OIDATEFROM DATS 8 0 Valid from
COMP_CODE /BI0/OICOMP_CODE CHAR 4 0 Company code
CO_MST_AR /BI0/OICO_MST_AR CHAR 4 0 Controlling Area of Master Cost Center
HRPOSITION /BI0/OIHRPOSITION NUMC 8 0 Position
MAST_CCTR /BI0/OIMAST_CCTR CHAR 10 0 Master Cost Center
TXTMD RSTXTMD CHAR 40 0 Medium description
Note: Text and attribute are in same structure.
Maybe you are looking for
-
Disk full attempting to move files from PC to Mac
I've just bought a brand new Macbook Air. I'm attempting to move photos, music and some documents from my old acer onto the macbook. However when i've tried to do this, i've found that the disk is full. This disk is the macinstosh HD disk, though the
-
One day, I looked at my mac app store to see a question mark on the icon. I am not sure how it was deleted but it seems that it has been. I checked the applications folder, I searched for "app store" and "mac app store" and it seems to have vanishe
-
Mouseover Button in Keynote 09
Is there any way to create a rollover button to hyperlink to another presentation? In other words, when you place the mouse over the button, the button changes it appearance.
-
Settings: When we try to call a remote Ejb API the below error is thrown. xxx.xxx.xx.xx : represents ip for the localhost. yyy.yyy.yy.yy represents ip for the remote Ejb call <Apr 24, 2009 3:08:22 PM EDT> <Warning> <JTA> <BEA-110486> <Transaction BEA
-
IMovie "installed" but not showing up
Newbie Mac user, just downloaded Imovie11, app store says its installed, but I don't see it anywhere? I'm sure it's a quick thing... can someone help? Thanks!