How to make join bsis,bkpf,bseg table with zdbb and zobb table for data retrieval
HI,
I have an abap development requirement in which i have to retrieve data fields from different table, like bsis ,bkpf, bsip, bsas, pyar, lfa1,skat,etc.
I have retrieved data from bsis and bkpf and bseg by finding common field like "belnr, budat bukrs gjahr" to through FOR ALL ENTERIES, but when I going to get relevant data from zdbb table which is orginated bank details table ,in this I haven't find any common field on the basis of which i retrieve relevant data,
please guide me in in this regard as I have already searched web for this solution but haven't find a satisfactory answer.
Thanks.
Hi Ruks Pathirage
THANKS FOR YOUR REPLY.
I have checked both of the tables i.e lfbk and zdbb but haven't find any common field, coz data element is different,
please see the snap shots.
lfbk table:
and zdbb,
In my understading there is no com'n field , though bank key is common field in both table but both have different data element.
thanks
Similar Messages
-
How to create table with rows and columns in the layout mode?
One of my friends advised me to develop my whole site on the
layout mode as its better than the standard as he says
but I couldnot make an ordinary table with rows and columns
in th layout mode
is there any one who can tell me how to?
thanx alotYour friend is obviously not a reliable source of HTML
information.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Mr.Ghost" <[email protected]> wrote in
message
news:f060vi$npp$[email protected]..
> One of my friends advised me to develop my whole site on
the layout mode
> as its
> better than the standard as he says
> but I couldnot make an ordinary table with rows and
columns in th layout
> mode
> is there any one who can tell me how to?
> thanx alot
> -
VPD problem: select for update on join tables with policy on ref table
In our application we use VPD. Now we ran into an issue. I will try to explain with EMP and DEPT table.
EMP table has no VPD attached.
DEPT table has VPD policy that forbids all updates, but allows select. (Policy returns '1=2' for statement type update.
This query returns no rows:
select * from emp join dept using (department_id) for update. This makes sense, because I'm going to update both the tables.
However:
select * from emp join dept using (department_id) for update of employee_id also returns no rows. THIS IS WRONG. I'm not going to update dept table.
Any experience with this. Is this a known limitation ?I can see all the rows, because there is no select policy.
However the point is, that VPD should allow me to update the emp table, because there is no update policy.
With the 'for update of employee_id' clause, VPD should recognize that I'm not going to update the dept table, but only the emp table. But VPD does not recognize this, but applies the update policy of dept to the statement, making the statement to update no rows.
(Reason behind my question is ADF Business Components, where you have ViewObjects with Referenced Entities. ADF BC generates this type of statement and now we run into this VDP limitation) -
How to make site root-relative links work in DW and Server both?
See details on buggy DW image link behavior, below. My question is:
1) how to make site root-relative links work in DW and Server both? Or…
2) how to reliably automate the change of several hundred legacy root-relative links of the form
/images/image.jpg to document-relative?
That is, to
../images/image.jpg or
../../images/image.jpg or
../../../images/image.jpg etc…depending on where the directory is.
The old format (/images/image.jpg ) used to work fine in my previous DW 8 configuration but appear grey in DW after “upgrading” to DW cs5.5 mac. (they look fine on the server, but it’s hard to edit image-heavy pages locally when they are all grey).
I tried changing the files to how DW creates root relative links now:
/public_html/images/image.jpg, which is a very easy, attractive root flow since there’s a one-to-one mapping. These look great in DW but are broken on the server!
I looked at the “advanced” site setup, and it looked like it might be possible to nuke the /public_html/ part of my server info…but it also looked like there was the potential for doing damage changing these settings, which are automatically generated from our server connection settings, which seem to work.
The “links relative to document/ site root” toggle…does that change how DW interprets existing links, or just change the default when you are adding a link? I have made 80% of the file links document relative…before wondering if root-relative isn’t better?
It sure seems less ambiguous for all those images if theres a way to make root relative work for DW design view, DW link check, and server.
Summary of buggy behavior: (see test with images here)
"old style" site root link
/images/img_book/WScover120x150_NEW.jpg
Design veiw in DW: broken (grey w/ broken icon)
Link check in DW: "external link" (i.e., uncheckable, + file could appear orphaned)
Browser: good
Ease of switching: n/a (existing format)
"new style" site root relative link
/public_html/images/img_book/WScover120x150_NEW.jpg
Design veiw in DW: good
Link check in DW: good
Browser: broken
Ease of switching: easy
Document relative link
../../images/img_book/WScover120x150_NEW.jpg
Design veiw in DW: good
Link check in DW: good
Browser: good
Ease of switching: hard (how to automate?)
Absolute link
http://www.oasisdesign.net/images/img_book/WScover120x150_NEW.jpg
Design veiw in DW: broken (grey w/ broken icon)
Link check in DW: external (i.e., uncheckable, + file could appear orphaned)
Browser: good
Ease of switching: n/a...not a real option
Thanks!
Similar discussion on "/"Hello again Jon!
Thanks for jumping on this.
All clear and understood about where publc_html is etc.
No contemplation of nuking the actual public_html directory on the server, just the "/public_html" text string at the start of the DW-generated links.
"/public_html" is automatically added to the front of the link in DW if I create the link with any of the GUI tools, if I have "site root relative" selected. And ""/public_html" ends up in the code, and gets uploaded that way to the server, where it (obviously) doesn't work.
Doesn't sound like it is supposed to work this way. Also, what seems to be the usual root relative format (/images/image.jpg) shows as a broken link in the GUI and an external link in the DW link check. All this togther makes me thinkI have some obscure setting incorrect?
The setting that caught my eye is manage sites/ site setup/ advance settings/ local info/ web url, which is automatically set to http://www.oasisdesign.net/public_html/
it gives an option to change it but it makes every effort to make this NOT look like something users should mess with:
Having gone through the more careful thought process during this post, I'm ready to do the experiment of changing the remote server web URL (why is it wrong by default?)...think I'll eat dinner first so there's 45 min to avert disaster if anyone knows this to be a bad idea!
Art
PS--don't have a local testing server...don't think this will solve the GUI broken link/ link shows as external problems.
Is there an easy, automated way to change links sitewide from document to root relative? -
How to Create a Table with Merge and partitions in HANA
Hi,
What is the best way to create a Table with MERGE and PARTITION and UNLOAD PRIORITIES.
Any body can you please give me some examples.
Regards,
DevaOk,
1) the UNLOAD PRIORITY has nothing to do with the order of data loads in your ETL process
2) Unloading of columns will happen automatically. Don't specify anything specific for the tables, then SAP HANA will take care about it
3) Not sure where you get your ideas from, but there is no need to manually "flush" tables or anything like that. SAP HANA will take care of memory housekeeping.
4) Partitioning and how to specify it for tables has been largely documented. Just read up on it.
5) Delta Merge will happen automatically, as long as you don't prevent it (e.g. by trying to outsmart the mergedog rules)
Seriously, I get the impressions that this list of requirements is based on some hear-say and lack of actual information and experience with SAP HANA. There are a couple of extensive discussions on data loading optimization available here in SCN and on SAPHANA.COM. Please read those first.
All this had been discussed broadly a couple of times.
- Lars -
how to make a selection of a layer delete content and paste another content with Photoshop scripting..?
There is a more specific Forum …
Photoshop Scripting -
Has anyone figured out how to make the Yamaha 01V96i mixer work with Logic 9.1.8
Has anyone figured out how to make the Yamaha 01V96i mixer work with Logic 9.1.8 as a control surface ?
In YAMAHA01v96i:
Go to DIO/SETUP select Generic DAW. Go to MIDI settings page and set the desired port (personally I use Number 1), Select the same audio frequency you use in your DAW (I use 44.1KhZ)...at this point You should save a scene in you 01V96i to avoid to repeat all the procedure again.
Open studio manager, go to patch and set the input port from 17 to 32 respectively to USB1-USB16 (this will give you the return from you DAW to the 01v96i
Save again the scene overwriting the old one.
in LOGIC
Click on preferences, select Audio then select 01v96i, then click on control surface and select Mackie design Baby HUI and in the midi session set the same port that you've been setting on the Yamaha 01V96i (Port 1 if you follow this example).
That's more or less it.
It worked for me...so far -
Hi. I have a 2008 macbook pro 15.4 inch. Not abused but the hinge is stiff and the lid/ screen is starting to de-laminate at the bottom edge. Any ideas on how to make the hinge work a little more freely and how to re-seal the screen to the lid?
When you have kernel panics, the pertinent information is in the panic report.
These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad and start typing the name.
In the Console window, select
DIAGNOSTIC AND USAGE INFORMATION ▹ System Diagnostic Reports
(not Diagnostic and Usage Messages) from the log list on the left. If you don't see that list, select
View ▹ Show Log List
from the menu bar.
There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of reports. A panic report has a name that begins with "Kernel" and ends in ".panic". Select the most recent one. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
If you don't see any reports listed, but you know there was a panic, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
Please don’t post other kinds of diagnostic report.
I know the report is long, maybe several hundred lines. Please post all of it anyway. -
Upload text file to oracle table with checking and aggregation
Hi Friends,
I am new to ODI. I have encountered a problem which is specific to ODI 11G (11.1.1.6.3) to upload text file to oracle table with checking and aggregation. Would you please teach me how to implement the following requirement in ODI 11G?
Input text file a:
staffCode, staffCat, status, data
input text file b:
staffCodeStart, staffCodeEnd, staffCat
temp output oracle table c:
staffCat, data
output oracle table d:
staffCat, data
order:
a.staffCode, a.staffCat, a.status
filter:
a.status = ‘active’
join:
a left outerjoin b on a.staffCode between b.staffCodeStart and b.staffCodeEnd
insert temp table c:
c.staffCat = if b.staffCat is not null then b.staffCat else a.staffCat
c.data = a.data
insert table d:
if c.staffCat between 99 and 1000 then d.staffCat = c.staffCat, d.data = sum(c.data)
else d.staffCat = c.staffCat, d.data = LAST(c.data)
Any help on fixing this is highly appreciated. Thanks!!
Thanks,
ChrisDear Santy,
Many thanks for your prompt reply. May I have more information about the LAST or SUM step?
I was successful to create and run the following interfaces p and q
1. Drag text file a to a newly created interface panel p
2. Filter text file a : a.status = ‘active’
3. Lookup text file a to text file b : a.staffCode between b.staffCodeStart and b.staffCodeEnd
4. Drag oracle temp table c to interface panel p
5. Set c.staffCat : CASE WHEN b.staffCat IS NULL THEN a.staffCat ELSE b.staffCat END
6. Set c.data : a.data
7. Drag oracle temp table c to a newly created interface panel q
8. Drag oracle table d to interface panel q
9. Set UK to d.staffCat
10. Set Distinct Rows to table d
11. Set d.staffCat = c.staffCat
12. Set d.data = SUM(c.data)
However, the interface q should be more than that:
If c.staffCat is between 99 and 1000, then d.data = the last record c.data; else d.data = sum(c.data)
Would you please teach me how to do the LAST or SUM steps? Moreover, can interface p and interface q be combined to one interface and do not use the temp table c? Millions thanks!
Regards,
Chris -
Runtime error in Dynamic internal table with AMOUNT and Quantity Fields..
Dear friends,
I am attempting write a dymanic Select Statement (with joins).
And the sleect query looks like this..
SELECT (LT_SEL_LIST)
INTO CORRESPONDING FIELDS OF
TABLE <DYN_TABLE>
FROM (LT_FROM_LIST)
WHERE (LT_WHERE3).
Here the into table is a dynamically created internal table..
which is created by ...this
CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
EXPORTING
IT_FIELDCATALOG = IT_OUTPUT2[]
IMPORTING
EP_TABLE = DY_TABLE.
the it_output2 contains the the fieldcatlog information of dynamically given fields :-
like:-
TABNAME
FIELDNAME
DATATYPE
LENG
INTTYPE
ROLLNAME
DECIMALS
REFTABLE
REFFIELD
i mean the internal table is constructed with reference to all the bove metadata.
Problem:- This query run fine with all the fields Except AMOUNT AND QUANTITY fields....
When the selection list contain VBAK-NETWR or MSEG-MENGE..It throws a runtime error.
"The data read during a SLECT access couldnt be inserted into the target field,either conversion is not supported for
the target field's type or the target field is too short."
after this I even tried to construct the dynamic table with CFILEDNAME and QFIELDNAME in the Fieldcatalog.
so now my fieldcatlog looks like this:---
LOOP AT IT_DD03L..
IF IT_DD03L-DATATYPE = 'CURR'.
TABLEFIELD-CFIELDNAME = IT_DD03L-FIELDNAME .
ENDIF.
IF IT_FIELDCAT3-DATATYPE = 'QUAN'.
TABLEFIELD-QFIELDNAME = IT_DD03L-FIELDNAME .
ENDIF.
TABLEFIELD-TABNAME = IT_DD03L-TABNAME.
TABLEFIELD-FIELDNAME = IT_DD03L-FIELDNAME.
TABLEFIELD-DATATYPE = IT_DD03L-DATATYPE.
TABLEFIELD-INTLEN = IT_DD03L-LENG.
TABLEFIELD-INTTYPE = IT_DD03L-INTTYPE .
TABLEFIELD-ROLLNAME = IT_DD03L-ROLLNAME.
TABLEFIELD-DECIMALS = IT_DD03L-DECIMALS.
TABLEFIELD-REF_TABLE = IT_DD03L-REFTABLE.
TABLEFIELD-REF_FIELD = IT_DD03L-REFFIELD.
APPEND TABLEFIELD.
CLEAR TABLEFIELD.
ENDLOOP.
Note:- this is a test code so ignore performance issues...
Please help me with some code ...to avoid the Runtime erorr.
Thanks,
jeevan.Hi Jeevan,
Why are moving only few fields from DD03L table to your field catalog? Why don't you use move-corresponding? The following code works for me in ECC6.0.
data: it_dd03l type table of dd03l initial size 0,
ls_dd03l type dd03l,
lt_fldcat TYPE lvc_t_fcat,
ls_fldcat TYPE lvc_s_fcat,
ls_where(72) TYPE c,
lt_where LIKE TABLE OF ls_where,
lt_fld LIKE TABLE OF ls_where,
lt_data_dy TYPE REF TO data.
field-symbols: <ft_data> TYPE STANDARD TABLE.
select * into table it_dd03l from dd03l
where tabname = 'VBAK'
and ( fieldname = 'VBELN' or fieldname = 'NETWR' ).
check sy-subrc eq 0.
loop at it_dd03l into ls_dd03l.
move-corresponding ls_dd03l to ls_fldcat.
append ls_fldcat to lt_fldcat.
move ls_dd03l-fieldname to ls_where.
append ls_where to lt_fld.
if ls_dd03l-fieldname = 'VBELN'.
clear ls_where.
concatenate ls_dd03l-fieldname ' <> ''''' into ls_where.
append ls_where to lt_where.
endif.
endloop.
check not lt_fldcat is initial.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = lt_fldcat
IMPORTING
ep_table = lt_data_dy
EXCEPTIONS
generate_subpool_dir_full = 1
OTHERS = 2.
IF sy-subrc <> 0.
RAISE no_configuration_data.
ENDIF.
ASSIGN lt_data_dy->* TO <ft_data>.
check sy-subrc eq 0.
select (lt_fld) from VBAK into corresponding fields of table
<ft_data>
where (lt_where).
Thanks
Bala -
Internal table with Dynamic and Non dynamic fileds
Hi Experts,
How to get the internal table with Dynamic and Non-Dynamic Fields.
Could u please help me.
Thanks,
VarunHi,
Execute the below sample code or analyze it there is appropriate description provided.
*& Report ZTEST_PRM_DYN_ALV
REPORT ZTEST_PRM_DYN_ALV.
type-pools: slis.
field-symbols: <dyn_table> type standard table,
<dyn_wa>.
data: alv_fldcat type slis_t_fieldcat_alv,
it_fldcat type lvc_t_fcat.
selection-screen begin of block b1 with frame title text-001.
parameters: p_flds(5) type c.
selection-screen end of block b1.
start-of-selection.
*build the dynamic internal table
perform build_dyn_itab.
*write 5 records to the alv grid
do 5 times.
perform build_report.
enddo.
*call the alv grid.
perform call_alv.
*Build_dyn_itab
form build_dyn_itab.
data: new_table type ref to data,
new_line type ref to data,
wa_it_fldcat type lvc_s_fcat.
*Create fields .
clear wa_it_fldcat.
wa_it_fldcat-fieldname = 'name1'.
wa_it_fldcat-datatype = 'mara-matnr'.
wa_it_fldcat-intlen = 5.
append wa_it_fldcat to it_fldcat .
*clear wa_it_fldcat.
wa_it_fldcat-fieldname = sy-index.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 5.
append wa_it_fldcat to it_fldcat .
do p_flds times.
clear wa_it_fldcat.
wa_it_fldcat-fieldname = sy-index.
wa_it_fldcat-datatype = 'CHAR'.
wa_it_fldcat-intlen = 6.
append wa_it_fldcat to it_fldcat .
enddo.
*Create dynamic internal table and assign to FS
call method cl_alv_table_create=>create_dynamic_table
exporting
it_fieldcatalog = it_fldcat
importing
ep_table = new_table.
assign new_table->* to <dyn_table>.
*Create dynamic work area and assign to FS
create data new_line like line of <dyn_table>.
assign new_line->* to <dyn_wa>.
endform.
*Form build_report
form build_report.
data: fieldname(20) type c.
data: fieldvalue(5) type c.
data: index(3) type c.
field-symbols: <fs1>.
do p_flds times.
index = sy-index.
*Set up fieldvalue
concatenate 'FLD' index into
fieldvalue.
condense fieldvalue no-gaps.
assign component index of structure <dyn_wa> to <fs1>.
<fs1> = fieldvalue.
enddo.
*Append to the dynamic internal table
append <dyn_wa> to <dyn_table>.
endform.
*CALL_ALV
form call_alv.
data: wa_cat like line of alv_fldcat.
*clear wa_cat.
wa_cat-fieldname = 'matnr'.
wa_cat-seltext_s = sy-index.
wa_cat-outputlen = '10'.
append wa_cat to alv_fldcat.
do p_flds times.
clear wa_cat.
wa_cat-fieldname = sy-index.
wa_cat-seltext_s = sy-index.
wa_cat-outputlen = '6'.
append wa_cat to alv_fldcat.
enddo.
*Call ABAP List Viewer (ALV)
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
it_fieldcat = alv_fldcat
tables
t_outtab = <dyn_table>.
endform.
Hope this will help, reward if found usefull.
Cheers,
Ram. -
How can I get max, min & average (hours with minutes) of fast 30 days data
Table name:
run_log
TYPE VARCHAR2(10),
SUBTYPE VARCHAR2(10),
PROGRAM VARCHAR2(100),
STATUS VARCHAR2(20),
START_TIME DATE,
END_TIME DATE
How can I get max, min & average (hours with minutes) of fast 30 days data ?Hi,
you have to use analytical functions:
SELECT start_day,
round(AVG(daily_avg)
over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_avg,
round(MAX(daily_max)
over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_max,
round(MIN(daily_min)
over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_min
FROM (SELECT trunc(t.start_time) start_day,
AVG((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_avg,
MAX((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_max,
MIN((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_min
FROM run_log
GROUP BY trunc(t.start_time)) t
ORDER BY 1 DESCAnalytical functions are described in the Oracle doc "Data Warehousing Guide".
Regards,
Carsten. -
Strange behavior in a table with dropTarget and delete action
I am having a strange behavior in a table with drag and drop and action component to delete row.
Steps:
Drag the first row to the table and appears in the destination table (works well)
Select and change the value by 156, appears an error (works fine)
delete the row, the row disappears (works well)
Add the first row again and the value is 156 instead of 158 (why ????)
I guess the error is the deletion that is not correct, but do not know how?
Can anyone help?
I add the source code if you see where I'm wrong
Java class:
+public class BeanExample {+
private ArrayList<RowExample> starttValues;
private ArrayList<RowExample> endValues;
+public BeanExample() {+
super();
+}+
+public void setStarttValues(ArrayList<BeanExample.RowExample> starttValues) {+
this.starttValues = starttValues;
+}+
+public ArrayList<BeanExample.RowExample> getStarttValues() {+
+if (starttValues == null) {+
starttValues = new ArrayList<BeanExample.RowExample>();
starttValues.add(new RowExample("1", new Number(158)));
starttValues.add(new RowExample("21", new Number(12565464)));
+}+
return starttValues;
+}+
+public void setEndValues(ArrayList<BeanExample.RowExample> endValues) {+
this.endValues = endValues;
+}+
+public ArrayList<BeanExample.RowExample> getEndValues() {+
+if (endValues == null) {+
endValues = new ArrayList<BeanExample.RowExample>();
+}+
return endValues;
+}+
+public void validatorExample(FacesContext facesContext, UIComponent uIComponent, Object object) {+
Number number = (Number)object;
+if ((number.longValue() % 2) == 0) {+
FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_ERROR, "ES PAR", "ES PAR");
throw new ValidatorException(message);
+}+
+}+
+public DnDAction handleDrop(DropEvent dropEvent) {+
Transferable transferable = dropEvent.getTransferable();
DataFlavor<RowKeySet> rowKeySetFlavor = DataFlavor.getDataFlavor(RowKeySet.class, "loteDrag");
RowKeySet rowKeySet = transferable.getData(rowKeySetFlavor);
+if (rowKeySet != null) {+
CollectionModel dragModel = transferable.getData(CollectionModel.class);
+if (dragModel != null) {+
Object currKey = rowKeySet.iterator().next();
dragModel.setRowKey(currKey);
RowExample table = (RowExample)dragModel.getRowData();
getEndValues().add(new RowExample(table.getId(), table.getValue()));
return dropEvent.getProposedAction();
+}+
+}+
return DnDAction.NONE;
+}+
+public void borrarFila(ActionEvent actionEvent) {+
endValues.remove(0); RequestContext.getCurrentInstance().addPartialTarget(FacesContext.getCurrentInstance().getViewRoot().findComponent("pc1:t2"));
+}+
+public static class RowExample {+
private String id;
private Number value;
+public RowExample(String id, Number value) {+
super();
this.id = id;
this.value = value;
+}+
+public void setId(String id) {+
this.id = id;
+}+
+public String getId() {+
return id;
+}+
+public void setValue(Number value) {+
this.value = value;
+}+
+public Number getValue() {+
return value;
+}+
+}+
+}+JSF
+<?xml version='1.0' encoding='windows-1252'?>+
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"+
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
+<jsp:directive.page contentType="text/html;charset=windows-1252"/>+
+<f:view>+
+<af:document id="d1">+
+<af:form id="f1">+
+<af:panelGroupLayout id="pgl1">+
+<af:table value="#{beanExample.starttValues}" var="row"+
rowBandingInterval="0" id="t1" rowSelection="single"
displayRow="selected" contentDelivery="immediate">
+<af:column sortable="false" headerText="Id" align="start" id="c2">+
+<af:outputText value="#{row.id}" id="ot1"/>+
+</af:column>+
+<af:column sortable="false" headerText="Value" align="start" id="c1">+
+<af:outputText value="#{row.value}" id="ot2"/>+
+</af:column>+
+<af:collectionDragSource actions="COPY" modelName="loteDrag"/>+
+</af:table>+
+<af:panelCollection id="pc1">+
+<f:facet name="toolbar" >+
+<af:toolbar id="dc_t2" >+
+<af:commandToolbarButton shortDesc="Delete"+
icon="/imagesDemo/delete_ena.png"
id="dc_ctb3" immediate="true"
+actionListener="#{beanExample.borrarFila}"/>+
+</af:toolbar>+
+</f:facet>+
+<af:table value="#{beanExample.endValues}" var="row"+
+rowBandingInterval="0" id="t2">+
+<af:column sortable="false" headerText="Id" align="start" id="c3">+
+<af:outputText value="#{row.id}" id="ot3"/>+
+</af:column>+
+<af:column sortable="false" headerText="Value" align="start" id="c4" >+
+<af:inputText value="#{row.value}" autoSubmit="true" id="it1" validator="#{beanExample.validatorExample}"/>+
+</af:column>+
+<af:collectionDropTarget actions="COPY" modelName="loteDrag"+
+dropListener="#{beanExample.handleDrop}"/>+
+</af:table>+
+</af:panelCollection>+
+</af:panelGroupLayout>+
+</af:form>+
+</af:document>+
+</f:view>+
+</jsp:root>+I think the problem is the validator
I changed the practical case, I added an InputText to enter new values in the first row.
+<af:inputText immediate="true" label="new value" id="it2"+
+valueChangeListener="#{beanExample.newvalue}" autoSubmit="true"/>+
+public void newvalue (ValueChangeEvent valueChangeEvent) {+
+String valor = (String)valueChangeEvent.getNewValue();+
+Number valorNumber=null;+
+try {+
+valorNumber = new Number (valor);+
+} catch (SQLException e) {+
+}+
+RowExample example = (RowExample) endValues.get(0);+
+example.setValue(valorNumber);+
+example.setId(valorNumber.toString());+
+RichTable table = (RichTable)FacesContext.getCurrentInstance().getViewRoot().findComponent(id);+
+RequestContext.getCurrentInstance().addPartialTarget(table);+
+}+
Case 1
I drag the first row to the target table (ok)
The new row appears (ok)
Enter the value 77 in the InputText (ok)
id content and value change (ok)
Case2
I drag the first row to the destination table
The new row appears (ok)
Change the value of the first row by 80 (ok)
errors appears (by validator) (ok)
Enter the value 77 in the InputText (ok)
the id is changed but the value NO (*KO*)
I do not understand the behavior
Edited by: josefuente on 27-oct-2010 16:03 -
How to send a e-mail from folio with subj and text
Hello!
I need send an e-mail from folion. I knew how to make hypperlink but a need not only subj and address. I need a text there. Can somebody explain how it's should be?
Best regardsYou can make an object have a mailto: hyperlink that has subject and body variables included.
It would look like this:
mailto:[email protected]?subject=Subject-text-goes-here&body=Body-text-goes-here
Fill in the variables with your own text, and make sure to replace spaces in your subject and body text with figure dashes. -
How do I use my apple bluetooth keyboard with touch and will I still be able to use it with my ipad?
iPod touch User Guide (For iOS 4.3 Software)
Maybe you are looking for
-
Bridge CS4 attempt to Refresh Preview or Save output causes crash in Mac OS 10.8.2
Ever since installing Mountain Lion, I can no longer create contact sheets in Adobe Bridge CS4, which I was always able to do before installing ML. As soon as I press "Refresh Preview," or just try to SAVE the Output (PDF) without refreshing the prev
-
TS4002 how do you save email attachments on the ipad?
how do you save email attachments on the ipad? particularly ebooks sent via email
-
Is Verizon still selling DSL services these days?
I am in a new place that used to have slow DSL with Verizon, but it is no longer available when I try to order. I know Verizon won't deploy more FIOS and does offer expensive capped cellular Internet. Landline would be nicer beside very slow dial-up.
-
Connecting to personal oracle8 using connection wizard in jdeveloper3.0
i am trying to connect to oracle8 using jdbc using connection wizard in jdeveloper3.0 but when i test the connection i gives an error "no ocijdbc8 in shared library path" please help me out.
-
Image icons missing from ADF faces selectManyShuttle?
Hi all, I'm using <af:selectManyShuttle and it works great, but I noticed it looks a lot different from the examples on http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/index.html (all I get is text, no cool images) Also the ADF fac