Disable row in LOV or Poplist
Hi Folks,
Is it possible to have a poplist or an LOV with all values listed but some of them grayed
out and not accessible !!!!
Thanks
Pranati
May be Creating LOV on Non-Query Record Group, help you. It can't disable any lines. But you can keep required values in the Record group dynamically. So the LOV on that, will show only filtered data.
Similar Messages
-
Cannot DELETE rows from LOV on running...is it a bug ??
One of the features I appreciated in the new version of JHeadstart is that we can now insert, modify and delete rows on LOV (even in the database).
We have just to check on Lookup properties :
Multi-row insert allowed
Multi-row update allowed
Multi-row delete allowed
I cheked all of them and on runnig I could insert and update records in LOV.
When I tried to delete records from LOV the system display information message "nothing to save" and in fact no records were deleted.
Normally since I checked the delete property it should be possible to delete rows from LOV
thanks for any HelpMonta,
I could reproduce this, it is a bug. Added to the fix list for the next release.
Thanks for reporting,
Steven Davelaar,
JHeadstart Team. -
How to add new rows to LOV dynamically?
We have requirement as follows:
in a multirow region, each row has fields like from_serial and to_serial.
A serial can have state (defined but not used/In stores) and status (Good/Bad).
Each field is associated with LOV that lists 'Defined but not used' serials that are in "Good" status.
User can either select a value from LOV or he can generate the serial on the fly (dynamic text should be allowed).
Requirement is if user keys in a 'Defined but not used' serial with status as bad, then an error message should be thrown indicating that the serial is invalid. We already have a pl/sql API which does this validation along with several validations that can not be put into single LOV.
I am not able to achieve this requirement as
1. if I set DisableValidation property of field to True, then it allows free entry/dynamic entry
but doesn't call validation API thru PPR...
2. If I set DisableValidation property of field to false, then it allows to call pl/sql through PPR
but doesn't allow free text entry.
Currently, the LOV is not associated with any controller.
Can someone help me to achieve the requirement?
I guess if we set DisableValidation property of field to false and then somehow populate the keyed-in value in LOV itself then both requirements, Free text entry and calling validation API, can be soled.
Question is "is there any way to populate additional row into LOV"?Hi,
You can not add rows to LOV, I also faced similar problem around 2 yrs back where we need to add a new supplier to LOV, there I added one more entry using union in LOV VO with supplier name "New Supplier-Not Defined", when user want to add anew supplier the he will select this value from LOV and in LOV event I will check if value selected is "New Supplier-Not Defined" then I will render one more text box and there user can enter a supplier name which does not exist in the system.
There could be some other solutions(work arounds) fro this, please clarify your requirements so that we can look for some other options as well.
If you set the validation property to false then user may save wrong data into system, I think this is not a good option.
Hope this will give you some clue.
Regards,
Reetesh Sharma
Edited by: Reetesh Sharma on Aug 11, 2010 10:16 PM -
How to Disable Row Detail in Sales Module
Dear Experts,
how to disable row detail option in sales module. how it is posible. we are using SAP Business One 2007. PL42
ThanxAOA Rahil,
I have just solved this problem, I was also facing the same one
I am using B1DE, I have handled this on before menu click when open the form
<B1Listener(BoEventTypes.et_MENU_CLICK, true)> _
Public Overridable Function OnBeforeMenuClick(ByVal pVal As MenuEvent) As Boolean
'GENERATED CODE
Me.LoadForm()
1*** Dim Form As Form = B1Connections.theAppl.Forms.ActiveForm
2 *** Form.Settings.EnableRowFormat = False
Return false
End Function
1--Capture the current form
2--Disable Row Detail Form
It worked for me
Best Regards,
Umer Nasim Mirza
03004003633 -
Next row in JTable (skip disabled rows)
When I press the down button on my keyboard how can I move to the next available row. It should skip all disabled rows.
My subclass of JTable looks like this:
public void changeSelection(int rowIndex, int columnIndex, boolean toggle, boolean extend) {
if (list[rowIndex].isEnabled()) {
super.changeSelection(rowIndex, columnIndex, toggle, extend);
All the disabled rows is not selectable. Right now it just stop when the next row is disabled.Well, I think the right way to it would be something like..
public void changeSelection(int rowIndex, int columnIndex, boolean toggle, boolean extend)
// Get to the right row..
while (!list[rowIndex].isEnabled())
++rowIndex;
rowIndex %= list.length;
// Change selection to the row found.
super.changeSelection(rowIndex, columnIndex, toggle, extend);
The last one is good asuming there must be at least one enabled row, otherwise you should handle this case also... -
Hai gurus,
In my ALV output I want to disable the left most button (Row selector) for some reasons Dynamically.
The user should not select the entire row for some condition.
loop at itab.
If itab-field1 eq 'AA'.
Disable row for selection.
endif.
endloop.
Thanks in advance .....Hi Shridhar,
I think it is difficult to have selection boxes on some condition.
We can have only one type of selection mode for alv.
Kindly refer following link for your solution
http://help.sap.com/saphelp_47x200/helpdata/en/ef/a2e9eff88311d2b48d006094192fe3/frameset.htm
I have tried it in many ways but not able to have its solution.
Kindly share it with all of us if you get the solution.
Hope it helps,
Pratik Vora
Edited by: Pratik Vora on Feb 23, 2009 11:23 AM -
Has anyone successfully generated a Row-level LOV from Designer in a Web PLSQL module, like you are able to do with the Forms generator?
Not exactly like that, but you can do a combined insert/update form if you're willing to play some tricks.
For example, create a multi-row update form on your table. Then call a function in your top-of-page-text which will insert a fixed number of empty rows in your table. Set the order-by to put those rows at the bottom.
This isn't how we normally want to work with our database. It's best done with a staging table, since you can't have any non-null fields and you'll be restricted to a sequence number for your primary key. You'll also need a process which will remove the empty rows if the user doesn't actually add data.
The advantage, though, is that it works to create a combined update/insert form with the WSG.
-- jim -
I have a report region.I want to disable row which is i ckecked in the check box after pressing the button.
Thanks and regard,
skud.Hi jo at euroclear,
I would suggest you to use the check boxes, they provide a multiple choice and we can select more than one of them.
Thanks,
Vikrantt Singh -
How to define the in Tablel Region Row by Row different Lov?
Hi Gurus,
I have one requirement i want define the in Table Region or Advance Table Region row by row Different Lov.
my scenario
i have 4 colums
col1 col2 col3 col4
question1 xx1LOV look-up look-up
question2 xx2lLov
question3(lookup) xx3Lov
In column1 also users defined one look-up based on look-up(currently users defined 14 questions) question users defined different value sets in Col2 please help me i unable to start this requirement.Give any one help .
Regards,
SrinivasHi Srini,
Have u created VO Query to handle the above requirment.Please let us know how you achieved it will help others.
Regards,
Raj -
Disabling the dropdown LOV for existing records in SQL updateable report
Hi All -
I have a SQL updateable report which has 3 columns. One of the column is a named-LOV. This report also provides the functionality of inserting new rows.
Is there a way to only show the named-LOV dropdown list for only the new records to be inserted i.e. when we click on "Add Row". For existing records, I donot want to show the dropdown.
Please provide your thoughts.
Thanks,
-SeenuThanks Robert -
I guess I didn't put my question right in my earlier posting.
Basically this report provides updates and inserts both (Its a SQL Updateable report)
One of the column is a Named-LOV (select list dropdown). For the existing records shown in this report, this select list should be disabled. But for the new records while inserting a new row into this report, the select list dropdown should be shown to the user with an option to choose values from selectlist.
Thanks,
-Seenu -
Disable/enable popup LOV image anchor in tabular form
Hello all,
I am trying to find the solution how to enable/disable popup LOV's image anchor. When I disable the popup item, then only the text field is disabled but the image is still active and opens the LOV window. I have tried to implement some solutions but without success.
I have created DA (fired after refresh of needed region) with code below which disables the needed field.
$('td[headers="DEPTNO"] input').each(function(i)
$('td[headers="DEPTNO"] input:text').disabled="disabled";
$($('td[headers="DEPTNO"] input:text')[i]).addClass('apex_disabled');
Could anyone help me with a code which will also disable the image?
Thanks in advance!
My testing appl:
www.apex.oracle.com
*WS:* kurintest
*username:* [email protected]
*passwd:* kurintest
*appl. name:* disable_popup_icon
-JiriHello Jiri,
Please see your page:
I have changed the dynamic action:
$('td[headers="DEPTNO"] input').each(function(i)
$('td[headers="DEPTNO"] input:text').disabled="disabled";
$($('td[headers="DEPTNO"] input:text')[i]).addClass('apex_disabled');
$($('td[headers="DEPTNO"] a')[i]).click(function(e) { e.preventDefault(); });
$($('td[headers="DEPTNO"] img')[i]).addClass('apex_disabled');
Hope it helps!
Regards,
Kiran -
How to disable row in tabular form when checkbox checked?
Hi.... this is what i want to do....
I created tabular form for offering items... there is a checkbox that is used to select item with lowest price...
But i have also one column that shows item options ( option is for example... i want offer for 22" monitor Samsung, but seller have only 22" LG monitor.... so in my offering will be shown item (22" monitor Samsung) that i want, and in row below item (22" LG monitor) that seller have... both items will have same order id....
Next thing i want to do is when i select checkbox with item (22" LG monitor) as lowest price, i want that row with same order id (22" samsung monitor) is disabled.
Is that possible to do?
This is my code for creating tabular form:
SELECT
CASE WHEN RED_BR_OPCIJE = 0 THEN '-' ELSE TO_CHAR(RED_BR_OPCIJE) END RED_BR_OPCIJE,
apex_item.hidden(1, ID_STAVKE)||
apex_item.hidden(2, ID_STAVKE_IZ_ZAHTJEVA)|| ---order_id
apex_item.hidden(3, ID_PONUDE)||
apex_item.hidden(4, ODABIR_NAJPOVOLJNIJE_STAVKE)||
apex_item.checkbox(5, '#ROWNUM#', null, decode(ODABIR_NAJPOVOLJNIJE_STAVKE, 'X', '#ROWNUM#')) Odabir, ---checkbox_lowest price
apex_item.textarea(6, NAZIV_ARTIKLA_TRAZENO, 3, 40, 'readonly="readonly"') NAZIV_ARTIKLA_TRAZENO,
apex_item.textarea(7, NAZIV_ARTIKLA, 3, 40, 'readonly="readonly"') NAZIV_ARTIKLA,
apex_item.text(8, SIFRA_ARTIKLA, 8, 20, 'readonly="readonly"') SIFRA_ARTIKLA,
apex_item.text(9, JMJ, 5, 20, 'readonly="readonly"') JMJ,
apex_item.text(10, KOLICINA, 6, 20, 'readonly="readonly"') KOLICINA,
apex_item.text(11, JEDINICNA_CIJENA, 12, 20, 'readonly="readonly"') JEDINICNA_CIJENA, ---price
apex_item.text(12, IZNOS_STAVKE, 12, 30, 'readonly="readonly"') IZNOS_STAVKE,
apex_item.text(13, IZNOS_RABATA, 12, 20, 'readonly="readonly"') IZNOS_RABATA,
apex_item.text(14, JEDINICNA_CIJENA_NAKON_POPUSTA, 12, 20, 'readonly="readonly"') JEDINICNA_CIJENA_NAKON_POPUSTA,
apex_item.text(15, IZNOS_STAVKE_NAKON_POPUSTA, 12, 20, 'readonly="readonly"') IZNOS_STAVKE_NAKON_POPUSTA
from PONUDE_STAVKE
where ID_PONUDE = :P34_ID_PON
ORDER BY ID_PONUDE ASC, ID_STAVKE_IZ_ZAHTJEVA ASC, RED_BR_OPCIJE ASC
And this is example table with a few column names:
order_id option_number item_name price checkbox_lowest price
1086 - Samsung 22" monitor 100$ null ---this row should be disabled because next row is selected as lowest price
1086 1 LG 22" Monitor 90$ X --- both rows have same order_id
1050 - Router 100$ XHi snake2903,
{thread:id=998140}
{thread:id=1554583}
{thread:id=2249233}
Hope it helps!
Regards,
Kiran -
ALV - problem to disable row selection (SET_ROW_SELECTABLE)
Hi,
I'm using an (non editable) ALV with a supply function to display details to each line.
I have to buttons "New" and "Modify" to insert a new line or to modify an existing row (in the details).
This works fine.
Now what I want to do is, if the user press one of the buttons "New" or "Modify", I want to disable the row selection of the ALV, so the user can't select another row during inserting or editing.
For this, I've implemented in the WDDOMODIFYVIEW of the view the coding to enable or disable the row selection
lo_value->if_salv_wd_table_settings~SET_ROW_SELECTABLE( ABAP_TRUE ).
* or
lo_value->if_salv_wd_table_settings~SET_ROW_SELECTABLE( ABAP_FALSE ).
In case of "New" this works fine. The row selection is disabled.
But not in case of "Modify".
There is a strange behaviour:
The row selection is not completely disabled. It looks like you can select rows, but if you select another row, it is automatically jumping to the first row and also the details is updated to the first row.
The different between "New" and "Modify" is, that in "New", I create a new element in the ALV.
Than it works correct. If I do the same in "Modify", I have the same correct behavior.
But of course, I don't want to insert a new row in my "modify" mode.
So maybe it has something todo with set lead selection?
Maybe I do something wrong or that is a problem in the abap release. But I can't find anything in OSS.
Thanks in advance!
AndreasHi,
I would like to propose another approach here,
I assume that ALV is in read only mode.
1. User select the row and press the "Modify" button. As soon as user press the modify button "disable" the Modify and New button.
2. Once the user is finish with the changes and press save. Enable the new and modify button.
3. Without saving if user select anyother row then raise the "Save" confirmation popup with Yes, NO and Cancel button.
4. If User press the New button then add new row and disable the "New" and "Modify button". Follow the Step 2 and 3 for this case also.
I hope this will give you some idea.
Thanks,
Rahul -
How to disable find in lov-dialog
hi,
I'm having a java client application which uses LOV's. These LOV's provide a find functionality, but I want to diable it, because it doesn't work. Can anybody help me?
thanx in advance
RubenYou cannot disable Find on any document. Of course, if a document
contains no text (e.g. scans) it won't suceed.
Aandi Inston -
Table control enable and disable rows
Hi,
I want to keep the table control in disabled mode initially.
When user press the add button,the row next to where data is already present should alone be enabled for data entry.
In PBO event i was able to disable the entire table control.but when i could not find a way to identify the first blank line to enable it for data entry.
Please help.
Thanks
AmbilyHi Ambily,
follow the below steps
declare a data : w_flag type c. in the global
and next write the code the PBO
PROCESS BEFORE OUTPUT.
* Module screen GUI-Screen&Status and Screen Logic
MODULE status_<Screennum>.
* Table control for OUTPUT
LOOP AT <table-control> .
MODULE Modify_screen.
ENDLOOP.
Module modify_screen output.
* Table control reading values from input screen & displaying on screen
READ TABLE <table> INDEX <tablecontrol>-current_line.
If w_flag is initial.
LOOP AT SCREEN.
IF screen-name = <Tablecontrol Line>.
screen-input = 0.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
wndif.
Endmodule.
"next in PAI mark the w_flag to 'X'
Prabhudas
Maybe you are looking for
-
Query Builder in 10g Developer Suite
I am accustomed to using previous versions of Oracle developer (2000,6 i...), and there was "Query Builder", which is very useful for us, especially when we do statistics and complex Reports. Now the Staff has chosen 10g Developer Suite that unfortun
-
So, if installing a GW patch (say 7.0.4) to my nw65sp8 box, how should I handle this setup? 3 'domains' (MTA's on 3 different boxes, 1 for POA's, 1 for gwia, 1 for webacc. All of my MTA's run on the same box as other agents. I recall when installing
-
Hi, How can I make a xy graph with a natural log scale on the y axis. I know there is base 10 log, but is there something to produce a natural log scale. Thank you, -Tim
-
Hi There, From my previous posts, you might know that I am quite regular in this forum. I have managed to solve the problems I encountered with your help. Now Im clueless about what is wrong with my code. Basically, I am writing a certain data (16 bi
-
ECC 6.0, NW 7.0 SP20, Internet Explorer 8.0 I have a web Dynpro ABAP application being hosted on portal using an Iview. The web AS protocol for the system is set to HTTP under System Administration. I have 2 sets of users accessing this application,