How to build a Hieararchical Table
Hi.
I follow the below link to create a tree structured table.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/de59f7c2-0401-0010-f08d-8659cef543ce
The document says, the child nodes are rendered only when a parent node is clicked at runtime. Is it possible to show all the parent and child nodes at the same time.
Regards
Bala
Hi Valery.
Thanks for the reply, It was useful. But I have a different scenario.
My issue on using tree structured table is:
The Database structure is:
MaterialTemplate - contains list of all material templates. It has reference to MaterialMD
MaterialMD - contains all newly created materials
MaterialValue - Contains the materials with markups and prices. It has reference to MaterialMD
MaterialGroup - which contains other details with Materialtemplatereference.
Now I have two scenarions:
1. Create a new Materialgroup.
While creating a new material group, I will select one material template which shows
the list of materials in it (which is in hierarchical structure). From RFC it takes the cost for each material . Then I need to give some
markup vaue and do some calculation, and finally while saving it saves all materialinformation to MaterialGroup table and cost, markup, materialMD information into
MaterialValue table.
Now I come back to main dashboard.
2. View Materialgroup details
When I click a materialgroup, now it shows the details of it.
Also it has to show the information for this mateial group and bucketMD details in the table .
When I come to the table structure I have to show the information taking from MaterialValue table, where all the data has been saved finally.
My Question here is: While creating the material group, the information that has to be shown in the table has to come from one table(Material Template)
and while showing the material group details it has to show the information from MaterialValue table.
If I use the example as it is in above document Can I implement this scenario because the information is coming from two tables in each scenario.
My only concern is when I click the parent object in the tree structured node, its information will differ depends upon from where to get it.
Can I use the existing document to continue this process.Or Could you provide me some tips how to proceed this.
Many Thanks
Bala
Similar Messages
-
How to build a internal table of field symbols.
Hi,
I want to build a internal table, which consists of several field symbols. Each field symbol points to an entry of other internal tables. All of these tables have different structure definition. How can I implement it. If it is possible, it can save a lot of table query time.
I will be very appreciate for your help.
Best Regards, Junhello jun
i hope the following example give the some idea to build internal table fileds with differen field symbol data types.
FIELD-SYMBOLS:<f1> type any,<f2> TYPE ANY.
data:BEGIN OF itab,
t1 type i value 10,
t2(30) type c value 'john',
t3 type p DECIMALS 3 value '4.7658',
END OF itab.
ASSIGN itab to <f1>.
DO 3 TIMES.
ASSIGN COMPONENT sy-index OF STRUCTURE <f1> TO <f2>.
WRITE <f2>.
ENDDO.
types:begin of it_line,
i1 type i,
t1 type string,
p1 type p DECIMALS 3,
end of it_line.
data:itab1 type table of it_line.
FIELD-SYMBOLS:<f1>.
ASSIGN itab1 to <f1>.
and also u can refer the following links
1-> http://help.sap.com/saphelp_wp/helpdata/en/fc/eb387a358411d1829f0000e829fbfe/content.htm
2--> http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3923358411d1829f0000e829fbfe/content.htm
Thanks&Regards
sreenivas p -
How to build semantic model table from excel 2013 budget table?
I have an excel 2013 budget table produced by finance department. The title of the table is <<Year 2015 Resource Budget>> with columns such as (Item, Budget). There is line of business app which tracks daily usage. It is SQL database which
I can access. The SQL table has columns such as Date, Item, Usage. I am asked to produce some PowerView reports using DAX.
I am thinking about using Excel 2013 PowerPivot. The following is the step of my plan.
Add excel 2013 Budget table to PowerPivot
Transform the budget table using DAX to a new table with includes date. For each item budget, the value can be evenly divided by 365. I don't know if this is possible with DAX and need advice from you
Import daily usage from SQL database into PowerPivot
Merge the imported SQL daily usage table with the transformed budget table with daily breakdown. The output table has 4 columns (Date, Item, ValueType, Value). The ValueType can be either Budget and Usage. (I also do not know if it is possible to
use DAX to merge two PowerPivot table into anther table with added new columns. If it is possible, I would love to hear from you on how to do this)
Finally, I can produce BI reports based on the newly merged table
Update: Here are more sample data.
Input Budget
<<Year 2014 Resource Budget>>
Item
Budge
Pen
365
Paper
1095
<<Year 2015 Resource Budget>>
Item
Budge
Pen
1825
Paper
1095
Bag
365
I am thinking to expand the Budget as follow but I don't how to use DAX to do it
Date
Item
Budge
31/12/2014
Pen
1
31/12/2014
Paper
3
1/01/2015
Pen
5
1/01/2015
Paper
3
1/01/2015
Bag
1
Here is the Daily Usage table
Date
Item
Usage
31/12/2014
Paper
2
31/12/2014
Pen
6
1/01/2015
Paper
10
1/01/2015
Pen
2
1/01/2015
Bag
1
I was thinking to merge the expanded Daily Budget and Daily Usage as follow for BI reporting. This was my thinking, may not a good solution using DAX
Date
Item
Type
Value
31/12/2014
Paper
Usage
2
31/12/2014
Pen
Usage
6
1/01/2015
Paper
Usage
10
1/01/2015
Pen
Usage
2
1/01/2015
Bag
Usage
1
31/12/2014
Pen
Budget
1
31/12/2014
Paper
Budget
3
1/01/2015
Pen
Budget
5
1/01/2015
Paper
Budget
3
1/01/2015
Bag
Budget
1
Off course, I need to build dimension tables for Date, Item, Item Category, and Value Type
jlHi JL,
Just for consideration, I'd:
Keep budget and actuals separately - create Fact_Y2015Budget and Fact_Actuals;
Hook both tables to same dimesnions (time; if there is no time for budget, assign it all to the first day of your 2015; line item etc. - whatever you are asked to report about)
If you can, pull usage not only for 2015, but for prior year(s) too
Create measures like [Usage Budget Atteinment YTD]:=TotalYTD(SUM([Usage]),your_time)/([Budget]*PriorYear(TotaYTD(SUM([Usage]),you_time)/CALCULATE(SUM([Usage]),DATESBETWEEN(your_first_day_of_year2015,your_last_day_of_2015))))
The calculation in #4 compares actual ("usage") to portion of budget that would have been used up if 2015 had the same seasonality as 2014... If you couldmshare specific sample, I'd buuild exact formula...
Daniel -
How to build a query to join on two tables without mapping
I did Automatic mapping by the workbench Directofield mapping with the table and java object.
Wanted to build a simple join query by joining on the same field on both the tables.Not the sql query through the toplink using expression builder.
Please help.............
Spent one full day for this................Thanks Don for the reply,sorry to bug you,but i need help.....
SELECT A.AGNCY_C,
A.TYPE_C,
A.RESN_C,
A.S_TYPE_C,
A.SUB_ID_C,
A.RY_C
FROM RATING A, REF B
WHERE A.ID_C = B._ID_C
AND A.ALPHA_C = B.ALPHA_C
AND A.EFF_D >= B.MATURITY_D
This is the real query i was talking about.I did mapping automatically through the workbench,generated java classes also throught the workbench.
Now they don't want to execute the raw sql.They wanted to get all the RATING objects with the where condition.
So how to build a query by using toplink.
tried your example
ExpressionBuilder builder = new ExpressionBuilder();
Expression creditRating = builder.getTable("RATING").getField("ID_C");
Expression issue_ref = builder.getTable("REF").getField("ID_C");
Expression join = creditRating.equal(issue_ref);
I am getting java.lang.OutOfMemoryError
error.
I selected the option generate classes and descriptors
from the tables (RATING,REF).,so it created the classes and dscriptors automatically.
In Database script for the table RATING like this
ALTER TABLE RATING ADD (
CONSTRAINT RATING_F1 FOREIGN KEY (ID_C, ALPHA_C)
REFERENCES REF (ID_C,ALPHA_C));
I think when i generate descriptor automatically it is keeping this association.
Please help me......... -
How to build table join query in Jdeveloper
Hi,
Can someone tell me how to build table join query in Jdeveloper's Expression Builder UI?[Is it possible to create a table of contents in Crystal Reports?|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313335333133303330%7D.do]
-
How to build Table of Content in Crystal Reports
Hi,
Initially, I am looking for an article about how to build Table of Content in Crystal Reports in table-based approach----including how to write to DB table from report:
http://support.businessobjects.com/library/kbase/articles/c2011950.asp
However, the link above is invalid. I also searched through SDN articles, but no luck.
Can someone please forward me the link if you happend to know?---does not have to link to this specific article, any working solution is just fine.
I am aware of another approach which put the TOC to the end of the report(http://www.ml-consult.co.uk/cryst-05.htm), which probably does not satisfy the requirement.
If you have other solutions, your share is greatly appreciated.
Thanks a ton![Is it possible to create a table of contents in Crystal Reports?|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313335333133303330%7D.do]
-
For a READ TABLE how to build a dynamic WITH KEY condition?
Hi All,
I have a Z table with 6 fields. The first field is the Plant and is the key field. This field can be matched with the field from selection screen. Now I have 4 character fields which can contain various values. Now I have another field at the end of the table and this field is the one which I will need for further processing.
Now this last field will be selected based on the data for first 5 fields.
This Read is performed in a loop and the data for all the 4 character fields may not be present.
Now my problem is how to build a Read statement for this table where I need to get the value of the Last field based on the values of first 5 fields?Hi,
Use
IF you have internal table With header line then use
REad Tablename with key field1 = value1 field2 = value2 field3 = value3 field4 = value4 field5 = value5.
If sy-subrc = 0.
endif.
if you have internal table WithOut header line then use
REad Tablename into workArea with key field1 = value1 field2 = value2 field3 = value3 field4 = value4 field5 = value5.
If sy-subrc = 0.
endif.
regards,
Amit -
Reporting Services - How to open a second table inside report, for each number of client (each apears in first table)?
Exemple:
Table1
Cliente name:
John
Client number:
12345
Survay number of negative answers:
3
Table2
Questions and answers that were negative:
Question: How much time where you waiting
Avaluation: 3 (from 1 to 10)
Answer: They only called me 1 mouth later
Can you please help me?Hi,
Based on the description, I understand that you want to add subreport in the main report. When previewing the main report, the subreport can be shown in detail. Please see the screenshots on my test:
In Reporting Services, we can create parameters and pass them from main report to subreport in order to control the data dynamically.
References:
Subreports (Report Builder and SSRS)
Add a Subreport and Parameters (Report Builder and SSRS)
If I have any misunderstanding, please feel free to contact me.
Regards,
Heidi Duan
Heidi Duan
TechNet Community Support -
How to build the FM data I_header and I_orgdata
hi all,
Im working on the conversion program for AVL using the following function modules
BBP_PD_AVL_GETLIST
BBP_PD_AVL_CREATE
BBP_PD_AVL_UPDATE
BBP_PD_AVL_SAVE
In the function module BBP_PD_AVL_CREATE , how to build the FM data I_HEADER and I_ORGDATA.
I'm giving 3 input in Export parameter in BBP_PD_AVL_GETLIST and E_pdlist should contain data .
but e_pdlist is not getting data...any suggestion..
after execution it was showing "Buffer table is not up to date"
with regards,
P.lokeshHi Lokesh,
We are also encountering same problem.
How did you solve your problem?
Would really appreciate your help.
Thanks,
Kezia -
How do I create a Table of Contents in InDesign CS6 for print that easily converts to epub?
How do I create a Table of Contents in InDesign CS6 for a print book that easily converts to epub?
Can anyone point me to a link for a step-by-step (not a video) on setting up all the elements of a print book properly (pages, table of contents and index) so they will convert and reflow perfectly from print to epub in InDesign CS6. This is not about building an ebook from ground up, but taking 50 backlisted print books (converted from old versions of Quark to InDesign) that now need to be converted to epub formats.
OR could someone point me to the link in the Adobe InDesign CS6 support that explains how to create a Table of Contents for a print book (5.5" x 8.5", 288 pages), one that will convert when the file is converted to ePub (for MAC OSX)?
Just downloaded the 706 page inDesign CS6 reference manual from Adobe <http://helpx.adobe.com/pdf/indesign_reference.pdf> but there's not even a search feature on the pdf file.
Up until this week, we have only done print books, creating the TOC the old fashioned way, as a fixed page, comprised of two columns: page numbers and chapters/subject. The files I have created are taken by our printer and printed beautifully.
However, when I convert the same book to epub in CS6, the character and paragraph styles converted beautifully - but everything else is all over the place! The table of contents is on different pages, the columns split apart. That goes for the page contents as well - everything is all over the place. when it's converted to a pdf -- total perfection. Never any problems converting with perfection to pdf format and reading those on the various readers.
(Thank you so much in advance for any help).<http://helpx.adobe.com/pdf/indesign_reference.pdf> Adobe Digital Reader does have a search feature for reading pdfs. Found the TOC instructions on page 176 of 706 pages.
-
How to build a search engine in the database?
Hi there,
say I have 3 tables:
1. Table_empl: idEmpl, fname, lname, dob...
2. table_department: idDpartment, idEmpl, departmentName, section...
3. table_fligths: idFlight, idEmapl, departure date, destination, carrier...I would like to provide the end-user a text box (in my GUI) where he can write whatever he would like to get info about. If, for example, he'll write: british-airways, I expect the system to search everything in the db that matches this input.
Question: How can I design such a search engine that retrieve information from every possible table in the db with reference to every column.
thanks for any pointersthanks darted for your reply. so what do you recommend? should i give the end user all names of tables and columns and ask him to choose from the list and than build a query based on that?
this is optional but i'd rather have one exec button and to return all possible results from the db. if (in the example i provided) it found 'british airways' in the carrier - than that a result. if it founds 'british' in the lname of table_emple - that's another result. so the output should be something like:
found 2 matches:
1. british airways, 10/10/2006, LHR
2. British, John, 12/01/63,
any idea how to build that? -
How to Create a Dimension Table in OBIEE11g
Hello,
Chapter 9, page 221(if pdf) of the Build Repository manual of OBIEE 11g explains following.
Creating Dimensions in Level-Based Hierarchies
After creating a dimension, each dimension can be associated with attributes
(columns) from one or more logical dimension tables and level-based measures from
logical fact tables. After you associate logical columns with a dimension level, the
tables in which these columns exist appear in the Tables tab of the Dimension dialog.
To create a dimension with a level-based hierarchy:
1. In the Business Model and Mapping layer of the Administration Tool, right-click a
business model and select New Object > Logical Dimension > Dimension with
Level-Based Hierarchy.
Note that this option is only available when there is at least one dimension table
that has no dimension associated with it.I am still learning OBIEE, and I can not see the dimension menu item as per point 1 becuse i do not have dimension table associated with it. All I have done at this point is to create logical tables based on few physical tables in physical layer.
How do I create Dimension Tables? using BI Admin tool?
Thanks,RHi Rich,
If you are new to Oracle BI, you would better start with the Oracle Learning Library; http://apex.oracle.com/pls/apex/f?p=9830:41:0::NO:RIR:IR_PRODUCT,IR_PRODUCT_SUITE,IR_PRODUCT_COMPONENT,IR_RELEASE,IR_TYPE,IRC_ROWFILTER,IR_FUNCTIONAL_CATEGORY:,BI,,,,,
You create dimensions based on your logical tables. In a plain star-schema you would have one logical fact table and at least one or more logical dimension tabes attached (joined) to the fact table. Just follow the documentation and you would be good to go.
Good Luck,
Daan Bakboord
http://obibb.wordpress.com -
How to build my own SELECT-OPTIONS?
Hi experts,
I hv 4 values like for a field, (say VBAK-BNAME),
NAME_A
NAME_D
NAME_M
NAME_Z
My selection- screen is like,
SELECT-OPTIONS: MANAGER FOR VBAK-BNAME.
So,
1) How to build the SELECT-OPTIONS table in my ABAP code?
I mean, if the user enters the NAME_A TO NAME_Z in select-options, the system shuld take in-between NAMEs also!
(Actually, I thiught that, the SAP will take care of building the select-options table based on Alphabetical Order, but, When I observed in debug mode, its not like that!)
2) And Where I hv to write the code for building select-options? I mean, Is it DATA DECLARATION part, AT SELECTION SCREEN or AT SELECTION SCREEN OUTPUT or START OF SELECTION?
thanq.
Message was edited by:
Sridhar
Message was edited by:
SridharHi,
Pls. suggest me other than RANGES?
Well, if you don't want to use RANGE then you can do it at SELECT statement.
SELECT BNAME
INTO TABLE ITAB
FROM VBAK
WHERE BNAME IN ( NAME_A, NAME_D, NAME_M, NAME_Z )
OR
SELECT BNAME
INTO TABLE ITAB
FROM VBAK
WHERE BNAME BETWEEN 'NAME_A' AND 'NAME_Z'.
2) under which event i hv to write it?
If you are using in SELECT statement, then you use at START-OF-SELECTION.
If you are buiding RANGE, then you can use at any events such as INITIALIZATION, AT SELECTION-SCREEN OUTPUT, START-OF-SELECTION, etc.
Regards,
Ferry Lianto -
How to build a screen with master detail data
Hi ,expert ,
Someone can teach me how to build a screen with master detail table ?
I wnat to build a screen for user to maintain FERT group and FERT detail list in one screen .
just like this ..
MASTER Block
FERT1
FERT2
FERT3
DETAIL Block
FERT1A1
FERT1A2
FERT1A3
when I double click FERT1 in the Master Block the detail view will show FERT1A1 A2 A3
Thanks for your help ....
Moderator message : Not enough research before posting. Spec dumping not allowed. Thread locked.
Edited by: Vinod Kumar on Jun 13, 2011 1:38 PMAn inefficient way to create the array is to use the build array and a shift register as shown below. It's more effecient in terms of memory management to create the array and then use the replace array subset as shown in the other image. Of course, if you don't need the array inside the loop, just wire the value out of the while loop and on the exit tunnel, right click and select 'Enable Indexing'.
Message Edited by Dennis Knutson on 07-03-2007 10:25 PM
Message Edited by Dennis Knutson on 07-03-2007 10:26 PM
Attachments:
Crude Build Array.PNG 4 KB
Better Build Array.PNG 6 KB -
How to build search help for company code (BUK) in SRM
Hello,
I am new to SRM and was wondering if any have come across similar requirement. I am a workflow developer and we are building a custom table to derive deadline escalation timelines. We are also adding a field in our custom table for company code so that we can have company specific deadlines. table T001 is empty in SRM and hence we are unable to use F4 (search help). Is there existing functionality in SRM that gets this search from the backend ECC system and displays when F4 is pressed. How can I use that functinoality?
Appreciate any info folks.
Thanks again.
SamirHi
Which SRM version are you using ?
<b>Related links -></b>
Re: Search Help on SRM front end screen
F4 Help for WBS Element
Re: Company Code defaults
Re: Search help for Custom Item level field
Custom field in SRM as a dropdown field with values stored in R/3
Calendar help for Date i/p field in SRM 5.0 shopping cart
Company code
Problems assigning values via F4 or search help
Also There is a standard table in SRM which contains Plant data ->
<b>BBP_LOCMAP</b> (Mapping Table Business Partner --> System --> Location)
Try creating a custom search help based on this Table, defined as selection method and assign the same to the related field.
Do let me know.
Regards
- Atul
Maybe you are looking for
-
After updating Time Capsule to 7.7.2, Airport Expresses can no longer connect
After I update the Time Capsule firmware to 7.7.2, my three Airport Expresses can no longer connect to the Time Capsule (their orange lights blink and they appear inaccessible in the Airport Utility). When I downgrade, they are able to connect fine.
-
License broke in MAC OS 10.8.5
have the license repair but the app does not run in OS 10.8.5. This is a new machine and it is an inital install and none of the applications in CS 4 will open due to the broke license. When you try and run photoshop it gives an error 150:30 Lice
-
Unable to open pdf in windows 8
I am unable to open pdf's with my windows 8. this just changed about an hour ago. what happen?
-
Pocketmac 4.1.25 will not run
i have an Macbook Pro 2.4 Ghz Intel Core 2 Duo OSX version 10.5.6 and have tried a number of times to install Pocketmac for Blackberry 4.1.25. I am using it with a Blackberry 8830 running verion 4.2. I contiunally get this error message. "The appl
-
Affect of new Org responsibilities to personalizations of standard OAF Page
Hi, Let say personalizations are done to Standard OA Pages at the levels (Function, User, Responsibility, Org etc) using a responsibility of the Old GL Setup ( Old Orgs). Now if the New GL setup is added to the system, that is new orgs are added and