Output like Tree structure
Hi
I am having Data in one internal table
BEGIN OF ty_box,
vbeln LIKE vbak-vbeln, "Sales Order Document Number
exidv LIKE vekp-exidv, "External Handling Unit Identification
vegr4 LIKE vekp-vegr4, "Integration required if the value is INTR
matnr LIKE lips-matnr, "Delivery Item-Material Number
arktx LIKE lips-arktx, "Delivery Item-Short text for Material
END OF ty_box.
I want to Display output like tree structure
integration required?
() Sales order
() HU -
checkbox
Mat A Description of A
Mat B Description of B
Please give sample program for this type. '-' indicate sapce
Message was edited by:
sudhakara reddy
Message was edited by:
sudhakara reddy
hi,
use ALV TREE
check these links.
http://www.erpgenie.com/sap/abap/SalesOrderFlow.htm
http://www.sapdevelopment.co.uk/reporting/alv/alvtree/alvtree_basic.htm
Check these programs.
BCALV_TREE_01 ALV tree control: build up the hierarchy tree
BCALV_TREE_02 ALV tree control: event handling
BCALV_TREE_03 ALV tree control: use an own context menu
BCALV_TREE_04 ALV tree control: add a button to the toolbar
BCALV_TREE_05 ALV tree control: add a menu to the toolbar
BCALV_TREE_06 ALV tree control: Icon column and icon for nodes/items
BCALV_TREE_DEMO Demo for ALV tree control
BCALV_TREE_DND ALV tree control: Drag & Drop within a hierarchy tree
BCALV_TREE_DND_MULTIPLE ALV tree control: Drag & Drop within a hierarchy tree
RSDEMO_DRAG_DROP_TREE_MULTI
BCALV_TREE_EVENT_RECEIVER Include BCALV_TREE_EVENT_RECEIVER
BCALV_TREE_EVENT_RECEIVER01
BCALV_TREE_ITEMLAYOUT ALV Tree: Change Item Layouts at Runtime
BCALV_TREE_MOVE_NODE_TEST Demo for ALV tree control
BCALV_TREE_SIMPLE_DEMO Program BCALV_TREE_SIMPLE_DEMO
BCALV_TREE_VERIFY Verifier for ALV Tree and Simple ALV Tree
Also please check the transaction DWDM This will give info also on trees.
Check the links -
drag drop required for alv column!
drag and drop in a tree
Drag&Drop within the Tree
Drag&Drop within a tree
Drag and drop in ALV tree
Similar Messages
-
Search help like tree structure.
Hi All,
I have a requirement to display the F4 search help like a tree structure , with different
Node(category fields ), under each node(category fields ) different work centers will exist.
Please suggest how I can achieve the tree format categories in search help.
Thanks for your cooperation.
Thanks,
Sri.Hi Sri,
U can have a look at the search help PRCTH in se11, which has an search help exit K_F4IF_SHLP_STANDARD_HIERARCHY
just execute this and try to debugg it...
Hope this solves your problem...
please ack if helpful .
Best of luck !
Thanks,
Ravi Aswani
Edited by: Ravi Aswani on Mar 15, 2010 8:45 AM -
Hii..
I want to output alv list which seggregates the data into folders and subfolders according to conditions. How can I assign data to these folders. What function module is good for this purpose, and I also want coloured list output depending on these conditionsHi Cynthia,
Use FM "RS_TREE_LIST_DISPLAY"
Refer this code. :
TYPE-POOLS : STREE.
TABLES : VBAK, VBAP.
DATA : WA_NODE TYPE SNODETEXT.
DATA : NODE_TABLE LIKE WA_NODE OCCURS 0 WITH HEADER LINE.
TYPES : BEGIN OF D_VBAK,
VBELN TYPE VBELN_VA,
ERDAT TYPE ERDAT,
KUNNR TYPE KUNAG,
END OF D_VBAK.
TYPES : BEGIN OF D_VBAP,
VBELN TYPE VBELN_VA,
POSNR TYPE POSNR_VA,
MATNR TYPE MATNR,
VRKME TYPE VRKME,
KWMENG TYPE KWMENG,
ARKTX TYPE ARKTX,
END OF D_VBAP.
TYPES : BEGIN OF D_LIKP,
VBELV TYPE VBELN_VON,
VBELN TYPE VBELN_NACH,
END OF D_LIKP.
TYPES : BEGIN OF D_VBRK,
VBELV TYPE VBELN_VON,
VBELN TYPE VBELN_NACH,
END OF D_VBRK.
DATA : I_VBAK TYPE STANDARD TABLE OF D_VBAK WITH HEADER LINE,
I_VBAP TYPE STANDARD TABLE OF D_VBAP WITH HEADER LINE,
I_LIKP TYPE STANDARD TABLE OF D_LIKP WITH HEADER LINE,
I_VBRK TYPE STANDARD TABLE OF D_VBRK WITH HEADER LINE.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
SELECT-OPTIONS : S_VBELN FOR VBAK-VBELN.
SELECTION-SCREEN END OF BLOCK B1.
START-OF-SELECTION.
PERFORM FETCH_DATA.
PERFORM FILL_NODES.
PERFORM TREE_DISPLAY.
FORM USER_COMMAND TABLES NODE STRUCTURE SEUCOMM
USING COMMAND
CHANGING EXIT
LIST_REFRESH .
DATA : D_VBELN TYPE VBELN_VA.
DATA : D_PARENT TYPE n length 6.
READ TABLE NODE_TABLE WITH KEY ID = NODE-PARENT.
IF NODE_TABLE-NAME = 'INVOICE'.
SET PARAMETER ID 'VF' FIELD NODE-NAME.
CALL TRANSACTION 'VF03' AND SKIP FIRST SCREEN.
ELSEIF NODE_TABLE-NAME = 'DELIVERY'.
SET PARAMETER ID 'VL' FIELD NODE-NAME.
CALL TRANSACTION 'VL03N' AND SKIP FIRST SCREEN.
ELSEIF NODE_TABLE-NAME = 'ITEM DATA'.
D_PARENT = NODE-PARENT - 1.
READ TABLE NODE_TABLE WITH KEY ID = D_PARENT.
D_VBELN = NODE_TABLE-NAME.
SET PARAMETER ID 'AUN' FIELD D_VBELN.
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
ENDIF.
ENDFORM.
*& Form FIELD_VALIDATION
text
--> p1 text
<-- p2 text
form FIELD_VALIDATION .
SELECT VBELN INTO TABLE I_VBAK
FROM VBAK
WHERE VBELN IN S_VBELN.
IF SY-SUBRC <> 0.
MESSAGE E201.
ENDIF.
SELECT VBELN INTO TABLE I_VBAK
FROM VBAK
WHERE VBELN = S_VBELN-HIGH.
IF SY-SUBRC <> 0.
MESSAGE E201.
ENDIF.
endform. " FIELD_VALIDATION
*& Form FETCH_DATA
text
--> p1 text
<-- p2 text
form FETCH_DATA .
SELECT VBELN
ERDAT
KUNNR INTO TABLE I_VBAK
FROM VBAK
WHERE VBELN IN S_VBELN.
SELECT VBELN
POSNR
MATNR
VRKME
KWMENG
ARKTX
INTO TABLE I_VBAP
FROM VBAP
FOR ALL ENTRIES IN I_VBAK
WHERE VBELN = I_VBAK-VBELN.
SELECT VBELV
VBELN
INTO TABLE I_LIKP
FROM VBFA
FOR ALL ENTRIES IN I_VBAK
WHERE VBELV = I_VBAK-VBELN
AND VBTYP_N = 'J'.
SELECT VBELV
VBELN
INTO TABLE I_VBRK
FROM VBFA
FOR ALL ENTRIES IN I_VBAK
WHERE VBELV = I_VBAK-VBELN
AND VBTYP_N = 'M'.
endform. " FETCH_DATA
*& Form FILL_NODES
text
--> p1 text
<-- p2 text
form FILL_NODES .
NODE_TABLE-TYPE = 'T'.
NODE_TABLE-NAME = 'SALES ORDER'.
NODE_TABLE-TLEVEL = '01'.
NODE_TABLE-NLENGTH = '15'.
NODE_TABLE-COLOR = '4'.
NODE_TABLE-TEXT = ''.
NODE_TABLE-TLENGTH = '20'.
NODE_TABLE-TCOLOR = '3'.
APPEND NODE_TABLE.
CLEAR NODE_TABLE.
LOOP AT I_VBAK.
AT NEW VBELN.
NODE_TABLE-TYPE = 'P'.
NODE_TABLE-NAME = I_VBAK-VBELN.
NODE_TABLE-TLEVEL = '02'.
NODE_TABLE-NLENGTH = '20'.
NODE_TABLE-COLOR = '4'.
NODE_TABLE-TEXT = ''.
NODE_TABLE-TLENGTH = '30'.
NODE_TABLE-TCOLOR = '3'.
APPEND NODE_TABLE.
CLEAR NODE_TABLE.
ENDAT.
NODE_TABLE-TYPE = 'P'.
NODE_TABLE-NAME = 'ITEM DATA'.
NODE_TABLE-TLEVEL = '03'.
NODE_TABLE-NLENGTH = '20'.
NODE_TABLE-COLOR = '4'.
NODE_TABLE-TEXT = ''.
NODE_TABLE-TLENGTH = '30'.
NODE_TABLE-TCOLOR = '3'.
APPEND NODE_TABLE.
CLEAR NODE_TABLE.
LOOP AT I_VBAP WHERE VBELN = I_VBAK-VBELN.
NODE_TABLE-TYPE = 'P'.
NODE_TABLE-NAME = I_VBAP-POSNR.
NODE_TABLE-TLEVEL = '04'.
NODE_TABLE-NLENGTH = '20'.
NODE_TABLE-COLOR = '4'.
NODE_TABLE-TEXT = ''.
NODE_TABLE-TLENGTH = '30'.
NODE_TABLE-TCOLOR = '3'.
APPEND NODE_TABLE.
CLEAR NODE_TABLE.
NODE_TABLE-TYPE = 'P'.
NODE_TABLE-NAME = 'MATERIAL NO'.
NODE_TABLE-TLEVEL = '05'.
NODE_TABLE-NLENGTH = '20'.
NODE_TABLE-COLOR = '4'.
NODE_TABLE-TEXT = I_VBAP-MATNR.
NODE_TABLE-TLENGTH = '30'.
NODE_TABLE-TCOLOR = '3'.
APPEND NODE_TABLE.
CLEAR NODE_TABLE.
NODE_TABLE-TYPE = 'P'.
NODE_TABLE-NAME = 'UNIT'.
NODE_TABLE-TLEVEL = '05'.
NODE_TABLE-NLENGTH = '20'.
NODE_TABLE-COLOR = '4'.
NODE_TABLE-TEXT = I_VBAP-VRKME.
NODE_TABLE-TLENGTH = '30'.
NODE_TABLE-TCOLOR = '3'.
APPEND NODE_TABLE.
CLEAR NODE_TABLE.
NODE_TABLE-TYPE = 'P'.
NODE_TABLE-NAME = 'QUANTITY'.
NODE_TABLE-TLEVEL = '05'.
NODE_TABLE-NLENGTH = '20'.
NODE_TABLE-COLOR = '4'.
NODE_TABLE-TEXT = I_VBAP-KWMENG.
NODE_TABLE-TLENGTH = '40'.
NODE_TABLE-TCOLOR = '3'.
APPEND NODE_TABLE.
CLEAR NODE_TABLE.
NODE_TABLE-TYPE = 'P'.
NODE_TABLE-NAME = 'DESCRIPTION'.
NODE_TABLE-TLEVEL = '05'.
NODE_TABLE-NLENGTH = '20'.
NODE_TABLE-COLOR = '4'.
NODE_TABLE-TEXT = I_VBAP-ARKTX.
NODE_TABLE-TLENGTH = '30'.
NODE_TABLE-TCOLOR = '3'.
APPEND NODE_TABLE.
CLEAR NODE_TABLE.
ENDLOOP.
LOOP AT I_LIKP WHERE VBELV = I_VBAK-VBELN.
NODE_TABLE-TYPE = 'P'.
NODE_TABLE-NAME = 'DELIVERY'.
NODE_TABLE-TLEVEL = '03'.
NODE_TABLE-NLENGTH = '20'.
NODE_TABLE-COLOR = '4'.
NODE_TABLE-TEXT = ''.
NODE_TABLE-TLENGTH = '30'.
NODE_TABLE-TCOLOR = '3'.
APPEND NODE_TABLE.
CLEAR NODE_TABLE.
NODE_TABLE-TYPE = 'P'.
NODE_TABLE-NAME = I_LIKP-VBELN.
NODE_TABLE-TLEVEL = '04'.
NODE_TABLE-NLENGTH = '20'.
NODE_TABLE-COLOR = '4'.
NODE_TABLE-TEXT = ''.
NODE_TABLE-TLENGTH = '30'.
NODE_TABLE-TCOLOR = '3'.
APPEND NODE_TABLE.
CLEAR NODE_TABLE.
ENDLOOP.
LOOP AT I_VBRK WHERE VBELV = I_VBAK-VBELN.
NODE_TABLE-TYPE = 'P'.
NODE_TABLE-NAME = 'INVOICE'.
NODE_TABLE-TLEVEL = '03'.
NODE_TABLE-NLENGTH = '15'.
NODE_TABLE-COLOR = '4'.
NODE_TABLE-TEXT = ''.
NODE_TABLE-TLENGTH = '20'.
NODE_TABLE-TCOLOR = '3'.
APPEND NODE_TABLE.
CLEAR NODE_TABLE.
NODE_TABLE-TYPE = 'P'.
NODE_TABLE-NAME = I_VBRK-VBELN.
NODE_TABLE-TLEVEL = '04'.
NODE_TABLE-NLENGTH = '20'.
NODE_TABLE-COLOR = '4'.
NODE_TABLE-TEXT = ''.
NODE_TABLE-TLENGTH = '30'.
NODE_TABLE-TCOLOR = '3'.
APPEND NODE_TABLE.
CLEAR NODE_TABLE.
ENDLOOP.
ENDLOOP.
endform. " FILL_NODES
*& Form TREE_DISPLAY
text
--> p1 text
<-- p2 text
form TREE_DISPLAY .
CALL FUNCTION 'RS_TREE_CONSTRUCT'
EXPORTING
INSERT_ID = '000000'
RELATIONSHIP = ' '
LOG =
TABLES
nodetab = node_table
EXCEPTIONS
TREE_FAILURE = 1
ID_NOT_FOUND = 2
WRONG_RELATIONSHIP = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'RS_TREE_LIST_DISPLAY'
EXPORTING
CALLBACK_PROGRAM =
CALLBACK_USER_COMMAND = 'USER_COMMAND'
CALLBACK_TEXT_DISPLAY =
CALLBACK_MOREINFO_DISPLAY =
CALLBACK_COLOR_DISPLAY =
CALLBACK_TOP_OF_PAGE =
CALLBACK_GUI_STATUS =
CALLBACK_CONTEXT_MENU =
STATUS = 'IMPLICIT'
CHECK_DUPLICATE_NAME = '1'
COLOR_OF_NODE = '4'
COLOR_OF_MARK = '3'
COLOR_OF_LINK = '1'
COLOR_OF_MATCH = '5'
LOWER_CASE_SENSITIVE = ' '
MODIFICATION_LOG = ' '
NODE_LENGTH = 30
TEXT_LENGTH = 75
TEXT_LENGTH1 = 0
TEXT_LENGTH2 = 0
RETURN_MARKED_SUBTREE = ' '
SCREEN_START_COLUMN = 0
SCREEN_START_LINE = 0
SCREEN_END_COLUMN = 0
SCREEN_END_LINE = 0
SUPPRESS_NODE_OUTPUT = ' '
LAYOUT_MODE = ' '
USE_CONTROL = 'F'
IMPORTING
F15 =
Reward points if helpful.
Regards,
Hemant -
F4 Help for Training Event -Tree structure like in PSV2
Hi,
There is any function module to give the F4 help in custome development for Training Event like Tree structure in PSV2.Check AL S's response here for how to do this. CVI 6.0 does not have a native Tree control. This was introduced with CVI 7.0.
Bilal Durrani
NI -
Build XML for Custom Nested Accordian (like Tree View Structure) for SharePoint List Data
Expected output in Xml:
<?xml version="1.0" encoding="utf-8" ?>
- <TopRoot>
- <Root id="1" Name="Department">
- <Type id="2" Name="IT">
- <SubType id="3" Name="Technology">
<SubSubType id="4" Name="Sharepoint" />
<SubSubType id="5" Name="ASP.NET" />
<SubSubType id="6" Name="HTML 5" />
</SubType>
</Type>
</Root>
</TopRoot>
List Details:
list details for storing category / sub category data and code to build tree structure for the same.
1.Create Custom List named “CategoryDetails”:
2.Create Column “Category Name” of type single line of text. Make it as required field and check Yes for Enforce Unique values.
3.Create column “Parent Category” of type lookup. under Additional Column Settings.
Get information dropdown, select “CategoryDetails”.
4.Choice column ["SRTypeName"] 1.Root,2.SRTYPE,3.SubSRTYPE, 4.SUBSUBSRTYPE
In this column dropdown, select “Category Name”:
Referance:
http://www.codeproject.com/Tips/627580/Build-Tree-View-Structure-for-SharePoint-List-Data -fine but don't want tree view just generate xml string
i just follwed above link it work perferfectly fine for building tree view but i don't want server control.
Expected Result:
My ultimate goal is to generate xml string like above format without building tree view.
I want to generate xml using web service and using xml i could convert into nested Tree View Accordian in html.
I developed some code but its not working to generate xml /string.
My modified Code:
public const string DYNAMIC_CAML_QUERY =
"<Where><IsNull><FieldRef Name='{0}' /></IsNull></Where>";
public const string DYNAMIC_CAML_QUERY_GET_CHILD_NODE =
"<Where><Eq><FieldRef Name='{0}' /><Value Type='LookupMulti'>{1}</Value></Eq></Where>";
protected void Page_Load(object sender, EventArgs e)
if (!Page.IsPostBack)
string TreeViewStr= BuildTree();
Literal1.Text = TreeViewStr;
StringBuilder sbRoot= new StringBuilder();
protected string BuildTree()
SPList TasksList;
SPQuery objSPQuery;
StringBuilder Query = new StringBuilder();
SPListItemCollection objItems;
string DisplayColumn = string.Empty;
string Title = string.Empty;
string[] valueArray = null;
try
using (SPSite site = new SPSite(SPContext.Current.Web.Url))
using (SPWeb web = site.OpenWeb())
TasksList = SPContext.Current.Web.Lists["Service"];
if (TasksList != null)
objSPQuery = new SPQuery();
Query.Append(String.Format(DYNAMIC_CAML_QUERY, "Parent_x0020_Service_x0020_Id"));
objSPQuery.Query = Query.ToString();
objItems = TasksList.GetItems(objSPQuery);
if (objItems != null && objItems.Count > 0)
foreach (SPListItem objItem in objItems)
DisplayColumn = Convert.ToString(objItem["Title"]);
Title = Convert.ToString(objItem["Title"]);
int rootId=objItem["ID"].ToString();
sbRoot.Append("<Root id="+rootId+"
Name="+Title+">");
string SRAndSUBSRTpe = CreateTree(Title, valueArray,
null, DisplayColumn, objItem["ID"].ToString());
sbRoot.Append(SRAndSUBSRTpe);
SRType.Clear();//make SRType Empty
strhtml.Clear();
SRType.Append("</Root>");
catch (Exception ex)
throw ex;
return SRType.ToString();
StringBuilder strhtml = new StringBuilder();
private string CreateTree(string RootNode, string[] valueArray,
List<SPListItem> objNodeCollection, string DisplayValue, string KeyValue)
try
strhtml.Appends(GetSRType(KeyValue, valueArray, objNodeCollection);
catch (Exception ex)
throw ex;
return strhtml;
StringBuilder SRType = new StringBuilder();
private string GetSRType(string RootNode,
string[] valueArray, List<SPListItem> objListItemColn)
SPQuery objSPQuery;
SPListItemCollection objItems = null;
List<SPListItem> objNodeListItems = new List<SPListItem>();
objSPQuery = new SPQuery();
string objNodeTitle = string.Empty;
string objLookupColumn = string.Empty;
StringBuilder Query = new StringBuilder();
SPList objTaskList;
SPField spField;
string objKeyColumn;
string SrTypeCategory;
try
objTaskList = SPContext.Current.Web.Lists["Service"];
objLookupColumn = "Parent_x0020_Service_x0020_Id";//objTreeViewControlField.ParentLookup;
Query.Append(String.Format
(DYNAMIC_CAML_QUERY_GET_CHILD_NODE, objLookupColumn, RootNode));
objSPQuery.Query = Query.ToString();
objItems = objTaskList.GetItems(objSPQuery);
foreach (SPListItem objItem in objItems)
objNodeListItems.Add(objItem);
if (objNodeListItems != null && objNodeListItems.Count > 0)
foreach (SPListItem objItem in objNodeListItems)
RootNode = Convert.ToString(objItem["Title"]);
objKeyColumn = Convert.ToString(objItem["ID"]);
objNodeTitle = Convert.ToString(objItem["Title"]);
SrTypeCategory= Convert.ToString(objItem["SRTypeName"]);
if(SrTypeCategory =="SRtYpe")
SRType.Append("<Type id="+objKeyColumn+" Name="+RootNode+ ">");
if (!String.IsNullOrEmpty(objNodeTitle))
SRType.Append(GetSRType(objKeyColumn, valueArray, objListItemColn));
if(SrTypeCategory =="SRSubTYpe")
SRType.Append("<SRSubType id="+objKeyColumn+" Name="+RootNode+
">");
if (!String.IsNullOrEmpty(objNodeTitle))
SRType.Append(GetSRType(objKeyColumn, valueArray, objListItemColn));
if(SrTypeCategory =="SubSubTYpe")
SRType.Append("<SubSubType id="+objKeyColumn+" Name="+RootNode +"
></SubSubType");
SRType.Append("</SubType>");
SRType.Append("</Type>");
catch (Exception ex)
throw ex;
return SRType.ToString();
// Call method again (recursion) to get the child itemsHi,
According to your post, my understanding is that you want to custom action for context menu in "Site Content and Structure" in SharePoint 2010.
In "SiteManager.aspx", SharePoint use MenuItemTemplate class which represent a control that creates an item in a drop-down menu.
For example, to create or delete the ECB menu for a list item in
"Site Content and Structure", we can follow the steps below:
To add the “My Like” menu, we can add the code below:
<SharePoint:MenuItemTemplate
UseShortId=false
id="OLListItemLike"
runat="server"
Text="My Like"
ImageUrl="/_layouts/images/DelItem.gif"
ClientOnClickNavigateUrl="https://www.google.com.hk/"
/>
To remove the “Delete” menu, we can comment the code below:
<SharePoint:MenuItemTemplate
UseShortId=false
id="OLListItemDelete"
runat="server"
Text="<%$Resources:cms,SmtDelete%>"
ImageUrl="/_layouts/images/DelItem.gif"
ClientOnClickScript="%SmtObjectDeleteScript%"
/>
The result is as below:
More information:
MenuItemTemplate Class (Microsoft.SharePoint.WebControls)
MenuItemTemplate.ClientOnClickScript property (Microsoft.SharePoint.WebControls)
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Multiple tree structured rows in output header
Hi All,
I have a requirement to create an output layout in which there are 3 dynamic rows in header and each row is having its own sub devision (like a tree structure). The number of columns will depend upon the data.
I am able to create N number of dynamic columns according to data fetched at run time but dont know how to create multiple tree structures rows in header.
Can any one please suggest how can I achieve this in SAP?
Regards,
NilanjanaHi All,
I have a requirement to create an output layout in which there are 3 dynamic rows in header and each row is having its own sub devision (like a tree structure). The number of columns will depend upon the data.
I am able to create N number of dynamic columns according to data fetched at run time but dont know how to create multiple tree structures rows in header.
Can any one please suggest how can I achieve this in SAP?
Regards,
Nilanjana -
Hello Everyone,
I have only using ADOBE Interactive forms for a short time. I have a table that has
seven fields. Region, Location, 4 diminsion fields, and one field that contains notes.
The region and the locations are currently on every row of the table.
However I would like the the output to be in a tree structure. Is there a
way to out put the data in this format like below? Its a lot cleaners than
duplicate regions and locations for every record.
Like Below
Region1
Location1
Dimensions 1
Dimensions 2
Dimensions 3
Location2
Dimensions 1
Dimensions 2
Dimensions 3
Region2
Location1
Dimensions 1
Dimensions 2
Dimensions 3
Location2
Dimensions 1
Dimensions 2
Dimensions 3
Thanks,
StephenI guess you can achieve that by nested tables. You can find lot of threads discussing it.
Below given blog also discusses the same.
/people/juergen.hauser2/blog/2009/12/01/using-tables-or-subforms-in-interactive-forms
Thanks,
Aravind -
Zip a tree like file structure in memory
Hi all guys...
How can I create a tree like file structure in memory (without using the disk at all) and than zip it send it out as an http servlet response?
I think its easier if I break it down to 2 separated problems: file structure in memory and zipping those bytes.
thanksYou can use a ByteArrayOutputStream but it will scale very very badly. What will happen if you get 100 concurrent users all wanting to allocate memory for the Zip file?
-
How to create a tree structure,like I want to create Bill/Payment Tree
How to create a tree structure , like I want to create a Bill/Payment Tree containing a single node for all A/R related activities for a specific bill period, in reverse chronological order. Basically the tree should look like
+ Bill - Date: 03-17-2010 Complete
+++++ CR Note - Date: 05-04-2010 Complete
++++++++++ Pay - Date: 05-04-2010 Frozen
+ Bill - Date: 03-17-2010 Complete
+++++ Pay - Date: 05-04-2010 Frozen
And finally this should be attached as tab on the control centralThe FTree package provides functions to populate the tree - look for the topic "Manipulating a hierarchical tree at runtime
" in the online help this point to all the functions and triggers -
Tree structure like in win explorer?
Hello everybody,
I need in my program a structure like the tree structure in the windows explorer. Is is possible to program something like this in LabWindows/CVI 6.0 ?
The program have to simulate an equipment. The tree is for a better finding of the "events", the equipment can do.
The last "file" in the tree should I took to some buttons to simulate the event. But this I think is not the problem.
thx for solving my problem ;-)Check AL S's response here for how to do this. CVI 6.0 does not have a native Tree control. This was introduced with CVI 7.0.
Bilal Durrani
NI -
Bookmarks of a Responsive HTML5 output as part of an overall tree structure
With its Responsive HTML5 output, unstructured FrameMaker 12 can create a bookmark tree.
Is it possible to tie trees (bookmarks) of multiple Responsive HTML5 outputs in an overall HTML tree structure?Hi Herbert
Thanks for reporting the issue.
For this problem, I will suggest two solutions
1. Either create a master book containing all your books / fm documents and then publish, you will get integrated Responsive HTML5 output.
2. Or use TCS and in RoboHelp use merge project Adobe RoboHelp 11 * Merging Help projects
Please let us know if you find any issue in that.
Thanks
Amit Jha -
Creating a tree structure like Windows file explorer using Jdev
Hi All,
Is it possible to develop a tree structure like windows in JDEV and then same page I want to move to oracle apps.
This tree I am creating for Showing Employee information. Like Parents & childs under it. i.e. Managers and employee reporting to managers.
Please let me know if it is possible, if yes how , what is method of doing this.
Thanks
Ganesh ManeYes. This possible with ADF Faces RC, which provides an af:tree component. Have a look at the Fusion Order Demo, which uses the tree to implement a similar usecase to the one you describe.
http://www.oracle.com/technology/products/jdev/samples/fod/index.html
Regards,
RiC -
I'm having trouble '''Finding''' the forum where I can look for the information I need. I keep ending up in '''endless menus of non-helpful information. '''
I got a popup message, I needed to upgrade to 3.6.17. After allowing it and rebooting, I couldn't start FF anymore, just got a crash report. I tried going to the restore point I had set with no luck and I tried creating a new profile. I lost all my bookmarks (only the Cache remained). And I sat in live chat for an hour waiting for help. German live chat had one helper and English live chat was closed.
So I gave up on help, uninstalled FF 3.6.17 and downloaded FF 3.6.15 and installed it. It loads but all bookmarks are gone. More importantly, now when I load the bookmarks, I can't '''retrieve''' them except by storing a new one. '''Only''' when I create a new bookmark can I see the folders I've created. I can't get to the organizer so I can't use the bookmarks to retrieve websites.
I'm disturbed that I can't get to the tree-structure forum where I can get the help I need. This "lead me around" labyrinth from one question to another, without being able to look through the forum for the information I need, is not helpful.
Thank you.
FoxhuntI believe you just are able to delete them from iTunes.
Hope it will be helpful -
Unable to create tree structure in Address Book like "Mail"
I'm moving from a Windows PC environment having used both Mozilla's Thunderbird (email) & Firefox (browser) successfully for years. Problem I'm encountering is setting up a similar structure in both Address Book & Mail!! I set my Mail structure as follows:
Leon Contacts
0800 Class
1100 Class
T'ai Chi
Earthquake E-tree
Branch 1
Branch 2
Branch 3
Branch 4
From my Apple phone conversations & One-On-One sessions, this is impossible. All Groups in Address Book are sorted in alphabetical order. There are NO sub-groups! When I'm composing a Mail for Mailbox, Leon Contacts, it's not easy to locate 1100 Class. It seems as though this logical approach to a tree structure would be useful for the community.
I'm at a loss for getting the mail addesses easily into Mail. Any interrim suggestions.Firefox doesn't do email, it's strictly a web browser.
If you are using Firefox to access your mail, you are using "web-mail". You need to seek support from your service provider or a forum for that service.
If your problem is with Mozilla Thunderbird, let us know and we can move this thread to the Thunderbird queue. This question currently is in the Firefox queue for answers. -
How to get Text for nodes in Tree Structure
Hi Friends,
How to get Text for nodes in Tree Structure
REPORT YFIIN_REP_TREE_STRUCTURE no standard page heading.
I N I T I A L I Z A T I O N
INITIALIZATION.
AUTHORITY-CHECK OBJECT 'ZPRCHK_NEW' :
ID 'YFIINICD' FIELD SY-TCODE.
IF SY-SUBRC NE 0.
MESSAGE I000(yFI02) with SY-TCODE .
LEAVE PROGRAM.
ENDIF.
class screen_init definition create private.
Public section
public section.
class-methods init_screen.
methods constructor.
Private section
private section.
data: container1 type ref to cl_gui_custom_container,
container2 type ref to cl_gui_custom_container,
tree type ref to cl_gui_simple_tree.
methods: fill_tree.
endclass.
Class for Handling Events
class screen_handler definition.
Public section
public section.
methods: constructor importing container
type ref to cl_gui_custom_container,
handle_node_double_click
for event node_double_click
of cl_gui_simple_tree
importing node_key .
Private section
private section.
endclass.
*& Classes implementation
class screen_init implementation.
*& Method INIT_SCREEN
method init_screen.
data screen type ref to screen_init.
create object screen.
endmethod.
*& Method CONSTRUCTOR
method constructor.
data: events type cntl_simple_events,
event like line of events,
event_handler type ref to screen_handler.
create object: container1 exporting container_name = 'CUSTOM_1',
tree exporting parent = container1
node_selection_mode =
cl_gui_simple_tree=>node_sel_mode_multiple.
create object: container2 exporting container_name = 'CUSTOM_2',
event_handler exporting container = container2.
event-eventid = cl_gui_simple_tree=>eventid_node_double_click.
event-appl_event = ' '. "system event, does not trigger PAI
append event to events.
call method tree->set_registered_events
exporting events = events.
set handler event_handler->handle_node_double_click for tree.
call method: me->fill_tree.
endmethod.
*& Method FILL_TREE
method fill_tree.
data: node_table type table of abdemonode,
node type abdemonode.
types: begin of tree_node,
folder(50) type c,
tcode(60) type c,
tcode1(60) type c,
tcode2(60) type c,
text(60) type c,
text1(60) type c,
text2(60) type c,
end of tree_node.
data: wa_tree_node type tree_node,
t_tree_node type table of tree_node.
wa_tree_node-folder = text-001.
wa_tree_node-tcode = text-002.
wa_tree_node-text = 'Creditors ageing'.
wa_tree_node-tcode1 = text-003.
wa_tree_node-text1 = 'GR/IR aging'.
wa_tree_node-tcode2 = text-004.
wa_tree_node-text2 = 'Bank Balance'.
append wa_tree_node to t_tree_node.
clear wa_tree_node .
wa_tree_node-folder = text-005.
wa_tree_node-tcode = text-006.
wa_tree_node-text = 'Creditors ageing'.
wa_tree_node-tcode1 = text-007.
wa_tree_node-text1 = 'Creditors ageing'.
wa_tree_node-tcode2 = text-008.
wa_tree_node-text2 = 'Creditors ageing'.
append wa_tree_node to t_tree_node.
clear wa_tree_node .
wa_tree_node-folder = text-009.
wa_tree_node-tcode = text-010.
wa_tree_node-text = 'Creditors ageing'.
wa_tree_node-tcode1 = text-011.
wa_tree_node-text1 = 'Creditors ageing'.
wa_tree_node-tcode2 = text-012.
wa_tree_node-text2 = 'Creditors ageing'.
append wa_tree_node to t_tree_node.
clear wa_tree_node .
node-hidden = ' '. " All nodes are visible,
node-disabled = ' '. " selectable,
node-isfolder = 'X'. " a folder,
node-expander = ' '. " have no '+' sign forexpansion.
loop at t_tree_node into wa_tree_node.
at new folder.
node-isfolder = 'X'. " a folder,
node-node_key = wa_tree_node-folder.
clear node-relatkey.
clear node-relatship.
node-text = wa_tree_node-folder.
node-n_image = ' '.
node-exp_image = ' '.
append node to node_table.
endat.
at new tcode .
node-isfolder = ' '. " a folder,
node-n_image = '@CS@'. "AV is the internal code
node-exp_image = '@CS@'. "for an airplane icon
node-node_key = wa_tree_node-tcode.
node-text = wa_tree_node-text .
node-relatkey = wa_tree_node-folder.
node-relatship = cl_gui_simple_tree=>relat_last_child.
endat.
append node to node_table.
at new tcode1 .
node-isfolder = ' '. " a folder,
node-n_image = '@CS@'. "AV is the internal code
node-exp_image = '@CS@'. "for an airplane icon
node-node_key = wa_tree_node-tcode1.
node-relatkey = wa_tree_node-folder.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-text = wa_tree_node-text1.
endat.
append node to node_table.
at new tcode2 .
node-isfolder = ' '. " a folder,
node-n_image = '@CS@'. "AV is the internal code
node-exp_image = '@CS@'. "for an airplane icon
node-node_key = wa_tree_node-tcode2.
node-relatkey = wa_tree_node-folder.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-text = wa_tree_node-text2.
endat.
append node to node_table.
endloop.
call method tree->add_nodes
exporting table_structure_name = 'ABDEMONODE'
node_table = node_table.
endmethod.
endclass.
*& Class implementation
class screen_handler implementation.
*& Method CONSTRUCTOR
method constructor.
create object: HTML_VIEWER exporting PARENT = CONTAINER,
LIST_VIEWER exporting I_PARENT = CONTAINER.
endmethod.
*& Method HANDLE_NODE_DOUBLE_CLICK
method handle_node_double_click.
case node_key(12).
when 'Creditors'.
submit YFIIN_REP_CREADITORS_AGING via selection-screen and return.
when 'Vendor'.
submit YFIIN_REP_VENDOR_OUTSTANDING via selection-screen and return.
when 'Customer'.
submit YFIIN_REP_CUSTOMER_OUTSTANDING via selection-screen and
return.
when 'GR/IR'.
submit YFIIN_REP_GRIR_AGING via selection-screen and return.
when 'Acc_Doc_List'.
submit YFIIN_REP_ACCOUNTINGDOCLIST via selection-screen and return.
when 'Bank Bal'.
submit YFIIN_REP_BANKBALANCE via selection-screen and return.
when 'Ven_Cus_Dtl'.
submit YFIIN_REP_VENDORCUST_DETAIL via selection-screen and return.
when 'G/L_Open_Bal'.
submit YFIIN_REP_OPENINGBALANCE via selection-screen and return.
when 'Usr_Authn'.
submit YFIIN_REP_USERAUTHRIZATION via selection-screen and return.
endcase.
endmethod.
endclass.
Program execution ************************************************
load-of-program.
call screen 9001.
at selection-screen.
Dialog Modules PBO
*& Module STATUS_9001 OUTPUT
text
module status_9001 output.
set pf-status 'SCREEN_9001'.
set titlebar 'TIT_9001'.
call method screen_init=>init_screen.
endmodule. " STATUS_9001 OUTPUT
Dialog Modules PAI
*& Module USER_COMMAND_9001 INPUT
text
module user_command_9001 input.
endmodule. " USER_COMMAND_9001 INPUT
*& Module exit_9001 INPUT
text
module exit_9001 input.
case sy-ucomm.
when 'EXIT'.
set screen 0.
endcase.
endmodule.
exit_9001 INPUTyou can read the table node_table with nody key value which imports when docubble click the the tree node (Double clifk event).
Regards,
Gopi .
Reward points if helpfull.
Maybe you are looking for
-
I have inadvertenly created two or more different Apple IDs. How can I learn all the different IDs associated with my email accounts or my name? How can I consolidate the different IDs into one or two?
-
How do change the width of frameworkpage to 800px ?
Hello experts, I want to change the width of Portal page to 800 px and display on center, like <a href="http://www.sinopec.com.cn/">http://www.sinopec.com.cn/</a> . Is there anyone had done this? Please give me some suggestion. BR, Jianguo Chen
-
Manual Nat (twice Nat) Answers
There seems to be a large number of the subject queries in one form or another. Having acquired an asa 5505 and using 8.43 firmware and the ADSM gui for router configuration it has not been an easy transition from other products. I have come to un
-
Computer shuts down when Update iPod
When I am trying to update my iPod my computer shuts down. Any advice? Thx
-
The update "Java for OS X 2012-004" can't be installed.
I have been trying to install this since I could not install my jes without java runtime but everytime i'm going to install the java is came up with the error. I don't know what's going on. i need to install softwares required for uni so i need this