Dump in webdynpro : Table
I have the following dump even if the table is set with lead selection !!!!
Any idea ?
Error when processing your request
What has happened?
The URL http://rixsasd6.sbbio.be:8012/sap/bc/webdynpro/sap/zhrtm_job_description/ was not called due to an error.
Note
The following error text was processed in the system HRD : The lead selection has not been set. JOB_LIST ꯃ䅢偲䅤
The error occurred on the application server rixsasd6_HRD_12 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: _RAISE_ELEMENT_NOT_FOUND of program CL_WDR_CONTEXT_NODE===========CP
Method: PATH_TABLE_GET_ELEMENT2 of program CL_WDR_CONTEXT_NODE===========CP
Method: GET_BOUND_ELEMENT of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system HRD in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server rixsasd6_HRD_12 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server rixsasd6_HRD_12 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 020 -u: STK73840 -l: E -s: HRD -i: rixsasd6_HRD_12 -w: 0 -d: 20070921 -t: 082340 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework Team
Hi Stephan,
This error also comes if the initial lead selection property fo the node is not set correctly.
item_list nodes --> cardinality: 0..n, selection: 0..1, initialization lead selection: false
input_field nodes --> cardinality: 1..n or 1..1, selection: 0..1, initialization lead selection: true
Pls try the above combinations and test again.
Best regards,
Suresh
Similar Messages
-
How to Display the content of Excel file into Webdynpro Table
Hi Experts
I am following the Blog to upload a file in to the webdynpro context,but my problem is after uploading a excel file i need to extract the content from that Excel file and that content should be displayed in the webdynpro table.Can any body please guide me how to read the content from excel and to Display in the Table.
Thanks and Regards
KalyanHI,
Take for example, if Excel file contains 4 fields,
Add jxl.jar to JavaBuild path and Use this snippet
File f=new File("sample.xls");
Workbook w=Workbook.getWorkbook(f);
Sheet sh=w.getSheet(0);
int cols=sh.getColumns();
int rows=sh.getRows();
Cell c=null;
String s1=null;
String s2=null;
String s3=null;
String s4=null;
ArrayList al=new ArrayList();
int j=0;
for(int i=1;i<rows;i++)
ITableElement table=wdContext.createTableElementz
s1=sh.getCell(0,i).getContents();
s2=sh.getCell(1,i).getContents();
s3=sh.getCell(2,i).getContents();
s4=sh.getCell(3,i).getContents();
table.setName(s1);
table.setAddress(s2);
table.setDesignation(s3);
table.setDummy(s4);
al.add(j,table);
j++;
wdContext.nodeTable().bind(al);
Regards
LakshmiNarayana -
WebDynpro Table Contents to Adobe:
Hi ,
I have WebDynpro Table element containing lots of data and on click of button it has to open in Adobe and display all the contents in Adobe Table. The problem is that i receive only one record which is lead selected in WebDynpro table. In Adobe i used one Subform ( Content type is flowed) and a table element.
Expecting right ans.
Thanks
Vinod V
Points waiting.Hi, Vinod,
Really its surprising. Everything is fine, then y its not working. here I have created a sample application regarding u r problem. Its working fine. While i am giving Updatepdf it shows only one record. In generate pdf, It shows all the records. Possible, Try to create your Interactive form again as its a simple one.
GS -
Currency Key Reference field in WebDynpro Table Column
Hi Experts,
I am using a WebDynpro table (not ALV) showing multiple currency fields in a single row - each one potentially referencing a different currency key e.g. Japanese Yen and USD in a single row.
My currency context attributes are already defined as currency types, but how can I assign different currency key references to each of my currency context attributes? Or is this somehow done as a property of the table column UI element?
Thanks for your help,
PeterHi Kris,
You answer is very helpful, but I do have a question about going the DDIC route. So you are saying that if I take a DDIC structure into my context with multiple currency keys as reference fields for multiple currency fields, then my WebDynpro context will know exactly which currency key is the reference for which currency field without having do do this programatically as you described? If that's true, can I bring a whole DDIC structure over to the context and then delete the 'Dictionary Structure' refrence from my context node, so that I can add my own additional fields to the context node? E.g. in the case of DDIC structure VBAP can I get all my currency fields and their reference fields from the DDIC from VBAP and then delete 'VBAP' as a 'Dictionary Structure' from my context node and add my own custom fields. The fields I would have brought in from VBAP still retain their type and everything after the deletion of 'VBAP' as a 'Dictionary Structure', so my question is will it also retain the node_info of what currency key goes with what field?
Please let me know if you happend to have done this before.
Thanks,
Peter -
How to make 2 lines in a webdynpro table cell?
Hi
Is it possiable to create a WebDynpro Table Call that can contains 2 lines in 1 cell ?Hi Ami,
There are a limited number of UI elements that you may use for a Table Cell Editor, however, with a TextView, you can display text that includes a line break.
The line break is achieved by including the carriage-return-line-feed characters in the Table's data source...
LOOP AT lt_flight_tab ASSIGNING <f>.
CONCATENATE 'Line One' cl_abap_char_utilities=>cr_lf 'Line Two' INTO <f>-test.
ENDLOOP.
Cheers,
Amy -
Creating report definition in CUIC for dump of all tables
Hello,
I have a lab version CUIC 10_ and am new to custom reporting. I am trying to get a system dump of all tables and fields from UCCX and CUIC.Please refer to Cisco Unified CCX Database Schema Guide 10.5
https://www.cisco.com/c/dam/en/us/td/docs/voice_ip_comm/cust_contact/contact_center/crs/express_10_5/reference/guide/dbschema.pdf -
Hi Colleagues.
Im using NW 7.0 Java webdynpro
Can I use dynamic pagination for java webdynpro table. I found an article explaining the same with NW7.1.
Is there any option the functionality available in NW 7.0
Thanks
BalaHi
PLease check this article link
https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0d6c30a-c99e-2b10-f09b-c9a00b7e78c6&overridelayout=true
Also check this blog link
/people/bertram.ganz/blog/2008/11/27/web-dynpro-java-table-paging-unleashed-optimizing-heavy-table-performance
Regards
Ruturaj
Edited by: Ruturaj Inamdar on Jul 31, 2009 1:32 PM -
Regarding excel file download from webdynpro table element
Hi All,
I want steps to do excel download from webdynpro table element.
Thanks in advance.
Regards,
Muneesh Gitta.Hi Gitta,
There are 2 ways in doing it, one is using GUI DOWNLOAD FM or using class clwd_runtime_services.
DATA:
node_node_alv TYPE REF TO if_wd_context_node,
elem_node_alv TYPE REF TO if_wd_context_element,
stru_node_alv TYPE wd_this->element_node_alv,
itab_node_alv TYPE TABLE OF wd_this->element_node_alv..
navigate from <CONTEXT> to <NODE_ALV> via lead selection
@TODO handle not set lead selection
IF ( node_node_alv IS INITIAL ).
ENDIF.
get all declared attributes
node_node_alv->get_static_attributes_table(
IMPORTING
table = itab_node_alv ).
DATA:
node_file_download TYPE REF TO if_wd_context_node,
elem_file_download TYPE REF TO if_wd_context_element,
stru_file_download TYPE wd_this->element_file_download ,
item_fname LIKE stru_file_download-fname.
navigate from <CONTEXT> to <FILE_DOWNLOAD> via lead selection
node_file_download = wd_context->get_child_node( name = wd_this->wdctx_file_download ).
get element via lead selection
elem_file_download = node_file_download->get_element( ).
get single attribute
elem_file_download->get_attribute(
EXPORTING
name = `FNAME`
IMPORTING
value = item_fname ).
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = item_fname
FILETYPE = 'ASC'
TABLES
data_tab = itab_node_alv.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
OR
check this blog for
Re: Export to Excel Sheet functionality -
Hello,
I have a couple of clarifications on webdynpro table features.
1.webdynpro table heading currently comes only as one row.Is it possible to store the values in 2 rows.?
2.I would like to incorporate scrolling on webdynpro table both horizontally and vertically.Whe scrolling is incorporated vertically,is it possible to keep the header always on the screen,even when the webdynpro is scrolled down?
regards
JohHi,
Check this link,
Re: WebDnpro Table + Scroll
John -
Webdynpro table with dropdow list
hi experts,
i wanna webdynpro table rows have their dropdow list,and each row have it's own list values
how can i do
best regards
zlfHi,
I hope you already have a Solution, if not try the following:
1-Create a node"table"(0-n) in the context_View
2-Create 2 attribute in this node.
- The first"List_atr" to show the list
- The second "save_atr" to save the value selected from the list
3- Create a Table in the Layout_View, bind it dateSource to the node"table" in context_view
3.1- Add a Column in the Table (Layout_View),
+ add a TableCelEditor "DropDownByKey" elt to this Column,
+ bind the "selectedKey" of this Elt to the first"List_atr" in the node"table" in the context Node
+ Add a eventhandler(method)"onvalSelected" to the Events "onSelect" of this elt
3.1-implement the method "onvalSelected"
here tel ur view ctrl to save the value selected in the second "save_atr" in the context_View
example code:
wdContext.currentTableElement().setsave_atr( wdContext.currentTableElement().getshow_atr());
So if you know how to populate the first "show_atr" with some list, coo. So if the user selected one value in the dropdown list, the method will save it in the cell of the table row and so on for each rows.
If you have another questions just asked.
Best Regards
Glap -
hi experts,
How to Store and fetch the data from oracle BD and after fetching i want to display that result in webdynpro table and storing is also from webdynpro view interface.
can anybody help me on end to end procdure how can i achive.
Advance Thank you,
vijaiHi vijay,
<b> using EJB and connect with oracle.</b>
the step by step procedure is follow how to connect with oracle
1) Open the J2EE perspective
2) Create an EJB Module project
3) Right click on ejbModule, create a new EJB (select your EJB type)
4) While creating the ejb itself, you can add business methods by clicking Next in the UI. Another option is after creating the ejb, write the method in the bean, then select the method from ejb-jar.xml -> <bean name> ->method. Right click and select propogate to local & remote.
5) Double click on ejb-j2ee-engine.xml. select your bean and specify a Jndi name for eg: MyJndi.
6) Right click on the EJB project and add classes12.zip file (provided by Oracle) to its build path. (under libraries tab). Also check the same file under Order & Export.
7) Create an Enterprise Application project.
8) Right click on the EJB module project and select add to EAR project, then select the created EAR project.
9) Right click on the EJB project, select Build EJB Archive
10) Right click on the EAR project, select Build Application Archive
11) Open the WebDynpro perspective, open a new project, right click on the project ->properties. Do the following configurations :-
Java Build path - select the EJB project from projects , check the selected project under Order & Export
Project references select the EAR project
WebDynpro references select sharing references tab, click add & make an entry as : <vendor>/<EAR project name without .ear extension>
You can find the vendor name under application-j2ee-engine.xml file of the EAR project. By default it is sap.com. So if my EAR projects name is ABC, my entry would look like sap.com/ABC
12) Now the configurations are over and the EJB can be invoked by writing the client code inside the webdynpro component. Like:
InitialContext context = new InitialContext();
Object obj = context.lookup("MyJndi");
MyEJBHome home = MyEJBHome)PortableRemoteObject.narrow(obj,MyEJBHome.class);
MyEJB mybean = home.create();
int a = 0;
a= mybean.add(10,15);
wdContext.currentContextElement().setSum(a);
where MyEJB is my EJB name and MyJndi is my JNDI name
To connect to Oracle , you can write the usual Java code (given below) as a business methos of the ejb (similar to add() method in the example). And access it like mybean.<businessMethodName>().
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("your query");
i hope that the above steps are useful for u.
Regards,
P.Manivannan. -
How to Sort single column in webdynpro table
Hi all
I have requirement as follows.
i have webdynpro table with the following columns like Date,firstname,lastname,address etc.
now when i run the the application the table is populating the data at runtime that is fine.
i need as soon as table is loaded , Date field in the table should be displayed the values in the decending order...i have the requirement as follows...
how to sort the single column in table ...by default the values of the column displayed with decending order as soon as table displays at runtime....i dont want to click any button specific button to do the sort for that column
Regards
binduHi, I solved the same problem by modifying the sort() method in the default TableSorter class so that it takes a column id and direction rather than an event.
I assume you have read the TableSorter tutorial.
Like this. (This was done on nw ce 7.1 btw but may work on older versions as well.
Oh and then you just call the sort method right after you have made the request
//Code that goes into controller/view to execute sorting
wdContext.currentContextElement().getPensionplanTableSorter().sort("MyColumnId", "Up", wdContext.nodePensionPlan());
//Part of TableSorter.java
//The original method that needs an event. Now it just calls the new method
public void sort(IWDCustomEvent wdEvent, IWDNode dataSource) {
// find the things we need
String columnId = wdEvent.getString("selectedColumn");
String direction = wdEvent.getString("sortDirection");
sort(columnId, direction, dataSource);
//This is the new method.
public void sort(String columnId, String direction, IWDNode dataSource) {
if (columnId == null || direction == null ) {
return;
IWDTableColumn column = (IWDTableColumn) table.getView().getElement(columnId);
NodeElementByAttributeComparator elementComparator =
(NodeElementByAttributeComparator) comparatorForColumn.get(column);
if (elementComparator == null){
//not a sortable column
column.setSortState(WDTableColumnSortDirection.NOT_SORTABLE);
return;
// sorting
elementComparator.setSortDirection(WDTableColumnSortDirection.valueOf(direction));
dataSource.sortElements(elementComparator); -
Dumping data into tables directly
Hi there,
Is it possible to just dump data into tables directly (matching file structures)?
Or do we need to use GUI_UPLOAD and then insert them via ABAP statements?
Thanks,
MujiHi,
what is ur requirement exactly.
There are ways to upload data into database table.
u can use XI to uplaod data to SAP.
if it is user data creation, u can create a maintenance dialog and create data thru SE30.
But if u want to insert volumes of data and need them to be validated as well, u post them thru transactions. this is bDC.
If u want to upload master data, u use LSMW or direct input.
If u want to just do direct insert u need to do coding and map the data and insert intot he database,
but for all these u need abap coding which involves uploading and downloading. -
WebDynpro 中Table的column的换行.
dear all.
WebDynpro 中Table的column的长度太长了,有没有换行属性?
Edited by: Leo Wang on Jan 19, 2009 7:31 AM首先要把Table的width属性设备成一个定值,或者将TableColumn的width属性设成一个定值,然后再将Column中的TableCellEditor设成TextView,然后再将TextView的wrapping属性设成true,当TextView中的文本长度超过了Column的长度后,TextView就会自动换行,这样就可以达到换行的目的了。
-
Anymore example of WebDynpro table to Excel format
Hi, experts!
These day I am interested in Webdynpro for java.
But I am not good at java
Who can give me easy example for WebDynpro table to Excel?
Thanks in advance!HI,
Please post this [WebDynpro For JAVA forum|Web Dynpro Java;. You have more chances there to get a quick reply.
regards
Senthivel
Maybe you are looking for
-
Report to see WIP calculation details for sales order
Hi, I want to know which is the best report to see the details of WIP calculation for a sales order. There is a WIP posting of 1 million to a sales order and i want to understand how this amount was computed.
-
MacBook Air 13" Core 2 Duo showing only 1 GB RAM
My MacBook 13" Mid 2010 Core 2 duo shows only 1 GB RAM
-
Loss of VM Fusion Printer Support
I've had Fusion running successfully on an 08 MacPro until today when I loaded deLorme Street Atlas 2008. Before the program loaded, it sent a message that the following two programs had to be loaded: DotNet 1.1 and DotNet 1.1.sp1. I allowed those pr
-
Hello everyone, About active scanning: Can the STA send data packets through the active scanning? In other words, through the active scanning the STA needs to check every channel by sending probe request and waits for an AP-response for specific ti
-
Start a BPEL process automatically all 30 seconds
Hello, I would to check all 30 seconds a database for changes. If that is possible with the DatabaseAdapter? And if so like this is done? Or if there are there still other possibilities. It should be also begun automatically all 30 seconds a BPEL pro