How to fill a cube with test-data ?
Hi,
first of all, I wanted to find a solution by my own by engaging TREX - but I think the search engine give it up. There was no result for "data" or "cube". So, I hope anyone of you can help me.
I created an input ready query. My cube is empty. By executing the input ready query, I got the message "No data found" - and no form to fill in any data.
Now I would like to fill test-data into the cube. How can I do this in an easy and fast way? Just 3-4 rows - any hints on that?
Bye and thanks in advance!
If you have data in R3 and you're using a standard cube, you can activate Business contenda dataflow before selecting the cube.
Else, the only way is to create an infosource for a flat file, update rule and also the flat file and load it.
Hope it helps.
Regards
Similar Messages
-
How to fill selection box with clientside data?
i want to make a html form that reads option values from the client.
Because there are too many data, it's not reasonable for me to design a page which connects to server each time to fill the selection boxes.Instead i want to check if data resides at the clientside, if so fill selection boxes with that data, if not download it for the first time and store it on the client for later local retrieval.In addition i must be able to update that data residing on the client when i want.Hi,
I can tell you some hints. Use cookies to store the information on to the client-side. You can read data from cookies using JavaScript. If you want to store huge amount of data on to the client-side, perhaps this would not be a better idea. In J2EE architecture we often use sessions to store values. You need to design your implementation in such a way that for the first time you fetch all the values from the database and put it in a session, and the next time onwards you can get the values from the session itself and thereby you can avoid going to database each and everytime. Write a Java class which has all the necessary get and set methods and store the object in the session. Using that object reference you can set and get the values from it. I hope this will help you.
Thanks -
How to fill internal table with no data in debugging mode
Hi all,
I modified one existing program.Now I want to test it.I am not given test data.So in the middle of my debugging, I found that one internal table with no data.My problem is how to fill that internal table with few records in that debugging mode just as we change contents in debugging mode.If I want to proceed further means that internal table must have some records.
Please I dont know how to create test data so I am trying to create values temporarily in debugging mode only.
Thanks,
BalajiHi,
In the debugging do the following..
Click the Table button..
Double click on the internal table name..
Then in the bottom of the screen you will get the buttons like CHANGE, INSERT, APPEND, DELETE..
Use the APPEND button to insert records to the internal table..
Thanks,
Naren -
Help to fill BPS Cube with same data in a Cube with these conditions
Hi,
I need some help in implementing BPS in a small project. (Integrated Planning is not available).
An existing cube, Cube1 has: Year/month, Year, char1, char2, keyfig1, keyfig2
Keyfig1 is filled directly from R3 with actuals; keyfig2 (planned values) is filled manually filled with a monthly flat file load.
Now, there is a change in direction to fill keyfig2 through BPS features and bring in additional key figures all based on keyfig1.
Cube2 has been created only for the purpose of this BPS project. Cube2 was a copy of Cube1(with no data). For Cube1, I have created a Planningarea1 and PlanningLevel1; and for Cube2, Planningarea2 and PlanningLevel2 in BPS0.
How do I fill the BPS Cube2 with the same data as in BPS Cube1 with the following conditions:
keyfig1 : same as source value from R3 (not modifiable)
keyfig2 : modifiable by users only on the first and second of the month.
keyfig3 : keyfig1 * 1.1
keyfig4 : keyfig1 of previous Year/month
keyfig5 : same as source value from R3 (But modifiable)
keyfig6 : same as keyfig5 as of last day of 20th of the current month (not modifiable)
The goal is to create a multi planning area to join the two cubes. Hints all that will also be appreciated.
ThanksYour thought of having a multi area is right.
Create a multi area and being the basic areas to which you have assigned cube 1 and cube 2 underneath the multi area.
UNder your planing package, create a function of type Formula and create a parameter set like this:
= * 1.1.
Just this one line will is enough.
TO get keyfig 4 as previous month's key fig; you need another fox. To do this, you need to have a BPS variable to et previous month and use this variable in the parameter set.
Your fox will be like this.
DATA CURRMONTN TYPE 0CALMONTH.
DATA PREMONTH TYPE 0CALMONTH.
{KEYFIG4, CURRMONTH} = {KEYFIG1, PREMONTH}.
To make users modify only on days 1 and 2, you need to define a dara slice.
Ravi Thothadri -
How to fill BI cube with Web Dynpro ABAP Program UI
Hello,
I am new in web dynpro ABAP and need zour help. How can i write aABAP web dynpro program, which allows the user to enter transactional data and saved in the real time infocube.
I know that such a functionality exist in the integrated planning where a real time infocube, changeable query, data provider and web template are created, and through which a user can enter or change for sepecific master data combination transactional data and save them in the info cube.
Have you an experience in the way of implementing an user interface in connection with the real time cube. Do i have to use the BIAPPLICATIONFRAME UI element or is there a better way.
Many thanks
Arnaud
Edited by: Arnaud on Jul 28, 2010 3:32 PMHi Rajpal,
Please go through this..
calling BI report
Cheers,
Kris. -
Filling bc travel data model with test data
Hey i read somewhere that there is a app to fill the bc travel data model with test data.I been searching but havent found one in the preview version.Please help me if anyone knows how to get it done.Filling it manually is taking a whole lot of time.
Go to the ABAP Editor (SE38) and execute the SAPBC_DATA_GENERATOR program. This program generates suitable sample data in the tables of the flight data application.
-
Sample report for filling the database table with test data .
Hi ,
Can anyone provide me sample report for filling the database table with test data ?
Thanks ,
Abhi.hi
the code
data : itab type table of Z6731_DEPTDETAIL,
wa type Z6731_DEPTDETAIL.
wa-DEPT_ID = 'z897hkjh'.
wa-DESCRIPTION = 'computer'.
append wa to itab.
wa-DEPT_ID = 'z897hkjhd'.
wa-DESCRIPTION = 'computer'.
append wa to itab.
loop at itab into wa.
insert z6731_DEPTDETAIL from wa.
endloop.
rewards if helpful -
How to tune performance of a cube with multiple date dimension?
Hi,
I have a cube where I have a measure. Now for a turn time report I am taking the date difference of two dates and taking the average, max and min of the date difference. The graph is taking long time to load. I am using Telerik report controls.
Is there any way to tune up the cube performance with multiple date dimension to it? What are the key rules and beset practices for a cube to perform well?
Thanks,
AmitHi amit2015,
According to your description, you want to improve the performance of a SSAS cube with multiple date dimension. Right?
In Analysis Services, there are many tips to improve the performance of a cube. In this scenario, I suggest you only keep one dimension, and only include the column which are required for your calculation. Please refer to "dimension design" in
the link below:
http://www.mssqltips.com/sqlservertip/2567/ssas--best-practices-and-performance-optimization--part-3-of-4/
If you have any question, please feel free to ask.
Simon Hou
TechNet Community Support -
How to fill internal table with selection screen field.
Hi all,
i am new to sap . pls tell me how to fill internal table with selection screen field.Hi,
Please see the example below:-
I have used both select-options and parameter on the selection-screen.
Understand the same.
* type declaration
TYPES: BEGIN OF t_matnr,
matnr TYPE matnr,
END OF t_matnr,
BEGIN OF t_vbeln,
vbeln TYPE vbeln,
END OF t_vbeln.
* internal table declaration
DATA : it_mara TYPE STANDARD TABLE OF t_matnr,
it_vbeln TYPE STANDARD TABLE OF t_vbeln.
* workarea declaration
DATA : wa_mara TYPE t_matnr,
wa_vbeln TYPE t_vbeln.
* selection-screen field
SELECTION-SCREEN: BEGIN OF BLOCK b1.
PARAMETERS : p_matnr TYPE matnr.
SELECT-OPTIONS : s_vbeln FOR wa_vbeln-vbeln.
SELECTION-SCREEN: END OF BLOCK b1.
START-OF-SELECTION.
* I am adding parameter value to my internal table
wa_mara-matnr = p_matnr.
APPEND wa_mara TO it_mara.
* I am adding select-options value to an internal table
LOOP AT s_vbeln.
wa_vbeln-vbeln = s_vbeln-low.
APPEND wa_vbeln TO it_vbeln.
ENDLOOP.
Regards,
Ankur Parab -
How to fill a symbol with color
How to fill a symbol with color?
Good day!
What do you mean by »symbol« in this case?
Is this on a Layer of its own or is it part of a photograph?
Could you please post a screenshot with the Layers Panel visible?
Regards,
Pfaffenbichler -
I HOW I FILL PDF FORM WITH HEBROW ON CHROME ?
I HOW I FILL PDF FORM WITH HEBROW ON CHROME ?
Chrome uses its own (incompatible) PDF viewer.
Download the PDF to your local disk, then fill it from there with Adobe Reader. Or use a browser that uses the Adobe PDF plugin. -
How to put a check with the date
Hi,
I have created a ztable with 3 fields .
clientcode(3),
date,--date geneated
version--- fileversion
i need to update this table everytime i execute the data. Every time version shd get incremented when i execute the program. When i excute the program next day version shd be updated by '1'.
i wrote the code for version updated i'm not getting the logic how to put a check with the date.
SELECT *
FROM zfi_enetflver
INTO TABLE gt_flver.
SORT gt_flver DESCENDING.
CLEAR: gv_dt, v_file.
CONCATENATE sy-datum6(2) sy-datum4(2) INTO gv_dt.
READ TABLE gt_flver WITH KEY client_code = gv_clcd.
IF sy-subrc = 0.
idx = sy-tabix.
IF gt_flver-zdate = ' '.
gt_flver-zdate = sy-datum.
ENDIF.
IF gt_flver-version = ' '.
gt_flver-version = '001'.
gv_filever = gt_flver-version.
MODIFY gt_flver INDEX idx TRANSPORTING zdate version.
MODIFY zfi_enetflver FROM TABLE gt_flver. "TRANSPORTING version.
CONCATENATE 'E:\' 'ENET\' gv_clcd gv_dt '.' gt_flver-version INTO v_file.
ELSE.
gt_flver-version = gt_flver-version + 1.
gv_filever = gt_flver-version.
MODIFY gt_flver INDEX idx TRANSPORTING version.
MODIFY zfi_enetflver FROM TABLE gt_flver .
CONCATENATE 'E:\' 'ENET\' gv_clcd gv_dt '.' gt_flver-version INTO v_file.
ENDIF.
ENDIF.
clientcode is the key field in ztable do i need to make date field key ??
please help me with the logicYou need to implement below logic:
1. check if field_date = sy-datum. in this case do nothing.
2. else . move sy-datum to field_date .
3. modify your internal table with field_date .
4. populate final table to database table .
hope you get it. -
How to fill field with test data in alv grid display
hi all,
i m adding field TEXT to the structure for displaying grid.
i m modifying program like this
DATA: ALV_OUTPUT LIKE HRPDV_EXPIRED_Q OCCURS 0 WITH HEADER LINE.
TYPES : BEGIN OF FS_OUTPUT .
TEXT(20) TYPE C.
INCLUDE STRUCTURE HRPDV_EXPIRED_Q.
TYPES TEXT(20) TYPE C.
TYPES END OF FS_OUTPUT.
DATA: fs_output like table of alv_output.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-FIELDNAME = 'TEXT'.
WA_FIELDCAT-seltext_l = 'Abteilungs Struktur'.
wa_fieldcat-tabname = 'ALV_OUTPUT'.
WA_FIELDCAT-COL_POS = '13'.
APPEND WA_FIELDCAT TO P_GT_FIELDCAT.
this is what i have write for diapalying field. but my question is how to fill test data with field TEXT.I m writing like this but not executed in the aboove grid dispaly statement.
loop at alv_output.
*alv_output-text(20) = 'abcdefgh'.
*modify alv_output.
*endloop.
plz tell me how to fill test datahI..,
Your table declaration has to be like this..
TYPES : BEGIN OF FS_OUTPUT .
INCLUDE STRUCTURE HRPDV_EXPIRED_Q.
TYPES TEXT(20) TYPE C.
TYPES END OF FS_OUTPUT.
DATA: ALV_OUTPUT LIKE standard table of fs_output initial size 0.
loop at alv_output <b>into fs_output</b>.
<b>fs</b>_output-text(20) = 'abcdefgh'.
<b>modify alv_output index sy-tabix from fs_output transporting text.</b>
endloop.
Now give this table alv_output to the GRID_DISPLAY function module..
you will get the required output !!
Plz do remember to close the thread when ur problem is solved !!
reward all helpful answers !!
regards,
sai ramesh -
In sm30, when save, how to fill the table with the system data in the table
Hi all, in SM30, we have user name and time fields, when we create record, after we click the SAVE button, it will automatically fill the fields with the system data, how can we realize it?
Hi ,
Do like this.
1. Go to SE11 -> give your table name and press on change button .
2.Go to Menu->Utilities-> Table Maintainance Generator , then it will take you another screen .
3.Assign Functin group if already have one , other wise create function group and assign
4.Go to Menu->Environment->Modification->Events , again it will take you to another screen
5.Click on new entries
->Now press F4 in T column . Select<u> "01" - Before saving the data in the database</u> and in form routinue give any name of the routinue like "SAVE_USER_DATA" and press enter then u can see an editor symbol in next column click on that it will take you ABAP editor there type this code .
ztable-username = sy-uname.
ztable-createtime = sy-uziet.
check and activate the code .
With this your job will be complete . Now while entering data just leave columns blank , they will insert corresponding username and time
Don't forget award points if it helps you.
Regards,
Raghav -
How to archive info cube with non-cumulatives values ??
Dear All,
Would you like kindly help me please .. ??
It's regarding archiving, but right now archiving in Info Cube with cumulative values like Info cube movement.
Because it's rather different than other cube due it has marker ..
I've already read from article discussing about archiving, it said i must archive the data before the marker (it's if i'm not having incorrect understanding). But right now, i don't know where the marker is ??
My questions are:
1. Could somebody help me please giving me explanation regarding it ??
2. If don't mind, would you like to explain me step-by-step how to archive it ??
3. Is my comprehension above correct that we have to archive data before the marker ?? If yes, how can i know where the marker is (What date does the marker point to ?? ) ??
Best regards,,
Niel.Hi
May be helpful to you
Step by step https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0974515-7225-2b10-14a1-f5abba35b19f
Data Archiving Part 1 A Tour dHorizon
http://www.sap-press.com/product.cfm?account=&product=H956
Technical Setting for Data Archiving
Hope it helps
Maybe you are looking for
-
Performance Tuning in File Adapter
Hi, I have an issue with InMemory Translation and Serialize Translation. For Inmemory Translation, I set the UseStaging Property as false in jca.file then only its applicablle, after this and for In Memory Translation, I set the property in the compo
-
What settings has to be done to trigger a workflow when a transaction is saved? MOre specifically for PO creation/change transaction, what setting is to be done in order to trigger a workflow? Regards, Ravi
-
How to remove comments in packages in oracle
hi gurus, can any body help me to remove commented code in packages in oracle? thanks in advance...
-
Hi all, i ask you how make LSMW about WBS structure with 6 levels for example. I have WBS structure like this: Level 1: F-07 Level 2: F-07/01 Level 3: F-07/01-IN F-07/01-RN Level 4: F-07/01-IN-MN Level 5: F-07/01-IN-MN-01 F-07/01-IN
-
RTP, synchronize video/audio, quality parameters
Hello. i am starting with a project and i dont know how to start. The goal of the project is to send a video from and url or video or camera from A to B, send an audio from C to B. B joined the video and the audio and send to D that is the final clie