How to export the single cube data from SAP repository
Hi ,
I have a requirement to export the single cube data ( there was so many cubes in the SAP repository) as an XML file or a .csv file or a flat file.
And also looking for how to do cube quering?
Thanks in advance ,
Ramakrishna Thota
HI RK,
1. You can use Open Hub service to export data into CSV or File Format.
2. You can also use RSCRM_REPORT transaction to export data in to File, for this you need to create query first.
3. You can also use APD to generate file of your cube data.
thanks
Ramesh Babu
Similar Messages
-
How to Send the material master data from sap4.6c to ECC6.0
Hi
Friends this is shalini Shah, i got one requirement that is
how to send the materail master data from SAP 4.6C to ECC6.0 using XI.
i know the file to idoc and idoc to file scenarios but i don't know this one.
please help me friends, Thanks in advance.
Regards
Shalini ShahHi Shalini,
To trigger IDoc these configurations should be done in the SAP 4.6, XI and ECC 6.0.
SAP XI
1) RFC Destination (SM59)
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
2) Create Port (IDX1)
a) Select create new button
b) Enter the port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Load Meta Data for IDOC (IDX2)
a) Create new
b) IDOC Message Type
c) Enter port created in IDX1.
SAP R/3 (4.6 and ECC 6.0)
1) RFC Destination (SM59)
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
2) Create Port (We21)
a) First Select Transactional RFC and then click create button
b) Enter the destination port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Create Partner Profile (WE20)
a) Create New
b) Create the Partner no. name as same the logical system name of the destination system.
c) Select Partner type LS
d) Enter details for Type: US/USER, Agent, and Lang.
e) Click on the + button to select the message type.
f) Select Partner no. and LS which ever create above.
g) Select Message type
h) Select Process code related to the Message type.
I) save.
Also go ther the Blog <a href="/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi Configuration for Pushing IDOC's from SAP to XI</a> By Swaroopa Vishwanath
U need to import the IDoc types both inbound and outbound to XI.
1. Create Inbound and Outbound Message interface.
2. Do one to one message mapping.
3. Define an Interface mapping.
ID:
1. Create 1 Sender aggrement.
2. Create 1 Receiver aggrement.
3. Define 1 RD and ID.
4. Only create an receiver IDoc CC.
Regards
San
<a href="Remember to set the thread to solved when you have received a solution to set the thread to solved when you have received a solution</a>
Where There is a <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/16">blog</a> there is a Way. -
How to export the text edit data to excel file without splitting the data in excel file?
how to export the text edit data to excel file without splitting the data in excel file?
I have a requirement in SAP HR where in the appraiser can add comments in the area given and can export that to excel file. Currently the file is getting exported but the comments getting split into deifferent rows.
I want the entire comment to be fit in one row.
Please help.
Thank youHi,
if your text edit value is stored in 'lv_string' variable.
then before exporting the value to excel you have to remove CL_ABAP_CHAR_UTILITIES=>NEWLINE
that is '#' from the variable lv_string.
for that use code some thing like this.
REPLACE ALL OCCURRENCES OF CL_ABAP_CHAR_UTILITIES=>NEWLINE in lv_string WITH space.
I think this will do the trick. -
How to track the flow of data from R/2 to BI ?
Hi Experts,
Question: How to track the flow of data from R/3 to BI ?
I want to load master data from R/3 to BI. In BI, i create an infopackage to load data from R/3. Under processing tab i set it as "PSA and then in the InfoObject (package by package)". Its a Full update.
Now, i start the update to InfoObject. The load goes on well.
Now, i want to track the flow of data from the master data table in R/3 to Datasource in R/3 then Extractors and then in the PSA in BI and then till the InfoObject. That is the complete flow of data from source table (in R/3) to Target table (in BI).
Please help me know how this can be done. (For example lets take cost element master data)
Regards,
Suraj S NairHi,
Data flow :
BW :
When u right click on the Master Data Info object -> Select Data flow.Then it will show u the details like DS name,IS (If 3.x)
Once u know the DS then you need to find out the source tables for the R/3 DS.This information will get using ROOSOURCE or ROOSFIELD tables or help.sap.com.
My suggestion better to search in Help site for DS source tables.
DS Tables :
The following link will provide you the source tables for some of the LO DS.
https://wiki.sdn.sap.com/wiki/display/BI/BWSDMMFIDATASOURCES
Regards
Ram.
Edited by: Ramakanth Deepak Gandepalli on Dec 22, 2009 9:29 AM -
How to Maintain the MM Master Data from one company code to other co code
Hi Experts,
Can any one pls tell me how to Maintain the MM Master Data from one company code to other co code.
Presently we created New plants,New Purchase Orgs under different company code.
1) Material Master data
2) Vendor MAster data
3) PIR
4) Source List
Is there any standard Transactions...??
Please reply.
Brgds,
KKHi
Check out the link -
http://wiki.sdn.sap.com/wiki/display/ABAP/StepstocreateasimpleLSMWusingbatchinput+recording
lsmw for data migration for xk01 transaction
http://www.sap-img.com/general/lsmw-steps-for-data-migration.htm
Regards
Anand -
Unable to export the ASO cube data
Guys,
I am unable to take an export of the ASO cube data. I am getting the following error message :
Error(1270042)
Aggregate storage data export failed
Can anyone assist me at earliest.
P.S: The data file size is around 30GB.
Cheers
Cnee:)Hi Cnee,
can you post more entries from app log at this situation, that would be helpful for more analysis.
also confirm if the database is in use while you are exporting the data.
if so, logout users, disable connects and then perform the export.
- Krish -
How to get the list of materials from Sap r/3
Hi Experts,
I have one doubt, here iam implementing
HTTP TO RFC scenario.
My doubts are------
1. Should we create DT MT MI and all (OR) not
2.In Request DT how the message structure wil be to get the list of materials from sap r/3 system as Response(Ex: Fields in the source structure).
3.Or the second thing is how to get the list of materials start with some alphabate.
Please reply me for each and every questions mentioned above. Please clarify me.
Helpful answers wil be rewarded.
Reagards
khannaHi Khanna,
<i> 1. Should we create DT MT MI and all (OR) not</i>
Yes U need to create for HTTP site...for RFC U need to import..
<i>2.In Request DT how the message structure wil be to get the list of materials from sap r/3 system as Response(Ex: Fields in the source structure).</i>
You create your own structres for Request and respoce.. and Map it with RFC..
<i>3.Or the second thing is how to get the list of materials start with some alphabate.</i>
I think it will come with acending order....
for more help go through this link
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
regards,
Ansar. -
How to transfer the Legacy Transaction Data into SAP R/3
Hi Experts,
I have issue with legacy transaction data transfer to R/3 system. My clients want to see last 3 years legacy transaction data into SAP R/3 system. But I am not sure whether it is possible or not.
Please let me know any possibilities to transfer the legacy tansaction data into SAP.
Please help me out from this issue.
Advanced Thanks,
ChandraHi Sunitha,
Here legacy sytem is MRP for Retail Sales.
And format is excel. Since three years data available in
existing system.
Please let me know if any further information required.
Regards,
Chandra -
How to export a continous waveform data from a while loop?
Hello there,
I need to add noise signal to my waveform which is read from a binary file. I use noise generate vi (deleted the density part) from NI example as my sub VI, and put it into a while loop in order to get the continous noise signal, but I don't know how to export this data. There's no waveform come out from the noise waveform output tunnel (on the while loop). I used output tunnel, didn't work, tried shift register, didn't work... Can anybody help?
Also, how to fix the dt problem for the noise generate vi and my original data ( from binarty file)
Thanks in advance!
Wendyhi
I think notifier can do the trick (an example is shown in the master-slave template).
Another possibility can be a FG (or action engine, look for the nugget ActionEngine, it will change your LV-coding life !)
N -
How to export message body and data from Table to Excel from outlook 2010
I usually get Employee announcement in emails and I need to compile excel sheet from all these emails to know change in status of employee from previous line to current line .
Dear Concerned,
The change in status of the following employee has been carried out as per following details:
New Status
Change in Job
Effective Date
01-Feb-2015
Employee Name
Ricky ponting
Employee Code
4982
Designation
Sourcing Executive (Secondment)
Job Group
1A
Department
Sourcing & Supply Chain
Unit
Technology Sourcing
Division
Finance
Location
sydney
Reporting Line
Mr Micheal king
Note: Ricky Ponting was previously working as
Tariff Implementation Support Officer XYZ organization was reporting to
Mr Robin Sing
I need working code that export about HTML table data as well last Note : full line so that I can have an excel file of 2000 Employees whoes status have been changed and I can easily sort out from which previous line they were reporting to new line and I
can get in touch with the new line for any Access rights re-authorization exercise on later stage .
Currently i am using following code thats working fine with the table extraction but NOTE: line is not being fetched with the following code based on following URL
https://techniclee.wordpress.com/2011/10/29/exporting-outlook-messages-to-excel/
Const MACRO_NAME = "Export Messages to Excel (Rev Sajjad)"
Private Sub ExportMessagesToExcel()
Dim olkFld As Outlook.MAPIFolder, _
olkMsg As Outlook.MailItem, _
excApp As Object, _
excWkb As Object, _
excWks As Object, _
arrCel As Variant, _
varCel As Variant, _
lngRow As Long, _
intPtr As Integer, _
intVer As Integer
Set olkFld = Session.PickFolder
If TypeName(olkFld) = "Nothing" Then
MsgBox "You did not select a folder. Operation cancelled.", vbCritical + vbOKOnly, MACRO_NAME
Else
intVer = GetOutlookVersion()
Set excApp = CreateObject("Excel.Application")
Set excWkb = excApp.Workbooks.Add
Set excWks = excWkb.Worksheets(1)
excApp.Visible = True
With excWks
.Cells(1, 1) = "Subject"
.Cells(1, 2) = "Received"
.Cells(1, 3) = "Sender"
.Cells(1, 4) = "New Status"
.Cells(1, 5) = "Effective Date"
.Cells(1, 6) = "Employee Name"
.Cells(1, 7) = "Employee Code"
.Cells(1, 8) = "Designation"
.Cells(1, 9) = "Job Group"
.Cells(1, 10) = "Department"
.Cells(1, 11) = "Unit"
.Cells(1, 12) = "Division"
.Cells(1, 13) = "Location"
.Cells(1, 14) = "Reporting Line"
.Cells(1, 15) = "Note:"
End With
lngRow = 2
For Each olkMsg In olkFld.Items
excWks.Cells(lngRow, 1) = olkMsg.Subject
excWks.Cells(lngRow, 2) = olkMsg.ReceivedTime
excWks.Cells(lngRow, 3) = GetSMTPAddress(olkMsg, intVer)
For intPtr = LBound(arrCel) To UBound(arrCel)
Select Case Trim(arrCel(intPtr))
Case "New Status"
excWks.Cells(lngRow, 4) = arrCel(intPtr + 1)
Case "Effective Date"
excWks.Cells(lngRow, 5) = arrCel(intPtr + 1)
Case "Employee Name"
excWks.Cells(lngRow, 6) = arrCel(intPtr + 1)
Case "Employee Code"
excWks.Cells(lngRow, 7) = arrCel(intPtr + 1)
Case "Designation"
excWks.Cells(lngRow, 8) = arrCel(intPtr + 1)
Case "Job Group"
excWks.Cells(lngRow, 9) = arrCel(intPtr + 1)
Case "Department"
excWks.Cells(lngRow, 10) = arrCel(intPtr + 1)
Case "Unit"
excWks.Cells(lngRow, 11) = arrCel(intPtr + 1)
Case "Division"
excWks.Cells(lngRow, 12) = arrCel(intPtr + 1)
Case "Location"
excWks.Cells(lngRow, 13) = arrCel(intPtr + 1)
Case "Reporting Line"
excWks.Cells(lngRow, 14) = arrCel(intPtr + 1)
Case "Note:"
excWks.Cells(lngRow, 14) = arrCel(intPtr + 1)
End Select
Next
lngRow = lngRow + 1
Next
excWks.Columns("A:W").AutoFit
excApp.Visible = True
Set excWks = Nothing
Set excWkb = Nothing
Set excApp = Nothing
End If
Set olkFld = Nothing
End Sub
Private Function GetSMTPAddress(Item As Outlook.MailItem, intOutlookVersion As Integer) As String
Dim olkSnd As Outlook.AddressEntry, olkEnt As Object
On Error Resume Next
Select Case intOutlookVersion
Case Is < 14
If Item.SenderEmailType = "EX" Then
GetSMTPAddress = SMTP2007(Item)
Else
GetSMTPAddress = Item.SenderEmailAddress
End If
Case Else
Set olkSnd = Item.Sender
If olkSnd.AddressEntryUserType = olExchangeUserAddressEntry Then
Set olkEnt = olkSnd.GetExchangeUser
GetSMTPAddress = olkEnt.PrimarySmtpAddress
Else
GetSMTPAddress = Item.SenderEmailAddress
End If
End Select
On Error GoTo 0
Set olkPrp = Nothing
Set olkSnd = Nothing
Set olkEnt = Nothing
End Function
Function GetOutlookVersion() As Integer
Dim arrVer As Variant
arrVer = Split(Outlook.Version, ".")
GetOutlookVersion = arrVer(0)
End Function
Function SMTP2007(olkMsg As Outlook.MailItem) As String
Dim olkPA As Outlook.PropertyAccessor
On Error Resume Next
Set olkPA = olkMsg.PropertyAccessor
SMTP2007 = olkPA.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x5D01001E")
On Error GoTo 0
Set olkPA = Nothing
End Function
Sub DebugLabels()
Dim olkMsg As Outlook.MailItem, objFSO As Object, objFil As Object, strBuf As String, strPth As String, arrCel As Variant, intPtr As Integer
strPth = Environ("USERPROFILE") & "\Documents\Debugging.txt"
Set olkMsg = Application.ActiveExplorer.Selection(1)
arrCel = Split(GetCells(olkMsg.HTMLBody), Chr(255))
For intPtr = LBound(arrCel) To UBound(arrCel)
strBuf = strBuf & StrZero(intPtr, 2) & vbTab & "*" & arrCel(intPtr) & "*" & vbCrLf
Next
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFil = objFSO.CreateTextFile(strPth)
objFil.Write strBuf
objFil.Close
Set olkMsg = Application.CreateItem(olMailItem)
With olkMsg
.Recipients.Add "[email protected]"
.Subject = "Debugging Info"
.BodyFormat = olFormatPlain
.Body = "The debugging info for the selected message is attached. Please click Send to send this message to David."
.Attachments.Add strPth
.Display
End With
Set olkMsg = Nothing
Set objFSO = Nothing
Set objFil = Nothing
End Sub
Function StrZero(varNumber, intLength)
Dim intItemLength
If IsNumeric(varNumber) Then
intItemLength = Len(CStr(Int(varNumber)))
If intItemLength < intLength Then
StrZero = String(intLength - intItemLength, "0") & varNumber
Else
StrZero = varNumber
End If
Else
StrZero = varNumber
End If
End FunctionDear Graham
I am already big fan of yours and using mail to many Addin from years from word 2007 to Word 2010 :) and still loving it and I use it for access re-authorization from Lines for application accesses . I tried and finally got understanding of the Extract to
mail Addin and after tweaking excel - Text To columns and other few things finally i was able to get the required data - from morning to now :) I am happy to see your provided guidance
Thanks alot - by the way why your Mail to many add-in is so slow now these days :) previous versions usually help me send 1000 emails in 10 minutes now it takes long time :) -
How to export a table of data from MS Access 2007 to Oracle 11g
I have been looking all over trying to find a way to get a table from Access 2007 to Oracle 11g. I tried using the export options in Access but can't get them setup correctly I guess. What are the steps to setting this up correctly or is there another way to export the data?
MS Access 2007 DB migration To oracle 10g
-
How to obtain the pricing condition data from sales data?
Hi all! I have googled many times and read through many sites to understand how I can obtain the pricing condition data that's specific to a specific sales line. However, the answer I got usually are as follow:
Tables to be used:
KONV
KONH
KONP
VBRK
VBRP
And the thing is to obtain KNUMH data from VBRP and link it to KONP which will get the exact pricing condition data that's relating to the specific transaction.
However, my challenge is that the field KNUMH in either VBRP or VBAP, it is empty. Therefore, how can I have a report with my sales data as the primary file, and appending the pricing condition data so that I can analyze the different kinds of pricing condition types that the company is using. The only field that I can use is KNUMV which does not give me the pricing condition that was used in this particular invoice line.
I also know that there is the A*** tables, which contains the KNUMH file. However, this file is split into many different tables. Thus, is there a more efficient method to download all the data? In any case, I still do not know how to link to my sales data.
FYI, I only have SE16N and VK13's access.
I hope that someone can help me, please!
Thank you!Hi,
Data flow :
BW :
When u right click on the Master Data Info object -> Select Data flow.Then it will show u the details like DS name,IS (If 3.x)
Once u know the DS then you need to find out the source tables for the R/3 DS.This information will get using ROOSOURCE or ROOSFIELD tables or help.sap.com.
My suggestion better to search in Help site for DS source tables.
DS Tables :
The following link will provide you the source tables for some of the LO DS.
https://wiki.sdn.sap.com/wiki/display/BI/BWSDMMFIDATASOURCES
Regards
Ram.
Edited by: Ramakanth Deepak Gandepalli on Dec 22, 2009 9:29 AM -
How to pass the page item data from tabA to TabB of a discoverer report
I have a discoverer repoort, it is master_detail (Dept-Emp) report
TabA is a master worksheet, which has a page item Deptno
(the data is from a customized query)
TabB is detail report which has a Deptno as the page item
which show the emp detail info on this deptno
(the date is from another customized query).
What I want to do is;
When I change the Deptno in TabA, TabB should automatically change to the deptno of Tab A when I click TabB.
How can I pass the page item deptno from TabA to page item of TabB?
Thanks for your helpHi.
You are absolutely right, you cannot create a link from Page Item.
My Idea was (and I'm sorry taht I didn't mention it at the beginning) to create one link for each and every column in the report in the TabA.
All these links would be exactly same and pass the Deptno to the TabB.
So the end user can click wherever he wants (all cells on the worksheets have the link to the TabB) and he is always redirected to the TabB with the Department parameter seted to Deptno Page Item from TabA.
As I already said before, it is not exactly what you expected, but it's probably the best you can get out of Plus.
Jakub -
How to get the week start date from ISO week number
Hi,
I have a table with the following stucture
Year error Week1 week2 week3 ......week53
2012 error1 2 4 2 1
2012 error2 3 0 1 1I was hoping to get something like select year, error, week1||'Week start date which is a monday of that week' , week2||'Week start date,again monday',....week53 from table
Any suggestions please?
Thanks,
SunHi, Sun,
To see when week N started, add 7 * (N - 1) days to the beginning of the year. (By definition, the beginning of the ISO year is the start of week 1 of the ISO year.)
To see when week 22 of the current year started:
SELECT TRUNC (SYSDATE, 'IYYY') + (7 * (22 - 1))
FROM dual
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
Explain, using specific examples, how you get those results from that data.
Always say what version of Oracle you're using.
See the forum FAQ {message:id=9360002} -
How to extract the size and date from a given file
Hi,
I want to extract the size and date of a file (it can be either a video, audio or text file) that the user points to the location of. But I am not sure how. Does Java have an api that can do this? If not is there some other way of doing this? Can anyone help? Thanks in advance.Have a look at java.io.File, specifically
public long lastModified()
This format returned (I find) is nasty, so then use java.util.Date (or java.sql.Date, look the same on the surface to me) to format it.
Cheers,
Radish21
Maybe you are looking for
-
Second monitor nor being detected through dvi-d port
Hi I have a Hp s5610y slimline. Windows 7 64 bit . It is a newer system with 3 ghz ram and over 600 g.b ram so I know it is not a performance issue, (system handling the duty) I am trying to hook up dual monitors, the product specs page on H.P states
-
Reinstatement of vendor/customer
Hi Guru's, Can any one tell me what is reinstatement of vendor and customer? and also how to make autopostings for re instatement of vendor and customer help would be appriciated. Thanks Ravi
-
Using Collections and initialisation
I am not in the IT business but I am trying to teach myself Java using the JBuilder IDE. I am creating an application which will contain the personal details of each individual user along with a record of the training/work they undertake on different
-
My playlist appears in itunes, but the music files have mysteriously disappeared from my iTunes Media file. Is there a way to recover them? Tried searching and cannot find them.
-
Hi all, We have created a system with the following properties. Property Category : Connector Group : PUBLIC Logical system name : NWCL135 Message Server : NWCL135 Remote host type : 3 SAP Client : 135 SAP System ID