LInk property in tree
hi,
do we have any link propertiy in tree.
i have requirement to make leaf node as a link.
plz suggest me how to do it.
Regards,
Venkat.
Hi,
Pls check the help document link below:
http://help.sap.com/saphelp_nw2004s/helpdata/en/21/ad884118aa1709e10000000a155106/content.htm
Regards,
Sharath
Similar Messages
-
How to displaying "my favorite Links" as a tree view menu
Gurus,
I have a KM iView in portal home page, where users keep adding their favourite links from time to time. Now I want to display all the links as in tree structure say -
Content Admin
|--> Page A
|--> Page B
System Admin
| --> Page C
Kindly help me out in finding a solution.
regds,
Sukanta RudraKrishna,
Thanks for the reply. I was able to create the tree view. Now I have two requirements related to this.
1. How to have them as collapsible menu structure, which gets expanded as and when user wants.
2. Can we customize it as, Whenever a user add as page in favorites, it will ask for to to put in some folder that is there under my favorites links? I belive it requires some programming customization. Could you guide me, for some solution.
regds,
Sukanta Rudra -
Command link used as tree node
I'm using an ADF Tree where one of my nodes is a command link. I've given the link an id="myLink".
When I run the page, the tree shows up fine with just one node.
But the View Page source does not contain any entry that says id="mylink".
Where could be the problem?
Thanks
RVHi,
I assume you use ADF Faces RC, because otherwise you would have posted this to the JDeveloper forum. If you add a command link t a node, then this command link is used for any node that is rendered for the tree (unless you implemented it in a way that only has exactly one command link component showing in the whole tree - which I don't think you have).
In JSF you cannot have more than one component with a specific ID, which means that assigning an ID to a command link in a tree doesn't make much sense.
In ADF Faces RC, trees are active components, which means they are created in the DOM and not HTML. So using a DOM inspector like Firebug you should see your tree and link components
<a id="j_id___jsp_tag_ctru4:7:myLink" class="xdk" href="#" onclick="return false;">commandLink 1</a>
Frank -
Links for navigation tree not rendering as expected
I have a tree menu that links to various applications. It provides single sign-on to different applications for intranet users, passing encrypted authentication details between apps. The tree table is defined as:
APPLICATION_ID NUMBER(10),
APPLICATION_NAME VARCHAR2(50),
LOCATION VARCHAR2(500),
PARENT_APPLICATION_ID NUMBER(10),
SHOW VARCHAR2(1)
The location column provides the link for the tree. Here is an example of one record:
set escape ~
insert into application_menu_tree
values (2, 'Application Name',
'f?p=100:102:::NO::P101_USERNAME,P101_PASSWORD,MENU_SESSION:~&MENU_USERNAME.,~&MENU_PASSWORD.,~&APP_SESSION.',
1,
NULL);
This works without a problem in the full version of APEX/10gR2/Oracle App Server. Mouse over a link and you see the &APP_USERRNAME. replaced with the encrypted version of the username. Same with the rest.
Export/import into XE though and the link doesn't pick up the &MENU_USERNAME., &MENU_PASSWORD., or &APP_SESSION. when rendering the menu. A mouse-over of the link shows those values are not being replaced in the string, but if I pull the session values using the Edit links, all are populated just fine.
If I copy that same string (the one that is used for the link in the tree), and paste it directly to an html region as an href, the variables are replaced as expected and the link works just fine.
So, a link pulled from the table doesn't have those values replaced, where the same string in an html region as an href does just fine. The table method does work in the full version, but doesn't in two installs of XE (same page definition - export/import).
Any ideas?
Thanks,
RonDid you change anything when moving the application to XE, or did you just a plain export/import? Plain export/import except the choice of theme- was using 16 in 2.2 and changed to an XE supplied theme.
You exported the application using UTF8 and imported it using UTF8 as well, right? Yep
Which version of XE are you using, the Western European Edition or the Universal one?Universal
What was the exact select statement and what type of region did you use? The tree query is about as straight forward as can be:
select "APPLICATION_ID" id,
"PARENT_APPLICATION_ID" pid,
"APPLICATION_NAME" name,
location link,
null a1,
null a2
from "#OWNER#"."APPLICATION_MENU_TREE"
Was it the same in XE and Apex 2.2.1?Yep - no difference in data or query, and the page is exactly the same except for the application theme.
I just modified the query to do the replacement instead and that's working just fine in XE. New query:
select "APPLICATION_ID" id,
"PARENT_APPLICATION_ID" pid,
"APPLICATION_NAME" name,
REPLACE(
REPLACE(
REPLACE(location, '#APP_SESSION#', :app_session),
'#MENU_USERNAME#', :menu_username),
'#MENU_PASSWORD#', :menu_password) link,
null a1,
null a2
from "#OWNER#"."APPLICATION_MENU_TREE"
I'll post an example of what I'd set up before to the Oracle hosted APEX when I get a chance and toss the link here. Being 2.2.1 it should work there as well.
Thanks again for the suggested change!
Ron -
Content query using linked property [WLP 9.2]
Hi -
I've set up a content type in WLP 9.2 that consists of three properties:
- linkedDevice (Link-Property -> to Node of type Device)
- linkedTariff (Link-Property -> to Node of type Tariff)
- combinedPrice (Double-Property)
Now I'm trying to get the price for such a combination of Device and Tariff by using the <cm:search> like this:
<cm:search id="prices" query="linkedDevice contains '${device.id}'>
I've made sure that ${device.id} is initialized to contain something like "/BEA Repository/12345" before calling cm:search.
Unfortunately, I've not been able to query for Nodes using the tag libs / API so far - and I don't get any errors in the logs for the com.bea.content.manager.* classes.
Any hints? Anybody? :-)
Thanks,
AlexCurrently we dont support linked property in the metadata search(SQL search). So your search query will not work. But if you want to find out the nodes that link to a particular node, you can use our INodeManager.getNodeReferences(). Please refer to the javadoc of INodeManager for more information.
-
How can we call a jar files(seperate projects jars) to each link of the tre
how can we call a jar OR WAR files(seperate projects jars OR War) to each link of the tree.
i want have home page that have this menu
========================
-- Sale
--- Customer
--- Reader
-- Energy
--- Calc
-- Service
--- Chnage Name
--- Change Code
=======================
For example
--- Change Name
---- Page Reister
---- Page Confirm
---- Page Anoc
---- Page Save
======================
i want user to access to every page From Each Case(Change Name) .
i create for change name one project in my fushion web app and for other case
How to I Can Call Page register From change name in Menu of The home page ????
Edited by: user13151366 on Feb 4, 2013 4:44 AM -
PreferredPort partner link property
Does anyone know how the preferredPort partner link property (page 1-40 Oracle SOA Suite Best Practices Guide) work???
I have a service with two ports and one of them is not working properly. Unfortunately BPEL is always trying to use the non working port. I've tried to set the property to the name of the port i wish the BPEL would use but with no success...
Tnx,
PeterOne more thing: I've tried it on 10.1.3.1.0 and the Oracle SOA Suite Best Practices Guide in which i found the property seems to be for the 10.1.3.3.0...
-
Powerbook G4 10.4.11 won't start from hard drive . Tried repair, " Invalid sibling link,invalid B tree header, invalid map node,invalid record type,the volume needs to be repaired.Powerbook G4 10.4.11 won't start from hard drive . Tried repair, " The underlying task reported failure on exit (-9972).Invalid sibling link,invalid B tree header, invalid map node,invalid record type,the volume needs to be repaired.
The underlying task reported failure on exit (-9972).kauribill wrote:
" The underlying task reported failure on exit (-9972).Invalid sibling link,invalid B tree header, invalid map node,invalid record type,the volume needs to be repaired.
The underlying task reported failure on exit (-9972).
This is a directory issue that Disk Utility cannot fix. Although it manifests itself as a software issue sometimes it may be hardware based. See DiskUtility reports "Underlying task reported failure" when repairing avolume http://support.apple.com/kb/TS1901?viewlocale=en_US". You can try using a utility like TechTool Pro, Drive Genius or Disk Warrior to repair and replace the directory. Another option would be to use the Archive and Install feature to reinstall. If the problem returns after correction you may have a failing or failed HDD.
cornelius -
Adding to a Linked Complete Binary Tree
Hi all,
I am having major trouble trying to grasp the concept behind adding to a Complete Binary Tree (linked structure). It is part of a much larger assignment that uses a Heap Priority Queue and I am genuinely stuck. I have noticed that there seems to be some sort of strike going on so I wont expect a reply to this.
I understand that Binary Tree's are useful because of their recursive nature, does the process of adding use recursion also. My mind is a mess at the moment so forgive the rambling. My problem exists when I go to add after a right child on a lower level(anything below level 3). I have come to the conclusion that I it is impossible to continue with my adding method and that I should scrap it. Can anyone point anything relevant out to me? I'd appreciate it, thank you.
public class LinkedBT implements CompleteBT
private BTNode root; //a reference to the root node
private BTNode current; //a reference to the last inserted node
private BTNode firstNodeInLevel; //a reference to the first node in the level
private int size; //keeps track of the size of the BT
private int currentLevel;
private int leafCount;
public LinkedBT()
root = null; //instantiate instance variables
current = null;
size = 0;
currentLevel = 0; //indicates that there are no nodes
leafCount = 0;
firstNodeInLevel = null;
public boolean isEmpty()
return (root==null);
public int size()
return size;
public void add(Object obj, int priority)
BTNode tempNode = new BTNode(obj, priority);
tempNode.parent = current; //set the parent of the node to current
if(isEmpty()) //if the tree is empty then make a new BTNode and give it the root reference
root = tempNode;
current = root; //make current reference to the root node
size++;
currentLevel++; //increments currentLevel
return; //return control to calling method
if(current.childrenFull!=true) //if the current node has available children positions then check left and right and add BTNode appropriately
if(current.leftChild==null)
if(leafCount==0) //if this is the first node to be added on any given level then.....
firstNodeInLevel = tempNode; //.....store a reference to it for future adding purposes
current.leftChild = tempNode; //adds BTNode to left child
leafCount++;
else
current.rightChild = tempNode; //add BTNode to right child
leafCount++;
current.childrenFull = true; //after adding the right child set the childrenFull property true NECESSARY?????
if(Math.pow(2, currentLevel)==leafCount) //IF THIS EVALS TO TRUE THEN THE MAX NUMBER OF LEAVES FOR THAT LEVEL IS REACHED
currentLevel++; //increment the level
leafCount = 0; //reset the leaf count
current = firstNodeInLevel; //change current to the furthest leaf on the left
else //ELSE NEED TO GO BACK UP AND FIND NEXT FEASIBLE POSITION
//while(current.parent.rightChild.leftChild.)----------------THIS DOESNT WORK WHEN THE TREE GETS BIGGER
//current = current.parent; //set current to next feasible position
size++;
public Object getRoot()
return root;
public void heapSort()
private class BTNode
private Object value;
private int key;
private BTNode parent;
private BTNode leftChild;
private BTNode rightChild;
private boolean childrenFull; //initially false, when both children are occupied then change to true
private BTNode(Object obj, int priority) //constructor accepts the value and the priority key
value = obj;
key = priority;
parent = null;
leftChild = null;
rightChild = null;
childrenFull = false;
public boolean hasNoChildren()
return(leftChild==null && rightChild==null); //returns true if the node has no children
}Currently working on setting the Linked Servers Security properties. Added the SQLAgent in the" Local server login to remote server login mappings:". The SQLAgent is the only entry in the grid. The SQLAgent has the Remote User and Remote Password
of the AS400. Then below have "Not be made" for "For a login not defined in the lst above, connections will:".
So provided that the SQL Admin only gives SQL Job create, Job Alter and Alter Linked Server to user/groups that he wants to use the linked server the Admin can control access to the linked server.
Any thoughts? -
Unable to expand child links in ALV Tree
Hi,
I have written the following code for ALV Tree using function modules.
REPORT ZSID_ALV_TREE.
type pool declarations for tree
TYPE-POOLS : fibs,stree.
tables: ekko.
TYPES: BEGIN OF t_ekko,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
statu TYPE ekpo-statu,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
netpr TYPE ekpo-netpr,
peinh TYPE ekpo-peinh,
END OF t_ekko.
DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
it_ekpo TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
it_emptytab TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_ekko TYPE t_ekko,
wa_ekpo TYPE t_ekko.
DATA:w_repid type sy-cprog.
*Data declaration for additional node information
DATA : t_node TYPE snodetext.
*Internal table and wa decl for nodes
DATA : it_node LIKE TABLE OF t_node INITIAL SIZE 0,
wa_node LIKE t_node.
*Start of selection event
START-OF-SELECTION.
*Select the data for tree
PERFORM fetch_data.
*Build the hierarchy for tree
PERFORM build_hierarchy.
*Build Tree for display
PERFORM build_tree.
*& Form fetch_data
text
--> p1 text
<-- p2 text
FORM fetch_data .
SELECT ebeln
up to 10 rows
FROM ekko
INTO corresponding fields of TABLE it_ekko .
loop at it_ekko into wa_ekko.
SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
FROM ekpo
appending TABLE it_ekpo
where ebeln eq wa_ekko-ebeln.
endloop.
endform.
*& Form build_hierarchy
text
--> p1 text
<-- p2 text
FORM build_hierarchy .
*Building the nodes and hierarchy for tree
CLEAR : it_node[], wa_node.
wa_node-type = 'T'.
wa_node-name = 'Product Hierarchy Level'.
wa_node-tlevel = '01'.
wa_node-nlength = '35'.
wa_node-color = '4'.
wa_node-text = 'Test'.
wa_node-tlength ='20'.
wa_node-tcolor = 3.
APPEND wa_node TO it_node.
CLEAR wa_node.
loop at it_ekpo into wa_ekpo.
wa_node-type = 'P'.
wa_node-name = 'Purchasing Doc'.
wa_node-tlevel = '02'.
wa_node-nlength = '25'.
wa_node-color = '4'.
wa_node-text = wa_ekpo-ebeln.
wa_node-tlength ='20'.
wa_node-tcolor = 3.
APPEND wa_node TO it_node.
CLEAR wa_node.
*Filling the values of internal table into tree
wa_node-type = 'P'.
wa_node-name = 'Material No'.
wa_node-tlevel = '03'.
wa_node-nlength = '20'.
wa_node-color = '1'.
wa_node-text = wa_ekpo-matnr.
wa_node-tlength ='20'.
wa_node-tcolor = 4.
APPEND wa_node TO it_node.
CLEAR wa_node.
ENDLOOP.
ENDFORM. " build_hierarchy
*& Form build_tree
text
--> p1 text
<-- p2 text
FORM build_tree .
*Fm for constructing the tree
CALL FUNCTION 'RS_TREE_CONSTRUCT'
TABLES
nodetab = it_node.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
w_repid = SY-CPROG.
*FM for displaying the tree
CALL FUNCTION 'RS_TREE_LIST_DISPLAY'
EXPORTING
CALLBACK_PROGRAM = w_repid
CALLBACK_USER_COMMAND = 'USER1_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 = '0'
COLOR_OF_NODE = '4'
COLOR_OF_MARK = '3'
COLOR_OF_LINK = '1'
COLOR_OF_MATCH = '5'
LOWER_CASE_SENSITIVE = 'X'
MODIFICATION_LOG = 'X'
NODE_LENGTH = 40
TEXT_LENGTH = 75
TEXT_LENGTH1 = 0
TEXT_LENGTH2 = 0
RETURN_MARKED_SUBTREE = 'X'
SCREEN_START_COLUMN = 0
SCREEN_START_LINE = 0
SCREEN_END_COLUMN = 0
SCREEN_END_LINE = 0
SUPPRESS_NODE_OUTPUT = 'X'
LAYOUT_MODE = ' '
USE_CONTROL = 'L'.
IMPORTING
F15 =
ENDFORM. " build_tree
FORM USER1_COMMAND TABLES node STRUCTURE seucomm
USING command
CHANGING value(exit)
VALUE(LIST_REFRESH).
write 'Hi'.
endform.
But I have a problem
1. I can expand the child links in tree structure when I comment the exporting parameter CALLBACK_USER_COMMAND in the function Module 'RS_TREE_LIST_DISPLAY'.
2 But when i uncomment the exporting parameter I am unable to expand the child links in output.
Please let me know if i have missed something in the code.
Useful answers will be rewarded
Regards,
SiddharthHi Sidhhart,
Check out this prog.
REPORT Z_KULDEEP_ALV_HIERARCHY
message-id zord
line-size 270.
Tables:
Vbap,
Vbak.
*& PROGRAM VARIABLES
type-pools slis.
*& INTERNAL TABLES & STRUCTURES
data:
begin of t_header occurs 0,
EXPCOL type c,
vbeln type vbak-vbeln,
audat type vbak-audat,
vkorg type vbak-vkorg,
vtweg type vbak-vtweg,
spart type vbak-spart,
end of t_header,
begin of t_item occurs 0,
vbeln type vbap-vbeln,
posnr type vbap-posnr,
matnr type vbap-matnr,
arktx type vbap-arktx,
pstyv type vbap-pstyv,
end of t_item,
t_fieldcat type standard table of slis_fieldcat_alv with header line,
t_event type standard table of slis_alv_event with header line,
x_keyinfo type slis_keyinfo_alv,
x_layout type slis_layout_alv,
x_variant like disvariant.
*& GLOBAL VARIABLES
data:
g_repid type sy-repid,
g_formname type slis_formname value 'TOP_OF_PAGE'.
*& SELECTION SCREEN *
selection-screen begin of block a with frame title text-000.
Select-options : s_date for vbak-audat obligatory.
p_date type vbak-audat.
selection-screen end of block a.
*& INITIALIZATION *
initialization.
clear : g_repid,t_header,t_item.
refresh : t_header,t_item.
g_repid = sy-repid.
*& AT SELECTION-SCREEN *
at selection-screen.
if s_date-high > sy-datum.
message e001.
endif.
start-of-selection.
select vbeln audat vkorg vtweg spart from vbak
into corresponding fields of table t_header
where audat in s_date.
select vbeln posnr matnr arktx pstyv from vbap
into table t_item
for all entries in t_header
where vbeln = t_header-vbeln.
end-of-selection.
perform sub_display_alv.
*& Form sub_display_alv
text
--> p1 text
<-- p2 text
form sub_display_alv.
*column 1
perform sub_populate_fieldcatalog using:
'VBELN' " field name
'T_HEADER' " table name
'ORDER' " column heading
'8' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 2
perform sub_populate_fieldcatalog using:
'AUDAT' " field name
'T_HEADER' " table name
'ORDERDATE' " column heading
'10' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 3
perform sub_populate_fieldcatalog using:
'VKORG' " field name
'T_HEADER' " table name
'SALES ORG' " column heading
'6' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 4
perform sub_populate_fieldcatalog using:
'VTWEG' " field name
'T_HEADER' " table name
'DIVISION' " column heading
'2' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 5
perform sub_populate_fieldcatalog using:
'SPART' " field name
'T_HEADER' " table name
'CHANNEL' " column heading
'4' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 6
perform sub_populate_fieldcatalog using:
'vbeln' " field name
'T_item' " table name
'Order' " column heading
'8' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 7
perform sub_populate_fieldcatalog using:
'POSNR' " field name
'T_ITEM' " table name
'SALES DOC.ITEM' " column heading
'8' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 8
perform sub_populate_fieldcatalog using:
'MATNR' " field name
'T_ITEM' " table name
'MATERIAL' " column heading
'8' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 9
perform sub_populate_fieldcatalog using:
'ARKTX' " field name
'T_ITEM' " table name
'SALES ORDER ITEM' " column heading
'8' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 10
perform sub_populate_fieldcatalog using:
'PSTYV' " field name
'T_ITEM' " table name
'ITEM CATEGORY' " column heading
'8' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
perform sub_assign_events.
Create a Layout for the ALV
perform sub_layout.
Define the key fields that links the header & item tables
perform sub_define_key.
dispaly list
perform sub_call_list_display.
endform. " sub_display_alv
*& Form sub_populate_fieldcatalog
text
-->P_G_FIELDCAT text
-->P_0198 text
-->P_0199 text
-->P_0200 text
-->P_0201 text
-->P_0202 text
-->P_0203 text
-->P_0204 text
-->P_0205 text
-->P_0206 text
-->P_0207 text
-->P_0208 text
-->P_0209 text
-->P_0210 text
-->P_0211 text
-->P_0212 text
-->P_0213 text
form sub_populate_fieldcatalog using
l_fieldname
l_tabname
l_column_heading
l_outputlen
l_fix_column
l_key
l_no_out
l_do_sum
l_no_sum
l_input
l_cfieldname
l_datatype
l_hotspot.
t_fieldcat-fieldname = l_fieldname.
t_fieldcat-tabname = l_tabname.
t_fieldcat-reptext_ddic = l_column_heading.
t_fieldcat-outputlen = l_outputlen.
t_fieldcat-fix_column = l_fix_column.
t_fieldcat-key = l_key.
t_fieldcat-no_out = l_no_out.
t_fieldcat-do_sum = l_do_sum.
t_fieldcat-no_sum = l_no_sum.
t_fieldcat-cfieldname = l_cfieldname.
t_fieldcat-datatype = l_datatype.
t_fieldcat-hotspot = l_hotspot.
append t_fieldcat.clear t_fieldcat.
endform. " sub_populate_fieldcatalog
*& Form sub_assign_events
text
--> p1 text
<-- p2 text
form sub_assign_events.
refresh t_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 1
importing
et_events = t_event[]
exceptions
list_type_wrong = 1
others = 2
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Read the record for the top-of-page event
read table t_event with key slis_ev_top_of_page.
if sy-subrc = 0.
t_event-form = g_formname.
append t_event.
endif.
endform. " sub_assign_events
*& Form SUB_LAYOUT
text
--> p1 text
<-- p2 text
form sub_layout.
clear x_layout.
x_layout-f2code = 'QUOTE'.
x_layout-zebra = 'X'.
x_layout-expand_fieldname = 'EXPCOL'. " Field for expand/collapse
*Stat
x_layout-colwidth_optimize = 'X'.
x_layout-no_totalline = 'X'. " 0001+
endform. " SUB_LAYOUT
*& Form SUB_DEFINE_KEY
text
--> p1 text
<-- p2 text
form sub_define_key.
clear x_keyinfo.
x_keyinfo-header01 = 'VBELN'.
x_keyinfo-item01 = 'VBELN'.
endform. " SUB_DEFINE_KEY
form top_of_page.
write :/10 sy-datum, 20 sy-pagno, 30 sy-uname.
endform.
form sub_user_command using f_ucomm like sy-ucomm
f_selfield type slis_selfield.
if f_ucomm = 'QUOTE'.
if f_selfield-fieldname = 'VBELN'.
Set Parameter id 'AUN' field f_selfield-value.
call transaction 'VA03'.
endif.
endif.
endform.
*& Form sub_call_list_display
text
--> p1 text
<-- p2 text
form sub_call_list_display.
call function 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
exporting
i_callback_program = g_repid
i_callback_user_command = 'SUB_USER_COMMAND '
is_layout = x_layout
it_fieldcat = t_fieldcat[]
i_save = 'A'
it_events = t_event[]
i_tabname_header = 'T_HEADER'
i_tabname_item = 'T_ITEM'
is_keyinfo = x_keyinfo
tables
t_outtab_header = t_header[]
t_outtab_item = t_item[]
exceptions
program_error = 1
others = 2
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform. " sub_call_list_display -
How to use quick link property in the km navigation iview
Hi all
I have requirement.
T structured lables
one on top and rest 12 at the bottem in 3 columns, 4 rows.
when i click the lable it should connect to a respective folder in the KM
this entire page have to be connected to a folder link...ie when i click this folder link this page with T structured lables have to come and when i click each lable respective folders should open...
so for that i have created one KM Document iview(this is like heading in the page) and 12 KM Navigation iviews(pointing to respective folders)
after that which layout will be suitable for this in page layout???
if i add all iviews into a one single page
how to connect lables to folder???
one of my friend have suggested to use '"quicklink'" property along with html page...???
how to use it ???
so pls do help me???
my dead line is by today evening i.e 2.12.08
pl do reply me as soon as posible
thanks and regards
Gayathri vuthukotahi Nikhil
cau u explain me in detail please.
I have done with HTML page and attached to Km document iview.and i have my 12 Km navigation i views.
Then create static Links on HTML page to navigate to other iviews. It can be created by using the Insert link in Km tool of the html editor available in Km. For opening a url iview from a link you can write this for executing the 'donavigate method' to open the iview you needed.???
what is EPCF client eventing???
thanksn regards
Gayathri -
System: Oracle 8i on HP-UX, Forms 6i on WINNT.
Imagine a Forms app which contains a tree with all
accessible forms applications.
Each item is related to a command line which is
stored in the database and executed when the item
is doubleclicked.
This fires the trigger when-tree-node-activated
which executes 'cmd/c ||pathname||filename'.
and the file which will be executed is usually a
.bat file which then starts another form
with path\ifrun60.exe module=*path*\form.fmx usesdi=yes.
This works really fine and all users are happy
and me too, because any other new application
can easily be added. Now my question:
How can I use a similar construction with Oracle 9i
and 9iDS ? My customer is considering this switch.
How can I use a link instead of this batch ?
Every advice is greatly appreciated.
Best regards,
UdoDepends where the code needs to be run - if it needs to be run on the App Server machine then keep the code you have today.
If it needs to be run on the Client (Browser) machine then look at the HOST bean sample on OTN (otn.oracle.com/products/forms) -
Linking property nodes to two cursors in one graph
Hello,
I have got one graph with 2 cursors. And I need to by able to set the coordinates of each cursor by using property nodes. However, if I click right button mouse button - create - property node - cursor - cursor position - -then there are only 3 possibilities "All elements", "X", Y" which links only to one of the cursors (actually I don`t know which). How is possible to link 2 cursors`s position property nodes to 2 cursors in one graph?
Thank you a lot for discussion.
Martin Pekar
Solved!
Go to Solution.Also, if you have more than a few cursors, you can make the code more scalable by using an array of positions and a FOR loop as follows.
Now the code automatically adapts th the number of cursors you actually have.
(Of course all other common sense applies, for example only set this when the position changes. Don't write the same cursor postions with every iteration of the loop over and over. )
Message Edited by altenbach on 05-06-2009 06:25 AM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
MulticursorII.png 4 KB -
Creating Linked File Directory Tree Using Spry?
Hey guys,
First post on help forums as I'll racking my brains tring to
find a way to do the following.
Basically I created a multimedia cd for my works data sheet
pdf's using dreamweaver CS and using spry horz menu wigets to
create links to files etc ... everything worked sweet and happy as
but now I have been asked to attempt one step further.
Basically what I am trying to acheve here create a HTML page
in dreamweaver containing a spry menu that links automaticlly to
all our work pdf doc's regarding our products on a network drive,
in case the drive sits here F:\sales\suppliers data sheets\
Inside this directory is extra diretorys containing the data
sheets ... e.g F:\sales\suppliers data
sheets\3M\3Mpaper\100grit.pdf ... F:\sales\suppliers data
sheets\3M\3Mpaper\150grit.pdf ... etc
Is there any way I can create a widget spry menu automaticlly
to capture all of these directories and files and display as a
linked tree?
I can do it manually but this would take forever ... ha-ha
I am hoping you undertsand what I mean ... basically I want
to make a html menu page which features a drop down menu sustem
where the sales guys can find the info much faster and easyer than
always exploring the drive.
Thanks in advance for any ideas or suggestions.
Muz (NZ)Hey guys,
First post on help forums as I'll racking my brains tring to
find a way to do the following.
Basically I created a multimedia cd for my works data sheet
pdf's using dreamweaver CS and using spry horz menu wigets to
create links to files etc ... everything worked sweet and happy as
but now I have been asked to attempt one step further.
Basically what I am trying to acheve here create a HTML page
in dreamweaver containing a spry menu that links automaticlly to
all our work pdf doc's regarding our products on a network drive,
in case the drive sits here F:\sales\suppliers data sheets\
Inside this directory is extra diretorys containing the data
sheets ... e.g F:\sales\suppliers data
sheets\3M\3Mpaper\100grit.pdf ... F:\sales\suppliers data
sheets\3M\3Mpaper\150grit.pdf ... etc
Is there any way I can create a widget spry menu automaticlly
to capture all of these directories and files and display as a
linked tree?
I can do it manually but this would take forever ... ha-ha
I am hoping you undertsand what I mean ... basically I want
to make a html menu page which features a drop down menu sustem
where the sales guys can find the info much faster and easyer than
always exploring the drive.
Thanks in advance for any ideas or suggestions.
Muz (NZ) -
Programatically adding command links in ADF Tree?
Hi,
I am using Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660. Can anyone please provide me some sample code for programatically adding dynamically generated ADF command links in the nodes of ADF Tree(Tree nodes in it are created using View Object - Drag & drop of data control). Now how can i add links in the nodes generated.
Thanks,
VikHi,
try setting partialSubmit=true on the command link. Just in case it fires the action method before the context menu displays
Frank
Maybe you are looking for
-
JAR File Will NOT Update on WebStart!
I want an updated jar application to run on WebStart, but it always runs the original jar file I put on the server. (The update of the jar file works fine by itself.) I have updated the .jar file as well as the .jnlp file. I have tried deleting the c
-
OSB+how to change content type header in http transport header.
I have a requirement where I need to change the value of: <http:Content-Type>text/xml; charset=utf-8</http:Content-Type> to the end system specific like: <http:Content-Type>application/abcd-cvs-v1+xml; </http:Content-Type> and the http:accept value t
-
Hi Could some please explain on how to create a new administrative account with ds6.2. The user requires only read permissions to the user/group space within the directory. Cheers
-
Muse converting jpegs to .pngs, ballooning size
The photos in a Muse site I created recently were loading very slowly, so I uploaded the files into Dreamweaver to see what was happening. To my shock, here's what I found when I reviewed one of the photos: The original (linked photo): a 640 X 480 jp
-
Hi guys i have very stupid kinf of problem , on every page of our application we are including a header in ther header file we have a table and a <t:outputText> to show information but information jumps out of table <table><tr><td> <h:outputLink valu