BW(SAP) cubes into Discoverer
Hi, I need to integrate BW (SAP) info cubes with another data that I'm manipulating with Discoverer (OLAP Server). I think that it is possible to do that using the AWM tool but I don't know how really. Can anyone help me with your experience ? thanks.
Oscar,
Thanks for the help.
We tried the following one by one.
1. Delete and recreate update rules. To be frank....there is no CODING or complication in there...
It did not work.
2. Tried loading only to PSA. It loaded 15mill records perfectly. But when we tried updating target cube,
same story with many more errors.....earlier we had 10 packages failed out of 387.......
this time almost every alternate package is marked red and same error....update generating update
program.....
Hope somebody will come up with a solution.
Similar Messages
-
*SELECT: How to select value from cube into variable?
Hi,
I have an application that need lots of complex calculations. Currently I am facing problem in retrieving a value from BPC application/database (BW cube) into a script logic local variable. Let's say the application has these following dimensions
1. FYPD ( fiscal yr period. 200901, 200902 etc)
2. REGION ( A, B , C , D etc)
3. PRODUCT(Product ID)
4. VERSION ( ACTUAL, FORECAST etc)
5. AMOUNT (Sales Amount, signed data )
Now I need to extract the sales amount into a local valriable where REGION = "A" and PRODUCT = "SMK-1234" and FYPD = "200905" and VERSION = "ACTUAL"
What's should be the equivalent SELECT command? I tried but could not figure out. Any help?
Regards
DipMHi DipM,
There isn't really a concept of local variables for values in script logic. Instead, you'll want to use *WHEN, *LOOKUP, or MDX statements.
For example, this will copy the value you mention into the PLAN version:
*WHEN REGION
*IS A
*WHEN PRODUCT
*IS SMK-1234
*WHEN FYPD
*IS 200905
*WHEN VERSION
*IS ACTUAL
*REC(FACTOR=1,VERSION=PLAN)
*ENDWHEN
*ENDWHEN
*ENDWHEN
*ENDWHEN
See *WHEN ([link|http://help.sap.com/saphelp_bpc70sp02/helpdata/en/36/339907938943ad95d8e6ba37b0d3cd/frameset.htm]) and *REC ([link|http://help.sap.com/saphelp_bpc70sp02/helpdata/en/25/8d51050c43496887ddff88f13e5f1a/frameset.htm]) documentation for more.
As mentioned, you can also use *LOOKUP or MDX statements to look up values and drive calculations in *REC(EXPRESSION=....) statements. This functionality is outlined in the SP02 documentation addendum ([link|http://service.sap.com/~form/sapnet?_SHORTKEY=00200797470000088146&_SCENARIO=01100035870000000202&]).
In the MS Version of BPC, there is a concept of local MDX variables that work with the specialized *GO script logic statement. This statement is not available in the Netweaver version.
Ethan -
Extract data from a cube into an excel
Hi All,
I am new to sap BI .
How i can extract content of a cube into an excel sheet with a request id?
Thanks in advance,
Aparna.Goto RSA1 --> InfoProvider
Right Click on your InfoCube --> Manage
then Select the Content Tab and Click on InfoCube Content
Select the fields you want to get in your excel o/p file ( include the Request id field which u want)
change max no of hits from 200 to blank or some greater value
Execute it (press F8)
U ll get the o/p on your screen, next is to take it in excel file.
Press on local file icon ( or Press CTRL + SHIFT + F9 ) , then select radio button Spreed Sheet
Regards,
Vinod -
BOXI3.1- SAP Cubes-Performance
Hi all,
please let me if any body know to increase performace in subject environment (BOXI3.1- SAP Cubes-Performance).
where currently my WebI report are taking an average 2 mins 30 sec.
thanks,
reddeppa kHi Reddeppa,
when you run the Web Intelligence report how does it compare to the report in BEx Web Reporting ?
Keep in mind that when really wanting to compare you would need to put the items from the Web Intelligence query panel into the BI Query rows or columns.
thanks
Ingo -
To open & Edit the XLS file in edit mode after Extracting SAP data into it
Hello Experts,
I have a requirement to open and edit the xls file imidiately after downlaoding the SAP data into this XLS file. The XLS file is getting saved on presentation server (e.g. Destop/C: drive).
I have used function module "GUI_DOWNLOAD" OR "DOWNLAOD" to download the data from SAP table to XLS file. But now I need this XLS file to be get opned automatically after finishing the Download, so that user can make changes into XLS file and can save the changes into it. After saving I have to upload this modified Data into SAP table again.
For this I am really not aware how to get it done..but I believe you experts will definately help me out..waiting for your reply.
Thanks,HI,
did you ur problem was solved if not check this code once.
now only i tried it my system , it opens xl file and save all data in it.
DATA: ZKNA1 LIKE STANDARD TABLE OF KNA1 WITH HEADER LINE.
SELECT * FROM KNA1 INTO TABLE ZKNA1.
CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
EXPORTING
FILE_NAME = 'C:\Documents and Settings\rajesh.NACL\Desktop\XLSSDSDS.XLS'
CREATE_PIVOT = 0
DATA_SHEET_NAME = ' '
PIVOT_SHEET_NAME = ' '
PASSWORD = ' '
PASSWORD_OPTION = 0
TABLES
PIVOT_FIELD_TAB =
DATA_TAB = ZKNA1[]
FIELDNAMES =
EXCEPTIONS
FILE_NOT_EXIST = 1
FILENAME_EXPECTED = 2
COMMUNICATION_ERROR = 3
OLE_OBJECT_METHOD_ERROR = 4
OLE_OBJECT_PROPERTY_ERROR = 5
INVALID_PIVOT_FIELDS = 6
DOWNLOAD_PROBLEM = 7
OTHERS = 8
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
thanq,
rajesh.k -
Extracting a Report from SAP Spool into a Useful Excel 2010 Format
Hi All,
Extracting a Report from SAP Spool into a Useful Excel 2010 Format. I'm currently running the following report in SAP and would like the
ability to set this report up as a recurring report running weekly and
subsequently access this report in a useable Excel 2010 format without
much data manipulation. Can you please assist me. Below, I've tried to
provide an example of what I'm encountering. Thanks, beforehand for
your assistance.
Here goes:
Step one: Run 62 Report in SAP S_P99_41000062- Material List Price and
Inventory
Step 2. Select stored Variant "Weekly KPI", ok. Enter the enter the
desired company code and period I want thre report to run for and update
the currency, if necessary. Having input my desired criteria, I believe
I can either execute immediately, run in the background, preset to run
at date in the future. For this example let's just execute, immediately.
This is where the difference originates. Given, I run this report
immediately, I'm able to simply extract the result to Excel via the list
selection noted in the tool bar below. The result is a data friendly
excel 2007 report is automatically generated.
Export to Excel via list:
Select save and Excel 2007 opens automatically:
That said, the method outlined above works perfectly fine if you want
the report immediately. Now let go back and run the exact same report
with exceptoin of running it in the background and having to retrieve it
from the Spool (SP01) uisng my user ID. Given the report generated in
the background, I would now access the report via the spool and make
the following selections:
SP01 + execute to see my report
I would hit the sunglasses to see the actual report, then want to
extract this report to Excel by selecting the export option.
I would at this point select spreadsheet and be given an option to save
the spreadsheet to local file. However, upon trying to open the
spreadsheet I will receive an error messageindicating that the format is
different than that which the file I am currently trying to open it
with. I'm currently running Excel 2010 on my computer. The currency
format and other issues arrise with this extract. Please help.
Thanks,
Chowadary.Update to Latest GUI.
Use List -> Export -> Spreadsheet to get the output to excel.
I remember in ALV max length allowed is 1023 characters and the max no of columns supported is 90. Issue occurs when row size of exported data gets more than 1023 character. (This includes if Long/Medium Header Text used ) If it exceed 1023 character the columns splits and moves to next row.
Check your fieldcatog for header lengths.
-Satya -
Import of SAP Objects into Integration Repository in XI 3.0
Hi all,
I am not able to import SAP objects into the Integration Repository in XI 3.0. This option is under any Software Component Version. I have selected the radio button "Import of RFC and IDoc interfaces from SAP systems permitted", in the Software Component Version settings. After the connection data is specified for the SAP system nothing appears under the IDoc, Whereas the import of RFCs is successfull.
We also have another installation of SAP XI 3.0, here this option is working properly. Can anyone tell me what is the problem, is is there something else to be configured inorder to do this.
Best regards,
NorwayHi Stephan
Thank you for your answer. We have followed your instructions but did only get half a success. Here is what we have done:
1) Created "External Definitions" for all related xsd-files with the same name as the xsd-filename and in our own namespace. Our namespace is different from those specified in the xsd-files. We have not change the namespaces in the xsd-files.
2) Maintained the "source"-field with the name for the xsd-file and not the url as specified in our answer. When we used the filename only we got a value the field "name" in the "External References".
3) We made a message mapping and imported the "top-level-xsd-element" from the "External Definition". This resulted in only the top level element and nothing else. What we expected was the possibility to drill down through the complete structure.
What did we doe wrong? Perhaps I could talk you into spending 10 min. and try it your self? This url leads to a zip file with all the related xsd files: http://rep.oio.dk/ubl/xml/schemas/0p71/documentation/resources.html
Do you know if it will be possible to make references across namespaces in a later version of XI?
Regards
Christian -
How to extract data from info cube into an internal table using ABAP code
HI
Can Anyone plz suggest me
How to extract data from info cube into an internal table using ABAP code like BAPI's or function modules.
Thankx in advance
regds
AJAYHI Dinesh,
Thankq for ur reply
but i ahve already tried to use the function module.
When I try to Use the function module RSDRI_INFOPOV_READ
I get an information message "ERROR GENERATION TEST FRAME".
can U plz tell me what could be the problem
Bye
AJAY -
Error in german language for sap cube,
getting below error when selected only single column form the sap cube.
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. URL: http://IPnumber:8000/sap/bw/xml/soap/xmla. The http return status is 401. <html><head><title>Logon Error Message</title><META http-equiv="Content-Type" content="text/html;charset=UTF-8"><style type="text/css">body { font-family:tahoma,helvetica,sans-serif;color:#333333;background-color:#FFFFFF; }td { font-family:tahoma,helvetica,sans-serif;font-size:70%;color:#333333; }h1 { font-family:tahoma,helvetica,sans-serif;font-size:160%;font-weight:bold;margin-top:15px;margin-bottom:3px;color:#003366; }h2 { font-family:verdana,helvetica,sans-serif;font-size:120%;font-style:italic;font-weight:bold;margin-top:6px;margin-bottom:6px;color:#999900; }p { font-family:tahoma,helvetica,sans-serif;color:#333333;margin-top:4px;margin-bottom:4px; }ul { font-family:tahoma,helvetica,sans-serif;color:#333333;list-style-type:square;margin-top:8px;margin-bottom:8px; }li { font-family:tahoma,helvetica,sans-serif;color:#33333;margin-top:4px; }.emphasize { color:#333333;background-color:#C8E3FF;padding:5px;}.note { color:#CC6600; }a { font-family:tahoma,helvetica,sans-serif;text-decoration:underline;color:#336699; }a:visited { color:#001166; }a:hover { text-decoration:none; }</style></head><body><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td><h1>Anmeldung fehlgeschlagen</h1><br><h2>Was ist passiert ?</h2><p>Der Aufruf der URL http://IPnumber/sap/bw/xml/soap/xmla wurde aufgrund fehlerhafter Anmeldedaten abgebrochen.</p></td></tr><tr><td> </td></tr><tr><td class="emphasize"><strong>Hinweis</strong><br><ul><li> Die Anmeldung wurde im System PBW ausgefhrt. </li><li> Die Anmeldung wurde fr den Mandanten 100 und den Benutzer PBWMANOHAR und die Sprache durchgefhrt. </li></ul></td></tr><tr><td> </td></tr><tr><td><p> </p><h2>Was knnen Sie tun ?</h2><ul><li> berprfen Sie die Angabe ber den Mandanten, Benutzer und das Passwort auf Tippfehler. </li> <li> Falls Sie noch ber keine Benutzerkennung verfgen, so wenden Sie sich an Ihren Systemadministrator. </li></ul></br><p class="note">Fehlercode: ICF-LE-http-c:100-l:-T:1-C:6-U:5-P:5-L:6</p></br><p> HTTP 401 - Unauthorized</br><p> Ihr SAP Internet Communication Framework Team</p></td></tr></table></body></html> (HY000)
SQL Issued: SELECT Plant."Key#2" saw_0 FROM ZZPUR_C02 ORDER BY saw_0
Please help me ...
Edited by: user10589927 on Oct 26, 2010 11:45 PMHi,
see the link
https://forums.sdn.sap.com/click.jspa?searchID=11528461&messageID=3613970
Regards
Kiran -
Loading consolodated data from two excel files / cube into one infocube
Hi Friends,
I am receiving data from two sources:
Source 1:
Customer Product Location Keyfig(Budget)
C1 P1 L1 100
C2 P1 L1 200
C1 P2 L1 300
Source 2:
Product Location KeyFig (Actual)
P1 L1 320
P2 L1 350
I want to combinedata from two sources (or cubes) into one cube as follows:
Customer PRoduct location Budget Actual
C1 P1 L1 100 320
C2 P1 L1 200 320
C1 P2 L1 300 350
I tried by creating multiple data sources / infosources / transformations / updates rules and also tried with both DSO and cube. But the records are always getting updated as follows:
Customer PRoduct location Budget Actual
C1 P1 L1 100 320
C2 P1 L1 200 320
C1 P2 L1 300 350
P1 L1 320
P2 L1 350
Can you help me figure out if this is possible? If yes, how can I do it.
Thanks a lot in advance.Hi,
Please use the below approach.
Load the budget data in ODS1.
Load the actual data in ODS2.
Create a ODS3 with same structure as ODS1 with additional key figure for Actuals,which will get data from ODS1. Here add a look up based product and location to populate actuals.
Start Routine
SELECT * FROM ODS2 into ITAB
FOR ALL ENTRIES in SOURCE_PACKAGE.
Transformation Routine:
Read table ITAB into WATAB
with key location = <source_fields>-Location
product = <source_fields>-Product.
If sy-subrc = 0.
RESULT = WATAB-ACTUAL.
ENDIF.
-Vikram -
Please help with following query on Extracting the non-sap Data into BW.Please advice the full documentation on Loading,Transforming,Reporting for NON-SAP data into BW .
Essentially, the Third party tool provides a matrix for maximizing either profit or revenue (volume) for each loan product offering depending upon the bank's goals. For example, at the car dealership, the salesman inputs the price of car, the loan term, your FICO score, income etc and the tool calculates an interest rate for your loan based upon the bank's goals at the time. The tool has a Java front end and C++ on the back
Will assign points on reply and appreciate your helpAshley
There are different ways of doing this. One way is down load third party data into Flat file and then upload into BW using flat file extraction.
Other option is load data using DB connect. please see this link for DB connect
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2f0fea94-0501-0010-829c-d6b5c2ae5e40
Hope this helps
Thnaks
Sat -
How do I get this query into Discoverer Plus
Hi all,
I have the following query:
SELECT h.hrs, NVL(Quantity, 0) Quantity
FROM (SELECT TRIM(to_char(LEVEL - 1, '00')) hrs
FROM dual
CONNECT BY LEVEL < 25) h
LEFT JOIN (SELECT TO_CHAR(event_date, 'HH24') AS during_hour,
COUNT(*) Quantity
FROM user_activity u
WHERE event_date BETWEEN
to_date('15-JUN-2010 14:00:00', 'DD-MON-YYYY HH24:MI:SS') AND
to_date('16-JUN-2010 13:59:59', 'DD-MON-YYYY HH24:MI:SS')
AND event = 'user.login'
GROUP BY TO_CHAR(event_date, 'HH24')) t
ON (h.hrs = t.during_hour)
ORDER BY h.hrs;
Which produces the number of actions performed (from an event table, user_activity) grouped by the hour of the day they occurred (including displaying hours that have zero records - this bit is important!). I want to be able to put this into Discoverer plus as a worksheet, but I'm having trouble trying to figure out how.
I was able to create a custom folder in Administrator for the select from DUAL, but I cannot link it to the user_activity table because there's no relationship between to two tables to create a join.
The user_activity table is:
USER_ID - VARCHAR2(8 CHAR)
EVENT_DATE - DATE
EVENT - VARCHAR2(100 CHAR)
The custom folder is this part of the SQL:
SELECT TRIM(to_char(LEVEL - 1, '00')) hrs FROM dual CONNECT BY LEVEL < 25
Any suggestions would be greatly appreciated.
Thanks.
Edited by: Cyntech on Aug 12, 2010 10:41 AMKK wrote:
hi,
In the custom folder we can join tables,but the thing is you said ther is no join between them.
I would suggest you to built this query into a view and use this view in the DUAL table by writing inline query or subquery what ever way.
This is the only possibility i can think off.
Hope it helps you.
By,
KKHi,
Thanks for the reply, though I'm not sure that I understand what you are suggesting.
Which query would you turn into a view? If you are referring to the select from dual, then how would the view be any different from the custom folder? You still would not be able to join it to user_activity as there are no common columns.
Edited by: Cyntech on Aug 12, 2010 2:49 PM -
R12 aging report into Discoverer
Hi
I am trying to do AR aging into Discoverer...in R12
Anyone have idea?
thanks
kpSkype was causing the problem :@
-
Transform sap query into transaction
hi!
my question is not related to mm but also not to other forums in this site.
i'm trying to transform sap query into transaction using se93 transaction.
i just learing sap in a class and we use an old version of sap.
user group name: ofer6
infoset name: ofer9
query name: ofer8
all created in global area
when i enter se93 i write t-code ZSTART and press "create".
then i choose: "transaction with parameters" in the popup window.
in the second screen i write the transaction ZSTART again.
i mark "skip initial screen" and "inherit gui attributes"
at the bottom of the page in "default values" i use the following:
D_SREPOVARI-EXTDREPORT OFER8
D_SREPOVARI-REPORT OFER6 G
D_SREPOVARI-REPORTTYPE AQ
when i press enter i get messages:
transaction ZSTART does not exist
Screen 0000 of program does not exist
The field D_SREPOVARI-REPORTTYPE does not exist on the called screen
The field D_SREPOVARI-REPORT does not exist on the called screenHi,
Please check the link below:
http://www.freesaptutorial.com/how-to-create-transaction-code-in-sap-using-se93/
Hope this will be helpful to you.
Thanks,
Neeraj -
ABAP Function Module Example to move data from one Cube into Another
Hi experts,
Can any please help out in this ..?
A Simple ABAP Function Module Example to move data from one Cube into Another Cube
(How do i send the data from one client to another client using Function moduel).
Thanks
-Upen.
Moderator message: too vague, help not possible, please describe problems in all technical detail when posting again, BI related? ("cube"), also search for information before asking.
Edited by: Thomas Zloch on Oct 29, 2010 1:19 PMThis is the start routine to duplicate records in two currencies.
DATA: datew TYPE /bi0/oidateto,
datew2 TYPE rsgeneral-chavl,
fweek TYPE rsgeneral-chavl,
prodhier TYPE /bi0/oiprod_hier,
market TYPE /bic/oima_seg,
segment TYPE /bic/oizsegment.
DATA: BEGIN OF S_DATA_PACK OCCURS 0.
INCLUDE STRUCTURE /BIC/CS8ZSDREV.
DATA: END OF S_DATA_PACK.
S_DATA_PACK[] = DATA_PACKAGE[].
REFRESH DATA_PACKAGE.
LOOP AT S_DATA_PACK.
move-corresponding s_data_pack to DATA_PACKAGE.
if DATA_PACKAGE-loc_currcy = 'EUR'.
DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalgrc.
DATA_PACKAGE-CURRENCY = 'USD'.
APPEND DATA_PACKAGE.
DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalloc.
DATA_PACKAGE-CURRENCY = 'EUR'.
APPEND DATA_PACKAGE.
else.
DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalgrc.
DATA_PACKAGE-CURRENCY = 'USD'.
APPEND DATA_PACKAGE.
endif.
ENDLOOP.
This is to load Quantity field
RESULT = COMM_STRUCTURE-BILL_QTY.
This is to load Value field
RESULT = COMM_STRUCTURE-NETVAL_INV.
UNIT = COMM_STRUCTURE-currency.
Maybe you are looking for
-
Erro GRC 10.0 - Monitor "local de trabalho Fiscal"
Estou configurando o GRC 10.0, todas as configurações de entrada no PI foram realizadas. Ao realizar a entrada de uma NF-e no centro de trabalho fiscal (monitor PI), estou com os seguintes erros: 1. Na atribuição do pedido à nfe esta retornando o err
-
How to tell if application is running?
In Tiger, an open application would show on the Dock with a small arrow pointing at it. In Leopard, I don't see that. How can you tell which applications on your Dock are currently running?
-
Main VI Menu event calling a subVI front panel
Hi all, I have a subVI whose front panel is loaded upon calling by a main VI. I call the subVI using a User-menu event. the subvi-properties are set to allow close window and i am not handling a 'panel close' event. The problem is.... when i run the
-
Information on inserting record in CATSMM Table
Hi, I am using an exit CATS0006 to update records into the CATSMM table. But to Insert a new record I need to find a BAPI/FM as I am not able to trace which Number range is the Key Numeric Field generated from . Could you please guide on this issue
-
Problem with OWA_UTIL.IDENT_ARR parameters through mod_plsql in 9iAS
Hi! We discovered very strange bug in our Oracle environment. We're using the following configuration: Oracle8i (8.1.6), OWA-packages (from 9iAS), 9iAS (Release 1). Suddenly some procedures stopped working. mod_plsql reports the following ---start---