Problem showing the selected node element in Adobe Forms
Hi,
I have a Webdynpro Application with a 0..n cardinality node. The requirement is when the user selects one element of the node in my WD app, the data of the selected node element has to be shown in my Adobe Form. Now the form is showing the first element of the node. How can I achieve this?
Please help.
Thanks
Hi Arafat,
I have tried that already. It didn't work. As of now, I've copied the form thats working into the new project.
But I didn't find a solution for the problem.
Thank you,
Vasu
Similar Messages
-
How to show the SELECT result in a certain form?
Hallo,
I have the folling problem:
CREATE TABLE buildings (
building VARCHAR2(20) NOT NULL,
city VARCHAR2(20) NOT NULL,
no_of_buildings NUMBER NOT NULL);
Now I make a SELECT * FROM buildings:
building city no_of_buildings
School Rome 20
School Paris 30
Cinema New York 15
Theater London 10
Theater Rome 7
But I need the SELECT result in this form:
Rome Paris New York London
School 20 30 null null
Cinema null null 15 null
Theater 7 null null 10
Is this possible?
Thank you
WernerSorry,
my request is not formatted well. I try again:
Hallo,
I have the folling problem:
CREATE TABLE buildings (
building VARCHAR2(20) NOT NULL,
city VARCHAR2(20) NOT NULL,
no_of_buildings NUMBER NOT NULL);
Now I make a SELECT * FROM buildings:
building city no_of_buildings
School Rome 20
School Paris 30
Cinema New York 15
Theater London 10
Theater Rome 7
But I need the SELECT result in this form:
Rome Paris New York London
School 20 30 null null
Cinema null null 15 null
Theater 7 null null 10
Is this possible?
Thank you
Werner -
ADF Tree 10.1.3.1, not highlighting the selected node.
Hi,
I'm having a problem highlighting the selected node in the ADF CoreTree.
I use the treehandler and model as described in the link: http://technology.amis.nl/blog/2116/much-faster-adf-faces-tree-using-a-pojo-as-cache-based-on-read-only-view-object-showing-proper-leaf-nodes-again
I use this objects because my tree was showing leaf node with the image to collapse.
The tree now looks great, the only problem is that when i click on a node the focusRowKey is set accordingly(debugging the getter and setter) but is not show as the selected node.
The tree jspx code looks the follow:
<!--TREE-->
<af:tree value="#{ActosTreeHandler.treemodel}" var="node"
focusRowKey="#{ActosTreeHandler.focusRowKey}"
id="treeActos"
varStatus="nodeStatus" binding="#{ActosTreeHandler.jsfTree}">
<f:facet name="nodeStamp">
<af:commandLink text="#{node.description}" partialTriggers="treeActos"
action="#{backing_documentos_detalhesDocumento.treeAction}">
<!--disabled="#{node.nodeType != 'ACTO'}"-->
<af:setActionListener from="#{ActosTreeHandler.jsfTree.rowKey}"
to="#{ActosTreeHandler.focusRowKey}"/>
<af:setActionListener from="#{node}"
to="#{ActosTreeHandler.selectedNode}"/>
<af:resetActionListener/>
</af:commandLink>
</f:facet>
</af:tree>Does anyone know how this can be solved?
Best Regards.Hi,
is this the same as
Re: Facing a problem in programmatically setting focus on a node in <af:tre
Frank -
No properties can be maintained for the selected node (MTE)
Hi!
I would like to set up the user defined alerts, e.g. Shortdumps frequency for satellite system from SOLMAN.
The access of the MTE on the satellite system goes without any problem
(<SID>\...\R3 Abap\Shortdumps frequency)
When I set up this alert via System Monitoring and try to access it by double clicking I get the following error: No properties can be maintained for the selected node (MTE).
Has some one some ideas how to solve this problem?
Any helpful information will be appreciated.
regards
ThomHi,
Please ensure you have enough(like S_RFCACL) authoraization in both Solman and Your satellite system
Check here [Solution Monitoring - Regarding MTE|Solution Monitoring - Regarding MTE]
Thanks,
Jansi -
DBCA does not show the remote nodes on a RAC 10.2.0.2 HP-ITANIUM
HI at all,
I have a problem and I hope someone can help me.
A collegue have installed CRS and the Oracle HOME for a RAC 10.2.0.2 on a HP-ITANIUM ( two nodes) .
Im'm using the dbca for creating a cluster database.
I can see the RAC option pages , but in the "select nodes page" I found only the local node and not the remote node.
Any suggestion is appreciated
thank you
Adriano
$ crs_stat
NAME=ora.itmicz50.LISTENER_ITMICZ50.lsnr
TYPE=application
TARGET=ONLINE
STATE=ONLINE on itmicz50
NAME=ora.itmicz50.gsd
TYPE=application
TARGET=ONLINE
STATE=ONLINE on itmicz50
NAME=ora.itmicz50.ons
TYPE=application
TARGET=ONLINE
STATE=ONLINE on itmicz50
NAME=ora.itmicz50.vip
TYPE=application
TARGET=ONLINE
STATE=ONLINE on itmicz50
NAME=ora.itmicz51.LISTENER_ITMICZ51.lsnr
TYPE=application
TARGET=ONLINE
STATE=ONLINE on itmicz51
NAME=ora.itmicz51.gsd
TYPE=application
TARGET=ONLINE
STATE=ONLINE on itmicz51
NAME=ora.itmicz51.ons
TYPE=application
TARGET=ONLINE
STATE=ONLINE on itmicz51
NAME=ora.itmicz51.vip
TYPE=application
TARGET=ONLINE
STATE=ONLINE on itmicz51
and the olsnodes command :
$ olsnodes
itmicz50
itmicz51
Message was edited by:
user549224
nullHI Chandra,
thank you very much for your reply. I suppose the oraInventory is the same, however the contents of inventory.xml file is this:
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 2005 Oracle Corporation. All rights Reserved -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
<SAVED_WITH>10.2.0.1.0</SAVED_WITH>
<MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="OUIHome1" LOC="/work/app/oracle/product/CRS" TYPE="O" IDX="1" CRS="true">
<NODE_LIST>
<NODE NAME="itmicz50"/>
<NODE NAME="itmicz51"/>
</NODE_LIST>
</HOME>
<HOME NAME="OUIHome2" LOC="/work/app/oracle/product/RAC10g" TYPE="O" IDX="2">
<NODE_LIST>
<NODE NAME="itmicz50"/> <===== EVIDENCE
</NODE_LIST>
</HOME>
</HOME_LIST>
</INVENTORY>
I can see that within the node_list tag I have only one hostname It is correct?
thank you in advance
Adriano Capruzzi -
Apply XSLT while importing the xml to the selected node in structure view
Hi All,
I would like to apply XSLT while importing the xml file to the selected node in the structure view.
How to go about it?
Thanks
SakthiHi All,
Got the solution,
UIDRef documentUIDRef = ::GetUIDRef(activeContext->GetContextDocument());
InterfacePtr<IDocument> document(documentUIDRef, UseDefaultIID());
InterfacePtr<IXMLImportOptionsPool> prefsPool( document->GetDocWorkSpace(), UseDefaultIID() );
InterfacePtr<IK2ServiceRegistry> serviceRegistry(gSession, UseDefaultIID());
InterfacePtr<IK2ServiceProvider> serviceProvider(serviceRegistry->QueryServiceProviderByClassID(kXMLImportMatchMakerSignal Service, kXMLThrowAwayUnmatchedRightMatchMakerServiceBoss));
InterfacePtr<IXMLImportPreferences> prefs(serviceProvider, IID_IXMLIMPORTPREFERENCES);
XMLImportPreferencesInitializer initializer(prefs, prefsPool);
bool16 prefBool = prefs->GetNthPrefAsBool(0);
prefs->SetNthPref(0, kTrue);
The above code set the import option "Delete elements, frames, and content that do not match imported XML"
Thanks
Sakthi -
How i can show the selection screen input field in the top of page in alv
hi ,
how i can show the selection screen input field in the top of page in alv grid output.
tell me the processHi,
excample from my program:
FORM topof_page.
DATA: l_it_header TYPE TABLE OF slis_listheader WITH HEADER LINE,
l_info LIKE l_it_header-info.
DATA: l_it_textpool TYPE TABLE OF textpool WITH HEADER LINE.
DATA: l_key LIKE l_it_textpool-key.
READ TEXTPOOL c_repid INTO l_it_textpool LANGUAGE sy-langu.
DEFINE m_selinfo.
if not &1 is initial.
clear l_it_header.
l_it_header-typ = 'S'.
l_key = '&1'.
translate l_key to upper case.
read table l_it_textpool with key key = l_key.
if sy-subrc = 0.
shift l_it_textpool-entry left deleting leading space.
l_it_header-key = l_it_textpool-entry .
endif.
loop at &1.
case &1-option.
when 'EQ'
or 'BT'
or 'CP'.
write &1-low to l_it_header-info.
when others.
write &1-low to l_it_header-info.
concatenate &1-option
l_it_header-info
into l_it_header-info
separated by space.
endcase.
if not &1-high is initial.
write &1-high to l_info left-justified.
concatenate l_it_header-info
l_info
into l_it_header-info
separated by space.
endif.
if &1-sign = 'E'.
concatenate ']'
l_it_header-info
into l_it_header-info.
endif.
append l_it_header.
clear: l_it_header-key,
l_it_header-info.
endloop.
endif.
END-OF-DEFINITION.
m_selinfo: s_trmdat,
s_trmext,
s_trmint,
s_fkdat,
s_delno,
s_vbeln,
s_deact,
s_kdmat.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = l_it_header[].
ENDFORM.
I hope, this will help you.
Regards
Nicole -
How to get the selected node value of a tree which is build on java code
Hi Experts,
How can i get the selected node value if I build the tree programatically.
I am using the following code in selectionListener but it is throwing error.
RichTreeTable treeTable = (RichTreeTable)getQaReasontreeTable();
CollectionModel _tableModel =
(CollectionModel)treeTable.getValue();
RowKeySet _selectedRowData = treeTable.getSelectedRowKeys();
Iterator rksIterator = _selectedRowData.iterator();
String selectedQaCode ="";
while (rksIterator.hasNext()) {
List key = (List)rksIterator.next();
JUCtrlHierBinding treeTableBinding =
(JUCtrlHierBinding)((CollectionModel)treeTable.getValue()).getWrappedData();
JUCtrlHierNodeBinding nodeBinding =
treeTableBinding.findNodeByKeyPath(key);
String nodeStuctureDefname =
nodeBinding.getHierTypeBinding().getStructureDefName();
selectedQaCode = selectedQaCode + nodeBinding.getAttribute(0);
where I am using following link to create a tree with java code.
http://one-size-doesnt-fit-all.blogspot.com/2007/05/back-to-programming-programmatic-adf.html
Please help me in resolving this issue.
Regards
GayazHi,
you should also move
JUCtrlHierBinding treeTableBinding =
(JUCtrlHierBinding)((CollectionModel)treeTable.getValue()).getWrappedData();
out of the while loop as this is not necessary to be repeated for each key in the set
Frank -
How to get the current node element by its value?
e.g,:
wdContext.current<b>Deal</b>Element().setAttributeValue("<i>deal_id</i>","<i>aaaaaaa</i>");
above code can get the result i wanna.
but now i wanna in terms of its node'name to set attribute vaue of itself. in other words,i have no idea about how to get the current node element by its name"<b>Deal</b>".Hi Wing,
The answer is there in your question itself.
wdContext.currentDealElement()
will give you the current node element by its name"Deal" or you could use
wdContext.nodeDeal().getCurrentElement()
or you could use
wdContext.nodeDeal().getElementAt(wdContext.nodeDeal().getLeadSelection())
Regards,
Sudeep -
How could i get the selected node in the JTree
getLastSelectedPathComponent() �returns the parent node of currenr selected, so how could I get the selected node itself in the JTree
I will appretiate for any help!i think you can get by....
TreePath treePath = tree.getSelectionPath();
DefaultMutableTreeNode treeNode = (DefaultMutableTreeNode) treePath.getLastPathComponent(); -
Problem with the selection screen in submit program
Hi Friends,
i am facing the problem wih the selection screen in submit program. in my Module pool program i am using the submit program statement, When i execute the program , The module program display the submit program selections creen.
I have implemented the code same as below.
submit ztest with tknum =p_tknum and return.
Can you pleaes help me how to avoid the submit program selection screen.
Thanks,
CharanHi Charan,
You have to give the selection screen values when you submit a job.
Press F1 on submit and you will see more details.
Here is an example from ABAP Documentation.
Program accessed
REPORT report1.
DATA text(10) TYPE c.
SELECTION-SCREEN BEGIN OF SCREEN 1100.
SELECT-OPTIONS: selcrit1 FOR text,
selcrit2 FOR text.
SELECTION-SCREEN END OF SCREEN 1100.
Calling program
REPORT report2.
DATA: text(10) TYPE c,
rspar_tab TYPE TABLE OF rsparams,
rspar_line LIKE LINE OF rspar_tab,
range_tab LIKE RANGE OF text,
range_line LIKE LINE OF range_tab.
rspar_line-selname = 'SELCRIT1'.
rspar_line-kind = 'S'.
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = 'ABAP'.
APPEND rspar_line TO rspar_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'H'.
APPEND range_line TO range_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'K'.
APPEND range_line TO range_tab.
SUBMIT report1 USING SELECTION-SCREEN '1100'
WITH SELECTION-TABLE rspar_tab
WITH selcrit2 BETWEEN 'H' AND 'K'
WITH selcrit2 IN range_tab
AND RETURN.
Regards,
Jovito. -
I'm having problems with the reproduction of documents in Adobe X due to low reproduction quality ¿c
I'm having problems with the reproduction of documents in Adobe X due to low reproduction quality ¿can you help me
Some things to try...
Using Windows Explorer navigate to C:\Program Files (x86)\Adobe\Reader 11.0\Reader, then double-click on Eula.exe and accept the license agreement
Can you open Adobe Reader by itself? If so, try disabling Protected Mode [Edit | Preferences | Security (Enhanced)].
If you cannot open Reader by itself, try to disable Protected Mode in the registry; download, unzip, then run the attached registry script
It could even be a malware issue; see http://helpx.adobe.com/acrobat/kb/reader-core-dll-error.html -
How we know the selected node in a Tree object in a form?
In a TREE object in forms, how can we know the current selected node by clicking a push button.
lets say , there are 10 nodes in my tree, and 5th one i selected. But i want to store the selected node in a variable, when i click a button.
please help
thanksHello
I've just notice what might be a bug in Oracle forms because when I have the when-tree-node-selected trigger present for the tree (It does not matter if it executes null or some code), the code in option 1 works fine on a when-button-pressed trigger on a button item. This is what I had done to give you a reply.
My second option will work because you're populating a parameter with when-tree-node-selected trigger which is then readable form anywhere else in the form. All you add is a check on when-button-pressed. Also for bug handling you need to consider setting the value to null when deselecting. I have this option working currently in one of my applications.
DECLARE
num_selected NUMBER;
htree ITEM;
curren_node FTREE.NODE;
BEGIN
htree := find_item('tree.form_list');
num_selected := ftree.get_tree_property(htree,ftree.selection_count);
for j in 1..num_selected
LOOP
curren_node := ftree.get_tree_selection(htree,j);
message('hello :'||ftree.Get_Tree_Node_Property(htree,curren_node,ftree.node_value),acknowledge);
end loop;
END;
cheers
Q -
Data node mapped to Adobe Form empty - Web Dynpro ABAP
Hi,
I've created a web dynpro component in ABAP. One of the view contains an interactive Adobe form.
Form properties : Data source and pdf source are mapped
Enabled checked
Submit action mapped to a method. This method reads the node mapped to the form.
Form Layout: Used ZCI Layout and Inserted web dynpro script (XML interface)
Dragged attributes from data view to create text fields.
Submit button used from Web dynpro native group
I could not read data from the form.
When I submit the form, data is not captured in the context.
I have used the same context for view and could save the data from the view. But from the adobe form, I cannot read the data.
Is there anything I missed. I have been on this since 2 days with no solution. I dont see any mistake but the form doesnt work.
Version: Adobe Designer : 8.1 (from market place)
SAP Netweaver 2004s SP18
Any help on this is appreciated.
P.S. Used all possible help from SDN existing posts and SAP notes.
Thanks in advance,
SrinivasHi Srinivas,
place a button on webdynpro view it self then try.
make sure your form is working in interactive mode.
else keep this conde in modifyview method.
method WDDOMODIFYVIEW.
data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
check first_time = abap_true.
LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT(u2018<<ID_OF_YOUR_UIELEMENT>>u2019).
LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
endmethod.
or try these links
For More Information look at the link below.
http://help.sap.com/saphelp_nw70/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/frameset.htm
Please look into SAP Notes: 1229392
You can also look at the elearning below:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3
Regards,
Mahesh -
What's the business case for using adobe forms for handling print forms
Hi
We are just starting our SAP project and are looking at the possibility to use Adobe forms for generating and printing our forms, like purchase orders, invoices etc.
My Question is:
1. Is this possible / adviseable ?
2. if so - what's the business case in using Adobe forms - <i> We have been looking on the SAP Pricing for adobe interactive form, and in our point of view it's grotesque high</i>
3. What other options do we have - do we need to settle with SAP Script / Smartforms ?
Regards
Morten NielsenHi Morten,
1. Is this possible / adviseable ?
As far I know SAP is going to stop support for SAPScript in coming years (I don't know exact dates). It is pretty much advisable to use Adobe Print Forms.
2. if so - what's the business case in using Adobe forms - We have been looking on the
SAP Pricing for adobe interactive form, and in our point of view it's grotesque high
We can use Adobe Print Forms where ever we can able to use SApscripts/PDF print Forms.
3. What other options do we have - do we need to settle with SAP Script / Smartforms ?
It is better to settle with Adobe forms rather than using SAPscript/Smart forms. One of the main reason for this is maintainance is much easier than SAPscript/Smart forms.
But remember that Java Stack need to be installed in order to use Adobe Forms.
Please visit the below SDN area on Adobe forms for more details.
https://www.sdn.sap.com/irj/sdn/interactiveforms
Thanks
Ramakrishna
Message was edited by:
Ramakrishna Ramisetti
Maybe you are looking for
-
Report to find relation transaction - Solman 7.1
Hello Sap Solution Manager Experts, Is there any transaction or report to view the associated relation/message? In other words, given the message number 8*344, i should be in position to see that two messages namely 8*474 and 8*473 are linked to the
-
Missing right parenthesis sql plus
Hi, trying to create this table but *'Missing right parenthesis'* on the 16th line, which starts FOREIGN KEY comes up, I don't know where I'm going wrong. Help PLEASE! CREATE TABLE player_performance player_performance_id numeric(10)NOT NULL, player_
-
Videos stop playing after 4 minutes
Is there a setting for the length of time a video plays. Video streams are stopping after playing for about 4 minutes.
-
Recommendation for HDV vtr or camcorder for batch capture
I currently own Premiere Pro CS3 and am using the trial version for PP CS4 on a Mac. One of my biggest problems is batch capturing HDV footage with my Sony HVR-Z7U HDV Camcorder or HVR-M15AU HDV Deck. It just doesn't work properly for CS3 and was dis
-
Tableview - change color in row
Hi all, I have a tableview in my view and I have to change the color for each second row in the table. For example: 1. row: blue, 2. row: white, 3. row: blue, 4. row: white ... How can I do this? Best regards & Thanks in advance! Alberto