ADF-UIX- How to populate multiple input fields from an lov?
Like in Forms Developer where using an LOV we can populate multiple tex input items on selection of a value from the LOV, is it possible for us to do the same in ADF UIX.
Iam usiing JDeveloper 10.1.2
Have a look at this previous post:
Re: Can return messageLovinput more than one value?
Similar Messages
-
How to keep the input field from PDF Form to RTF
Hi,
I'm looking to keep the input fields from my pdf form document to Rtf so I can use them in my Rtf document.
Regards,
AlanGood day Alan,
I'm afraid that's not possible as form fields in a PDF file have no equivalent either in a Word format (.docx/.doc) or within the Rich Text Format (.rtf). That data is simply stripped during the conversion as there's no equivalent available.
Kind regards,
David
Acrobat Community Manager
Adobe Systems -
How to populate data in fields from the same cube
HI Gurs,
Need some help. I have a cube it has 11 key figures . Data for 7 of those is coming from another cube for rest of the 4 we need to calculate from two of those 7 fields. e.g.
Field 1= Field2(First Cube) - Field3(FirstCube)
Field4= Field5(FirstCube)/1.5
Field 6 = Field1 / Field4
I need to pupulate field 4 in the final cube.
How can I achieve this?
Can anyone please suggest anything?Hi Ray,
One is as suggested by surendra i.e to populate thru End routine,take help of an ABAPer and do it.
Else just add the new 4 KF in the New Cube i.e Cube 2 and in the Individual Routine /Field Routine you can write the same Formula in the Result of it.Say,For Fields 1 you have to have Field 2,Field 3 and Field 5 as input ,which you hvae include manually in the Individual/Field Routine.
In Result for Field 1= Field2(First Cube) - Field3(FirstCube)
In Result for Field4= Field5(FirstCube)/1.5
In Result for Field 6 = (Field2(First Cube) - Field3(FirstCube) / Field5(FirstCube)/1.5)
Hope you got it ....
Rgds
SVU123 -
Hi,
I create a dropdowlist on a JSP based on a list of items I type in. It's called " fixed List" I think instead of dynamic list which is from a DB table.
In order to add a valuechangedlistener to the dropdownlist, I need to get the real value of the selected item on the list. I've changed the autosumit to true. Use this line I can get an object of a FaceCtrlListBinding.
FacesCtrlListBinding TdIter = (FacesCtrlListBinding)bc.get("LandLegalView1Td");
When value changed, I get only get the new index of the selected item. I tried to use TdIter.getAttributeValue(index) and it returns me null. I also tried TdIter.getAttributeFromRow(index,"Td") and it returns me null, too.
Could someone share some idea, Please? Thank you very much.
Regards,
AnnieFrank,
Thank you very much for your reply. I've set "valuePassThrough" property of the dropdownlist to true. In the valueChangeListener, my code looks like this.
public void TD_valueChangeListener(ValueChangeEvent valueChangeEvent) {
System.out.println("+++++++++");
System.out.println("TD_valueChangeListener");
Number n = null;
BindingContainer bc = this.getBindings();
if(bc != null){
System.out.println("bc is not null");
//get the selected TD
FacesCtrlListBinding TdIter = (FacesCtrlListBinding)bc.get("LandLegalView1Td");
if(TdIter != null){
System.out.println("TdIter is not null");
if(valueChangeEvent.getNewValue() != null)
try{n = new Number(valueChangeEvent.getNewValue());}
catch(Exception e){
e.getMessage();
System.out.println("selected TD index="+n);
//Object td = TdIter.getAttributeFromRow(n.intValue(), "Td");
Object td = TdIter.getAttribute(n.intValue());
System.out.println("real value of td=" + td);
}else{
System.out.println("TD is null");
}else{
System.out.println("TdIter is null");
My question here is: I tried two ways of getting the real value of the new selected value. One is "Object td = TdIter.getAttributeFromRow(n.intValue(), "Td");". The other is "Object td = TdIter.getAttribute(n.intValue());". None of them give me the new selected value but the old value. Did I do anything wrong?
Regards,
Annie -
How to get multiple selected fields in list
Hello all,
I am trying to get multiple selected value from a list but i dont know how to get multiple selected fields from a list though AS3.
Actually i want to pass the selected fields to php, so for that i need to get the selections and send to php.
Thankx..i want to put the selected fields of list in an array through AS3....
actually......i figured it out how to do that...........
Its simple......use
list.selectedItems[index]
and to get the number of items selected......
list.selectedItems.length
simple..... -
How to populate multiple entries to Bapi Table
Hi all,
How to populate multiple entries to Bapi Table.....
Here is the code(in component controller)
Z_Recr_Apply_Point_Input request = new Z_Recr_Apply_Point_Input(WDModelScopeType.TASK_SCOPE);
int size = wdContext.nodeApplicants().size();
for(int i = 0 ; i < size ; i++)
String isselected = wdThis.wdGetContext().nodeApplicants().getElementAt(i).getAttributeAsText("Appl_Number");
if(isselected == "true")
com.models.veteranpoint.Zrecr_Aplno appid = new
com.models.veteranpoint.Zrecr_Aplno();
appid.setAppl_Number(wdContext.nodeApplicants().
getApplicantsElementAt(i).getAppl_Number());
request.addApplicants(appid);
I want to pass the selected input field to bapi..
Please tel me where i pass the input field...
Please correct my code...
Thanks & regards
Mathi sHi,
Steps to insert multiple entries to BAPI table.
1.Create an instance for BAPI input
2.Bind the instance to the Node of the BAPI input
3.Create instance of the Structure(BAPI table) to which input has to be added.
4.Set the input values to the Structure instance.
5.Add the instance to the BAPI input.
6.Execute
From the given example,I assume Z_Recr_Apply_Point_Input is the BAPI Input and com.epiuse.us.recruitment.models.veteranpoint.Zrecr_Aplno as Structure
Step 1:
Z_Recr_Apply_Point_Input request = new Z_Recr_Apply_Point_Input(WDModelScopeType.TASK_SCOPE);
Step 2:
<b>wdContext.nodeZ_Recr_Apply_Point_Input.bind(request);</b>
Steps 3 & 4:
int size = wdContext.nodeApplicants().size();
for(int i = 0 ; i < size ; i++)
String isselected = wdThis.wdGetContext().nodeApplicants().getElementAt(i).getAttributeAsText("Appl_Number");
if(isselected == "true")
com.epiuse.us.recruitment.models.veteranpoint.Zrecr_Aplno appid = new
com.epiuse.us.recruitment.models.veteranpoint.Zrecr_Aplno();
appid.setAppl_Number(wdContext.nodeApplicants().
getApplicantsElementAt(i).getAppl_Number());
<b>wdContext.currentZ_Recr_Apply_Point_InputElement().modelObject().addRecr_Aplno(appid);</b>
Step 5:
<b>wdContext.currentZ_Recr_Apply_Point_InputElement().modelObject().execute();</b>
Regards,
Viji Priya -
How to populate the TEXT field in MIGO
Hi folks,
While creating material document in MIGO or MB01, i am inserting some data in TEXT ( Field in line item level ). This text data is disappearing , once mat doc is created.
how to populate the TEXT field in MIGO?Is there any cusomisation?it's urgent .
Regards
pabiHello Pabitra,
I had a similar issue in my Project.
Please verify if the SMOD enhancement MBCF0002 (EXIT_SAPMM07M_001) is active in your system.
If this is the case, verify from two angles:
a) Whether the Enhancement was accidentally activated - If yes, then De-activate the same
b) If there is some logic coded in the User Exit, but, the Text is somehow not determined...even the existing content in the text field (input to EXIT_SAPMM07M_001) will get vanished.
Hope that your problem will be resolved by this. Pls reward points.
With Regards
Vijay Gajavalli -
How to Enter multiple inputs at a time in Form or Table
Hi,
I have one doubt in Webdynpro with java. How to enter multiple inputs at a time?
For Exam My requirement is we will take employee details node under node empid, name, sal etc some attributes is here
Client asking like this enter multiple inputs at a time that data will saved in ECC System.
1. By using form how can enter enter multiple inputs at a time I donu2019t this so I will take table(here I will select input fileds). If any possible in form also tell me how I can enter multiple inputs at a time.
In table suppose 6 rows available So He will enter
empid, name, sal ,firstname, last Name
empid, name, sal ,firstname, last Name
empid, name, sal ,firstname, last Name
Like 6 time Click Submit. That data will save in ECC.
So I was taken table. But in that Table only first row will be editable. I want all 6 will editable that time he will put data in rows then click on submit.
How to editable these remaining rows? if u have any documents pls send me.
Regards
Vijay KalluriDear Vijay,
To enter multiple inputs in a table and to make the other rows editable you have to provide that node with initial values.
by initial values I mean you have to make that much space in your table node.
For example the name of Node is yourNode & you have empid, name, sal ,firstname, last Name
attributes in that node, and you have to make 6 rows editable.
Then, simply write this code in you wdDoinit() method of your view controller.
IPrivateYourView.IYourNodeElement e ;
for(int i = 0 ; i < 6 ; i++ )
e = wdContext.nodeYourNode().createYourNodeElement();
e.setAttributeValue("empid" , "") ;
e.setAttributeValue("name" , "") ;
e.setAttributeValue("sal" , "") ;
e.setAttributeValue("firstname" , "") ;
e.setAttributeValue("lastname" , "") ;
wdContext.nodeOverTimeEnty().addElement(e) ;
Change YourView with your view name & YourNode with your node name.
If you have any problem in doing this you can revert back.
Hope it helps!!
Warm Regards
Upendra Agrawal -
In BSP how to give the input field as mandatory?
Hi friends,
In BSP how to give the input field as mandatory?
In BSP i want to validate the input field (example checking the material no is valid or not)
if this material no doesnot exit means i want to pass error message.What is the code for that.
Moosahi
try this
in LAYOUT
<htmlb:inputField id = "vname" disabled = "False" value = "<%= v_visitor %>"/> <font color="red" size="2"><b><%= page->messages->assert_message( 'vname' ) %></b></font></td>
in DO_HANDLE_EVENT
in oninputprocessing
CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
IF event_id = CL_HTMLB_MANAGER=>EVENT_ID.
DATA: event TYPE REF TO CL_HTMLB_EVENT.
event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
IF event->name = 'button' AND event->event_type = 'click'.
DATA: button_event TYPE REF TO CL_HTMLB_EVENT_BUTTON.
button_event ?= event.
ENDIF.
case event->id.
when 'select'.
if v_visitor = ''.
page->messages->add_message(
condition = 'vname'
message = 'Visitor Name can not be blank'
severity = page->messages->CO_SEVERITY_ERROR ).
ELSE.
here u can write ur when ur field getting filled
endif.
endcase.
endif.
give marks if it is helpful
thanks -
How do we validate input fields on the selection screen
How do we validate input fields on the selection screen
hi balram,
u can validate input fields using <b>AT SELECTION-SCREEN</b> Event.
PARAMETERS : p_werks TYPE marc-werks.
AT SELECTION-SCREEN ON p_werks.
SELECT SINGLE *
FROM t001w
WHERE werks = p_werks.
IF sy-subrc <> 0.
MESSAGE 'Invalid Plant' TYPE 'I'.
ENDIF.
Like this, we can validate user input for plant.
check this link:
http://help.sap.com/saphelp_nw04s/helpdata/en/9f/db9a2e35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm
Reware me if useful......
Harimanjesh AN -
How to put an input field in ALV
hi
how to put an input field in ALVHi
There are 2 ways wherein you can make a field as input enabled.
One is by setting the edit = 'X' in the fieldcatalog for that field.
Loop at l_fcat.
if l_fcat-fieldname = 'FIELD'.
l_fcat-edit = 'X'.
modify l_fcat.
endif.
Endloop.
Second method is by using Styles by which you enable a field, disable a field or make it a pushbutton etc..Using Styles can be found in any basic document on ALV.
Regards
Navneet -
Start Routine to Populate Account Group Field from Master data of 0Customer
Hello Friends. Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
Start Routine to Populate Account Group Field from Master data of 0Customer. I do not want to use read from master data functionality since that field 0customer is not there in dso but similar field 0debitor is there. so i want to put this code
during the load from source DSO to Target DSO.
Error Explicit length specifications are necessary with types C, P, X, N und
DATA: L_S_DP_LINE TYPE DATA_PACKAGE_sTRUCTURE.
types: begin of comp,
CUSTOMER type /BI0/OICUSTOMER,
ACCNT_GRP type /BI0/OIACCNT_GRP,
end of comp.
DATA: l_S_comp type comp.
DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer INITIAL SIZE 0.
IF L_th_COMP[] IS INITIAL.
SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING FIELDS OF TABLE L_th_COMP.
ENDIF.
LOOP AT SOURCE_PACKAGE INTO L_S_DP_LINE.
READ TABLE L_TH_COMP INTO L_S_COMP WITH TABLE KEY CUSTOMER = L_s_DP_LINE-CUSTOMER
IF SY-SUBRC = 0.
L_S_DP_LINE-/BIC/ACCNT_GRP = L_S_COMP-/BIC/ACCNT_GRP.
MODIFY SOURCE_PACKAGE FROM L_S_DP_LINE.
ENDIF.
ENDLOOP.
soniya kapoor
Message was edited by:
soniya kapoorHello Wond Thanks for Good Answer and good option, But Client does not like this option and does not like Nav Attribute so he does not want to turn on any Nav Attribute, In general also We hav requirement to read a third table while uploading 1 dso table to 2 dso table,
so Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
Start Routine to Populate Account Group Field from Master data of 0Customer.
No syntax Error But during the load it is updating the source table and not the target table. how to define now target table.
***SOURCE DSO Table
types: begin of typ_tgl1.
include type /BIC/AZDAFIAR000.
types: end of typ_tgl1.
types: begin of comp,
CUSTOMER type /BI0/OICUSTOMER,
ACCNT_GRP type /BI0/OIACCNT_GRP,
end of comp.
DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer
INITIAL SIZE 0.
data: wa_itab type COMP.
data: wa_zdtg type typ_tgl1.
IF L_th_COMP[] IS INITIAL.
***Master Data Table
SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING
FIELDS OF TABLE L_th_COMP.
sort L_th_COMP by CUSTOMER.
ENDIF.
LOOP AT L_th_COMP into wa_itab.
select * from /BIC/AZDAFIAR000 into wa_zdtg
where DEBITOR eq wa_itab-CUSTOMER. *** SOURCE DSO Table
IF SY-SUBRC = 0.
wa_zdtg-ACCNT_GRP = wa_itab-ACCNT_GRP.
MODIFY /BIC/AZDAFIAR000 from wa_zdtg. *** modify SOURCE DSO Table
ENDIF.
endselect.
endloop.
soniya kapoor -
How do I pass input values from a html page to a jsf page
hi,
In my project,for front view we have used html pages.how can I get input values from that html page into my jsf page.for back end purpose we have used EJB3.0
how can I write jsf managed bean for accessing these entities.we have used session facade design pattern and the IDE is netbeans5.5.
pls,help me,very urgent
thanx in advanceSimplest way is to rewrite html page into jsf page.
You can use session bean in your managed bean like this:
import javax.naming.Context;
import javax.naming.InitialContext;
public class ManagedBean {
private Context ctx;
private Object res;
// session bean interface
private Service service;
public ManagedBean() {
try{
ctx = new InitialContext();
res = ctx.lookup("Service");
service = (Service) res;
catch(Exeption e){
}Message was edited by:
m00dy -
How to delete multiple email messages from my Iphone 5c; email folder?
How to delete multiple email messages from my Iphone 5C; email folder.
there used to be option to keep last 50,100,200 messages/emails. We need that back. This is ridiculous to delete one by one.
-
How to call multiple strus actions froma single jsp
how to call multiple strus actions froma single jsp, and that actions should be automatically called pls help me
Thanks in advancehow to call multiple strus actions froma single jsp, and that actions should be automatically called pls help me
Thanks in advance
Maybe you are looking for
-
Why can't I use the column browser on my playlists?
I use large playlists to load my ipods, ipads and apple tvs. The column browser use in playlists was a huge advantage in previous Itunes versions but is not available in Itunes 11.
-
Email list will not display individual addresses and names , only name of list.
First time user of lists. I created a new email list per help instructions-- created just fine. When I try to use it to write, no matter which methods I use, only the list name is displayed. It does send the email to all the addresses, but I want to
-
Ways to retrieve data into Jsp page on ComboBox (or any other event ) event
Hi all, I want to retrieve records from database and display it in Text field. Can any one tell me the ways to do it, i know i can do this by using javascript (javascript to submit the form), but i dont want to use javascript any where in my code, wh
-
SQL Developer will not start - no errors, no splash, nothing
Good morning! My company no longer has licenses to use Toad, so all new hires here are instructed to install SQL Developer in order to connect to our Oracle DBs. I happen to have worked here long enough to have Toad, but also have SQL Developer (w/JD
-
Performance problem in Numbers '08
It seems that Numbers is slowing down, and keyboard input lags by upwards of 10 seconds, just from having two sheets, each with only one table, but each of which has 175 rows. No other program on the system exhibits this (except Pages, which has a si