Problem in displaying dynamic values in dropdown list for each row
I want to display dynamic values in a drop down list for each row, and these values depends on the column value in each row(ptaid), based on each ptaid i need to fetch values for drop down list. so how can i achieve this..
Thanks
Babu
Babu,
This has been discussed in many old threads, try to find them. Also u can refer to article "Dependent Dynamic message choicelists ", at my blog
http://www.mukx.blogspot.com/
--Mukul
Similar Messages
-
how do I make a drop down list of text in numbers as it is made in the example spreadsheet for comparing cars for buying where you can choose a value from a dropdown list for each car?
Where is this example spreadsheet? Without seeing it I can only guess at what you are asking.
To make a drop-down list (a pop-up menu in Numbers-speak), format the cell as a pop-up then edit and add to the list of items.
If the example spreadsheet is pulling in a dollar value based on what car you chose in the pop-up, it is probably using LOOKUP or one of the other lookup functions, getting the information from another table (a lookup table). If, instead, these dollar values are what you are choosing in the pop-up, then you need to create a pop-up with these values in it.
The Help menu includes a link to a page where you can download the Numbers Users Manual. It also has a link to the Formulas and Functions guide. Both are useful to new users. -
Editable Inline Table with a Dropdown List in Each Row
Dear All,
I am using: JDev 10.1.3.3 + JSF + BC
I need to build a dropdown List in each row for a child table of an inline style. I used the SelectOneChoice and followed Steve Muench example (http://radio.weblogs.com/0118231/stories/2005/06/24/jdeveloperAdfScreencasts.html). I'm unable to get the result. It display the correct value but lose the dropdown style, rather it shows the result as an outputText style.
Can someone please help...
I've tried different way like the table binding by droping the column from the dataControl as a selectOneChoice and did the binding... didn't work.
This is what I have in the source page
<af:column headerText="Cust Id" sortable="false"
sortProperty="CustId"
id="column34">
<af:selectOneChoice value="#{detailRow.CustId}">
<af:forEach var="li"
items="#{bindings.customerLookupVO1.rangeSet}">
<af:selectItem value="#{li.CustId}"
label="#{li.CustText}"/>
</af:forEach>
</af:selectOneChoice>
</af:column>
In this is what I have in the page Def file
<table IterBinding="customerLookupVO1Iterator" id="customerLookupVO1">
<AttrNames>
<Item Value="CustId"/>
<Item Value="CustText"/>
</AttrNames>
</table>Hi,
looks ok except for: "#{detailRow.CustId}"
did you change the var property of the table? normally it would be "#{row.CustId}"
the fact that your select one choice is not displaying would suggest that there is a problem with the 'value' property of the component.
there is another problem you should be made aware of with ADF editiable tables. If you put anything other than input text components in the table you will have chronic locking problems with the page. Only one person can use that page or else you will get errors all over the page until the user holding the lock commits or signs off.
regards,
Brenden -
Update primary key with a tabular form based on a select list for each row
Hello!
I've two tables: Table1 with only one column (primary key) is a foreign key for table2.column1 (primary key). There is also a second primary key column in table2.
Now I want to change the primary key values in table2.column1 with a tabular form (MRU) based on a select list (LOV based on table1.column1) for each row.
The user should be able to choose for every row a new value from the select list to change the old primary key value at this position.
How can I do this with ApEx?
I've the tabular form and so on, but at the moment I get the following error:
"Error in mru internal routine: ORA-20001: Fehler in MRU: row= 1, ORA-20001: ORA-20001: Die aktuelle Version der Daten in der Datenbank wurde geändert, seit der Benutzer einen Update-Prozess eingeleitet hat. ..."
Thank you for your support!
KayHello!
I've two tables: Table1 with only one column (primary key) is a foreign key for table2.column1 (primary key). There is also a second primary key column in table2.
Now I want to change the primary key values in table2.column1 with a tabular form (MRU) based on a select list (LOV based on table1.column1) for each row.
The user should be able to choose for every row a new value from the select list to change the old primary key value at this position.
How can I do this with ApEx?
I've the tabular form and so on, but at the moment I get the following error:
"Error in mru internal routine: ORA-20001: Fehler in MRU: row= 1, ORA-20001: ORA-20001: Die aktuelle Version der Daten in der Datenbank wurde geändert, seit der Benutzer einen Update-Prozess eingeleitet hat. ..."
Thank you for your support!
Kay -
Displaying dynamic values in the list
hi
I have a list of usernames in the table and I want to display it on the list (not selection list)...when I click any usernames, the corresponding user details are to be displayed on the items..can anyone say how to display the usernames in the list by using the query? Is it possible to display the dynamic items(fetching from table) in the list? please help me...
regards
fazilaBabu,
This has been discussed in many old threads, try to find them. Also u can refer to article "Dependent Dynamic message choicelists ", at my blog
http://www.mukx.blogspot.com/
--Mukul -
Calculating dynamic values from dropdown lists
Hi all, here's the noob question of the day
I'm creating an invoice form in LiveCycle Designer and I'm totally stuck at tax calculations:
for each product you're able to choose between two tax percentages from a dropdown list and, at the end of the form, I want to show a total amount of each tax.
product
qty
unit price
vat
net price
red shoes pack
2
20$
4%
40$
black shoes pack
1
25$
4%
25$
white umbrella
1
10$
7%
10$
total net price
75$
+ TAX 4%
2.60$
+ TAX 7%
0.70$
Total
78.30$
How can I set the + TAX 4% and + TAX 7% fields to grab their respective product rows?
Sorry for my bad english.. I hope you get the question!You woudl have to look at each row inside of a for loop and then determine if that row had 4% or 7% tax. Then you coudl keep a running total of the tax for you calcultions such that when the for loop ended you would have the 4 and 7% totals calculated.
Make sense?
Paul -
Dependency DropDown List for Multiple Rows in Offline Interactive Form
Hi I have 2 drop down lists.. in one dropdown list I have "Billable" and "Non Billable" , in second Dropdown list we will have Binding values with "Billable".... when we select "Billable" I need to get the data in Second Dropdown list from Database, and when we Select "Non Billable" then Dropdownlist should become a Inputfield (i.e Dropdown should turn to textfield)...and this should happen for each and every row....based on Index value....help me on this.....
Hi,
You can create one input text field and make it visible when a user choses non billable option in dropdown 1, using -
<this>.presence = "visible";
when billable is chosen from dropdown 1, I can think of two ways.
- Since you have binding 'billable' options with second dropdown, make it visible when billabile option is chosen.
- you can also populate the second dropdown using javascript (something like dependent dropdowns) when billable option is chosen.
if ( this.rawValue == 'billable' )
seconddropdown = xfa.resolveNodes("xfa.record.ITAB.DATA[ *]");
for ( var k = 0; k < seconddropdown.length ; k++)
<your path>.addItem(seconddropdown.item(j).fieldname.value,seconddropdown.item(j).fieldname.value ); (to populate second dropdown)
Regards, Liz -
Listbox displaying dynamic values in table control
Hi Experts,
The requirement that I have is that there are two columns in an internal table out of which second one is a listbox.
There is a need of displaying dynamic values in a row in a listbox according to value entered in first column of the same row, not affecting the listbox values in other rows.
I am using VRM_SET_VALUES for populating listbox, but it results in populating the listbox in all other rows also.
Please help.
Thanks,
GarimaHi Thanks for the link..
But my problem is something else.
I want the same listbox of a column in a table control to show me different values in different rows on the basis of value in another column .
Regards,
Garima -
How to display dynamic values in poplist at row level in advanced table
I want to display dynamic values in poplist at row level based on a row value in advanced table, with lov i can achieve it, is there any way to achieve this in poplist
Thanks
BbauBabu,
You have been long enough in forum and still come out with these one liners. Problem statement is not clear.
--Shiv -
Problem while displaying top of page in list display
Hi,
M facing problem in displaying top of page in list .
M using following methods:-
lr_outer_grid TYPE REF TO cl_salv_form_layout_grid,
lr_inner_grid TYPE REF TO cl_salv_form_layout_grid,
lr_label TYPE REF TO cl_salv_form_label,
lr_text TYPE REF TO cl_salv_form_text.
For displaying the top of page m using event TOP_OF_PAGE.
CREATE OBJECT lr_outer_grid.
*Outer grid
lr_inner_grid = lr_outer_grid->create_grid(
row = 1
column = 1 ).
*... create lable information in inner_grid
User ID
lr_label = lr_inner_grid->create_label(
row = 1
column = 1
text = text-h03 ).
*... create text information in inner_grid
lr_text = lr_inner_grid->create_text(
row = 1
column = 2
text = sy-uname ).
*... set label for text
lr_label->set_label_for( lr_text ).
But while m going to do same coding for second parameter its not intializing length so adding extra spaces while displaying second row.
e.g
USERID abcdefghjik
PLANT jhk to hjk
I want that output should look like
USERID abcdefghjik
PLANT jhk to hjk
Please tell me the solution what should i do for avoiding extra spaceHi Neelema,
You could try this sample code.
[http://sap-img.com/fu037.htm]
[http://sap-img.com/abap/sample-alv-heading-in-alv.htm]
Regards,
Amit. -
Problem in displaying two fields in dropdown on selection screen
Hi All,
I have a reqmt where i need to display the dropdown list for certain field.
For this perticular fields there is a description attached to it.
Please let me know teh way where i can display the field with description in dropdown.
Like
field1 field2
P Hi
R Hello
S How are you
I am using CALL FUNCTION 'VRM_SET_VALUES' for the same.
Please reply asap.
Edited by: PRADEEPKULAT on May 20, 2010 2:03 PMHi,
I am not sure about your question,
I understood that you have to Display both key and Text.
If so Concatenate both Key and Text .
I mean,
TYPE-POOLS : VRM.
DATA : T_VRM TYPE VRM_VALUES,
WA_VRM TYPE VRM_VALUE.
WA_VRM-KEY = 'Field1'.
CONCATENATE WA_VRM-KEY 'Field1' INTO
WA_VRM-TEXT SEPERATED BY SPACE.
INSERT WA_VRM INTO TABLE T_VRM.
WA_VRM-KEY = 'P''.
CONCATENATE WA_VRM-KEY 'Hi' INTO
WA_VRM-TEXT SEPERATED BY SPACE.
INSERT WA_VRM INTO TABLE T_VRM.
WA_VRM-KEY = 'R'.
CONCATENATE WA_VRM-KEY 'Hello' INTO
WA_VRM-TEXT SEPERATED BY SPACE.
INSERT WA_VRM INTO TABLE T_VRM.
WA_VRM-KEY = 'S'.
CONCATENATE WA_VRM-KEY 'How are you' INTO
WA_VRM-TEXT SEPERATED BY SPACE.
INSERT WA_VRM INTO TABLE T_VRM.
Then pass this table to the function module VRM_SET_VALUES.
I hope this resolves your issue.
Regards,
Raghava Channooru -
Hi,
My reqiurement is to add values in Dropdown list which is standard one. Already threre some values are there, like
hourly,daily,wekly.
Now I need to add montly value to the above dropdown list.How this can be done.
Suggest me.
Thanks,
BrahmajiHi,
Expand the Attribute Period_type and double click on its GET_V method.
You will find following code line :
lr_ddlb->set_selection_table( me->job_wizard ).
Double click on the Set_selection_table method to open the method code.
You will find a LOOP.. ENDLOOP there. Here,to remove the values, comment out this LOOP- ENDLOOP.
and add following lines
ls_ddlb-key = 'Y'.
ls_ddlb-value = 'Yearly'.
APPEND ls_ddlb TO me->ddlb.
Thats All .
Hope it Helps.
Regards,
Suchita -
Delete values in Dropdown list
Hi
I want to delete values from a dropdown list.
The attribute is:
Component: ICCMP_BP_DETAIL
View: ICCMP_BP_DETAIL/BuPaCreate
Context Node: PARTNERTYPE
Attribute: BP_CATEGORY
Do you have any idea of how to achieve this?
Best regards.
JMHi,
My reqiurement is to add values in Dropdown list which is standard one. Already threre some values are there, like
hourly,daily,wekly.
Now I need to add montly value to the above dropdown list.How this can be done.
Suggest me.
Thanks,
Brahmaji -
How to create dropdown list for custom remote function module
HI ,
I created a custom remote function module for a ztable.table having four fields.But now the requirement is to maintain the dropdown list for input parameter .
For eg: I maintain Input parameter as action.For that Action we have to maintain a dropdown list(display,insert,update and delete values ) in function module.Is it possible.Hi
Try using POPUP_GET_VALUES function module in the begining of the Function module this gives a POP to provide a value to you
In this you can provide a value
Check the import parameters of this Function module if it has COMBOBOX as parameter ( I dont have SAP access at this point of time) you can pass X to it so you get List box for the following fields
Create a domain to field and assing fixed values to it and use it in any table(As this works with only existing tables)
refresh fields.
DATA: fields LIKE SVAL OCCURS 0.
fields-tabname = 'MAKT'.
FILEDS-FIELDNAME = 'MAKTX'.
APPEND FIELDS.
CALL FUNCTION 'POPUP_GET_VALUES' " Try copying this in a Test program and execute
EXPORTING
POPUP_TITLE = 'Enter Mail Id here'
START_COLUMN = '5'
START_ROW = '5'
IMPORTING
RETURNCODE = SRETURN
TABLES
FIELDS = FIELDS.
Cheerz
Ramchander Rao.K
Edited by: Rob Burbank on Nov 23, 2011 9:50 AM -
Is it possible to create the ALV output with dropdown list for the columns
Hi forum experts,
Could the ALV output contain the dropdown list for the column names? if yes, then how we can acheive this to happen.
Thanks in advance,
Regards,
Samad.
Edited by: Samad arif on Aug 21, 2009 4:40 PMHi Arif,
Yes we can .FOr the codding check the article,
[dropdowns in ALV|https://wiki.sdn.sap.com/wiki/display/Snippets/DropdownsinALV]
regards,
Archana
Edited by: Archana Kumari on Aug 21, 2009 1:22 PM
Maybe you are looking for
-
Material deletion flag at storage location level is not working
I have a material that is created in some plants and also in some storage locations within each plant. If I mark the deletion flag at plant level I am not able to create a PO -> Me051 error message appears. Whereas if I mark the deletion flag at stor
-
Calendar sync time off by one hour
When I sync my BB Curve 8530, version 5.0, by Verizon with Outlook 2007 calendar, the appointment time is off by one hour. The BB Curve always shows the appt time one hour later than Outlook. When I schedule an all day event, it begins at 1 am and
-
Problems With a Second imap Account
Hi Everyone, I've been using an IMAP account with Gmail and Mail for a few years now, and I've been quite happy with it. (Although it doesn't seem to save messages I send online to my Sent file offline.) But I've set up a second IMAP account and I ha
-
Generating CDATA containing XML-like text using XSLT Mapper in OFM 11g
Hi, One of our partners requires XML to be sent as XML string inside a CDATA section. The use of "real" XML is not an option at the moment. We try to generate something like the following using XSLT/XSLT Mapper in SOA Suite 11g: <element> <![CDATA[ <
-
Reg..ALV using classes
i have displayed a ALV report with a push button 'HST'. When i select a particular line(vbeln) and click on pushbutton 'HST' it has to display me a interactive report based on the condition vbeln and posnr. can anyone help me with the detail code usi