[ADF-UIX] updating some fields after selecting an item from messageChoice
Hi,
I'll try and keep it short and simple.
How do I do the following: I have 2 ViewObjects: department - employees, they
have a 1 - many relationship. But there's no master-detail in my ViewObjects
(no link between my view objects)
On my UIX page I have a input form for Employees, with a messageChoice for
choosing a department. And I show an extra label department_description, which
comes from Department view. How can I update this label after selecting an item
from the messageChoice?
Is is possible?
I tried searching this forum, but didnt find anything, hard define search
parameters for this :)
kind regards
Ido
Hi,
I tried it in another page, one with a read-only form for courses.
There it kinda works for the first 2 out of 3 items in the messageChoice,
but not the last option.
It does give me an error in JDev during runtime though
05/10/20 15:13:57 editCourseV2DP.uix:line 60,col 95: Illegal HTML: cannot put a <td> element in a <form> element.
which points to <messageTextInput model="${bindings.Longname1}" id="longname1"/>
Dont see a relation between the error and my xml source...
and it states: 05/10/20 15:25:48 Parameter partialTargets=_uixState longname1
so that should be ok
Can it be because CourseView has 2 EntityObjects, course and course_codes.
and I have a course_codeView, with just 1 EntityObject, course_codes
So when im building the uix page I have 2 options where to pull the longname
from, CourseView and course_codeView. I tried both btw, and only the longname
from CourseView changes. I would expect the other one to change.
Oh well, im kinda lost now, perhaps I'll drop this feature and think of an
otherway to implement my screen.
Thanks for the replies
kind regards
Ido
Similar Messages
-
Focus lost after selecting an item from combobox
After I select an item from combobox first component is focused even though it is invisible. But if I press tab or enter without selecting any item, next component is focused as expected.
How can I solve the problem?If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area. -
Auto populate Infopath 2013 fields after selecting a specific dropdown option.
Auto populate Infopath 2013 fields after selecting a specific dropdown option.
Hi.
I have a Sharepoint 2013 list with three fields. Code, Section and Sub Section.
I would like to be able to have the form autopopulate the Section and Sub Section fields when a value for code is entered.
How would I go about this please?
Thanks
JonHi JonMorgan,
Based on your description, my understanding is that you want to achieve that the second dropdown gets populated depending on what the first dropdown is set to.
To achieve your requirement, creating cascading dropdown fields with InfoPath.
Please refer to the following links about cascade drop down in InfoPath form:
http://msreddysharepoint.blogspot.in/2012/12/infopath-2013-web-browser-creating.html
http://www.pointbeyond.com/2011/11/20/cascading-dropdowns-in-infopath-2010/
Best Regards,
Lisa Chen
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Lisa Chen
TechNet Community Support -
Fetching more than one row from a table after selecting one value from the dropdown
Hi Experts,
How can we fetch more than one row from a table after selecting one value from the dropdown.
The scenario is that I have some entries in the dropdown like below
A B C
11256 VID 911256
11256 VID 811256
11256 SONY 11256
The 'B' values are there in the dropdown. I have removed the duplicate entries from the dropdown so now the dropdownlist has only two values.for eg- 'VID' and'SONY'. So now, after selecting 'VID' from the dropdown I should get all the 'C' values. After this the "C' values are to be passed to other methods to fetch some data from other tables.
Request your help on this.
Thanks,
Preeetam Narkhede.Hi Preetam!
I hope I understand your request proberly, since this is more about Java and less about WebDynpro, but if I'm wrong, just follow up on this.
Supposed you have some collection of your original table data stored in variable "origin". Populate a Hashtable using the values from column "B" (let's assume it's Strings) as keys and an ArrayList of whatever "C" is (let's assume String instances, too) as value (there's a lot of ways to iterate over whatever your datasource is, and since we do not know what your datasource is, maybe you'll have to follow another approach to get b and c vaues,but the principle should remain the same):
// Declare a private variable for your Data at the appropriate place in your code
private Hashtable temp = new Hashtable<String, ArrayList<String>>();
// Then, in the method you use to retrieve backend data and populate the dropdown,
// populate the Hashtable, too
Iterator<TableData> a = origin.iterator();
while (a.hasNext()) {
TableData current = a.next();
String b = current.getB();
String c = current.getC();
ArrayList<String> values = this.temp.get(b);
if (values == null) {
values = new ArrayList<String>();
values.add(c);
this.temp.put(b, values);
So after this, you'll have a Hashtable with the B values als keys and collections of C values of this particular B as value:
VID --> (911256, 811256)
SONY --> (11256)
Use
temp.keySet()
to populate your dropdown.
After the user selects an entry from the dropdown (let's say stored in variable selectedB), you will be able to retrieve the collection of c's from your Hashtable
// In the metod you handle the selection event with, get the c value collection
//and use it to select from your other table
ArrayList<String> selectedCs = this.temp.get(selectedB);
// now iterate over the selectedCs items and use each of these
//to continue retrieving whatever data you need...
for (String oneC : selectedCs) {
// Select Data from backend using oneC in the where-Clause or whatever...
Hope that helps
Michael -
After selecting the value from the list box, want to disable checkbox
hi guru,
After selecting the value from the list box, want to disable checkbox and custom control textbox(container) in module pool.
so please help me on this.
thanx,
manin PBO,
loop at screen.
if screen-name = your textbox's name.
screen-input = 0.
modify screen.
endif.
endloop. -
I have a table with info and would like to select an item from that table
Hi
I have a table with info (course info that I searched for) and would like to select an item from that table to use for further use in my application.
It must work more or less like the tree structure where I can use an On Action select.
In other words; let say I am looking for all courses with "Advisor" it its descriptin / name, I want to click on one of the names and use it lets say to book people on.
Could some please assist me with this.
Regards
DebbieHi
The datasource for my table is the node searchcatalog. Under this node there is an attribute calles description where the items found are displayed.
I changed my code as follow:
data: ls_table type wd_This->Elements_searchcatalog,
lr_element type ref to if_wd_context_element.
DATA lo_nd_searchcatalog TYPE REF TO if_wd_context_node.
DATA lo_el_searchcatalog TYPE REF TO if_wd_context_element.
DATA ls_searchcatalog TYPE wd_this->element_searchcatalog.
navigate from <CONTEXT> to <SEARCHCATALOG> via lead selection
lo_nd_searchcatalog = wd_context->get_child_node( name = wd_this->wdctx_searchcatalog ).
@TODO handle not set lead selection
IF lo_nd_searchcatalog IS INITIAL.
ENDIF.
get element via lead selection
lo_el_searchcatalog = lo_nd_searchcatalog->get_element( ).
@TODO handle not set lead selection
IF lo_el_searchcatalog IS INITIAL.
ENDIF.
get all declared attributes
lo_el_searchcatalog->get_static_attributes(
IMPORTING
static_attributes = ls_searchcatalog ).
lo_nd_searchcatalog->get_lead_selection->( exporting index = wdevent->index importing
element = lr_element ).
lr_element->get_static_attributes->( importing static_attributes = ls_table ).
wd_context->set_attribute( exporting name = 'SELECTED' value = ls_table-description ).
When I try to activate it errors with: List elements that take up more than one line is not allowed. This error at the sentence: lo_el_searchcatalog->get_static_attributes(
If you cannot assist me further I will understand. Thank you. -
How do you select individual items from within a group?
Hi, All.
New poster. Forgive me if I miss any forum etiquette.
Currently using Indesing CS6 on Mac Osx 10.7.4
I'm a relatively recent convert to Indesign from Quark, and one thing I seem to have continual problems with is selecting individual items from within a group.
For example I will have a grouped item, such as price marker that is comprised of several individual items, some text boxes, some rectangles.
I find there is no way to select a rectangle that is currently placed behind a transparent text box without ungrouping the entire item - which isn't really an option.
The select options (slect next item below etc. just don't work)
For any Quark users out there, the equivalent command I'm looking for is the cmd+opt+shift click through, which just worked absolutely perfectly.
I have scoured the internet and forums looking for an answer for this, as I assumed it must be my own lack of knowledge, but I can't find an answer.
Any help much appreciated.
ThanksHi, winterm.
Thanks for the super quick repsonse. Unfortunately that hasn't seemed to have helped me.
That works fine as long as the grouped items are overlapping or apart, but not when items are entirely behind another item (ie, no part protruding from the group)
The problem is that if I double click to try and get through a text box to an item that is entirely behind it, then it just switches into text edit mode for the top text box.
If it helps, could you imagine a transparent text box that is 20x20 with red rectangle centred beneath it that is 10x10. If the 2 items are grouped I cant find any way to select through to the red rectangle without first ungrouping the two.
Am I going mad? -
I tried to select an item from a drop down list on a web page in safari and discovered that the list disapeared to quickly for me to make a selection. Has anyone else found this and solved the problem. Many thanks.
Demo wrote:
I tried it on my iPad and I see what you mean. From what I can see when I go to the site on my Mac, it is Flash based and that will not work anyway.
Actually, it is Javascript and uses the 'onmouseover' event. -
The Subsequent Requirm not getting deleted after deleting the Item from P.O
Hi all
The Subsequent Requirment for the Material is not getting cancelled even after deleting the Item from the Purchase Order and we have even deleted the Requirment for the Top level material . If we click on the Pegging requirment for the Subsequent requirment the system is telling that no Pegging Requirment exists but it is not getting deleted. Waiting for the feed backsKumar,
Run MRP for the Materials involed and let us know if there are any exception messages.
Regards,
Prasobh -
Since upgrading to Firefox 4 I've been unable to select search items from the google drop down box in the toolbar. Instead, I have to retype my search item completely as I also unable to select 'auto-complete' items as they appear.
Known problem with the Google Toolbar extension. <br />
http://www.google.com/support/toolbar/bin/static.py?page=known_issues.cs -
Start routine to update some fields of a ODS based on the another ODS
Hi I know i have to do abap coding at the start routine to update a ODS based on another ODS. I have tried doing the code for quite some time now and i have not been successful. I think I havenu2019t followed the definition required for this routine.
I have 2 ODS, ODS1 has 3 key fields and ODS2 has 1 key field
I have to map the ODS based on a 1:3 relation.
I am writing this start routine for the update rules from ODS2 to ODS1.
The logic is if the key field of ODS2 is equal to either Key field 1 or Key field 2 or Key field 3 of ODS1 then that record from ODS2 has to be updated to the corresponding matching record of ODS1, else no update. The 3 key fields of ODS1 have different character length and character types and the key field of ODS2 has a different character length and type when compared to the any of the key fields of ODS2 can match any of those.
Like key field 1 of ODS1 has length 10. Key field 2 of ODS1 has length 10 and key field 3 of ODS1 has length 20 and all these fields are not alpha converted, but the key field of ODS2 has length 60 and it is alpha converted.
Can anyone please help me in this code.
My Code is as below.
ITAB1-T_BOL = DATA_PACKAGE-/BIC/ZLBOL.
***********NISTEVO SELECT******************************
SELECT /BIC/ZLBOL FROM /BIC/AWLONST0100 INTO ITAB1-T_BOL
WHERE /BIC/ZLBOL = ITAB1-T_BOL .
**************R/3 SELECT*******************************
SELECT /BIC/ZLRDELNU /BIC/ZLRSHIPNU /BIC/ZLREXTID
FROM /BIC/AWLOR3O0400
INTO CORRESPONDING FIELDS OF ITAB1
WHERE
/BIC/ZLRDELNU = ITAB1-T_BOL OR
/BIC/ZLRSHIPNU = ITAB1-T_BOL OR
/BIC/ZLREXTID = ITAB1-T_BOL .
SORT ITAB1 BY T_DELNU T_SHIPNU T_EXTID .
LOOP AT DATA_PACKAGE.
READ TABLE ITAB1 WITH KEY T_DELNU = DATA_PACKAGE-/BIC/ZLBOL.
IF SY-SUBRC = 0.
EXIT.
ENDIF.
READ TABLE ITAB1 WITH KEY T_SHIPNU = DATA_PACKAGE-/BIC/ZLBOL.
IF SY-SUBRC = 0.
EXIT.
ENDIF.
READ TABLE ITAB1 WITH KEY T_EXTID = DATA_PACKAGE-/BIC/ZLBOL.
IF SY-SUBRC = 0.
EXIT.
ENDIF.
DELETE DATA_PACKAGE .
ENDLOOP.
ENDSELECT.
ENDSELECT.
Points will be awarded.
Edited by: satish rajaram on Nov 6, 2008 4:51 PM
Edited by: satish rajaram on Nov 7, 2008 11:40 AM
Edited by: satish rajaram on Nov 7, 2008 11:43 AMThe logic is if the key field of ODS2 is equal to either Key field 1 or Key field 2 or Key field 3 of ODS1 then that record from ODS2 has to be updated to the corresponding matching record of ODS1, else no update. The 3 key fields of ODS1 have different character length and character types and the key field of ODS2 has a different character length and type when compared to the any of the key fields of ODS2 can match any of those.
Can you try below logic :
Below is not code it needs to be manipulated as per requirement.
ODS2 ---> ODS1
SELECT <key fields of ODS1>
FROM /BIC/A<ODS1>00
INTO ITAB
FOR ALL ENTRIES IN DATA_PACKAGE
WHERE
keyfield1 = data_package-key1
or
keyfield2 = data_package-key2
or
keyfield3 = data_package-key3
**Now itab has all entries which neednot be deleted from data_package.****
if sy-subrc=0.
***Check Itab and delete only those records not present in itab from data_package****
endif.
Hope this helps. -
Update some fields in Internet
Hi to all,
customer having some fields display in his homepage(internet)..
he wants to update somemore fields to that....so ill create a internal table with fields below what he wants..
ABLES: MARD, /UPM/GTB10.
DATA: BEGIN OF ABCD OCCURS 0,
EXTMATLGRP TYPE /UPM/GTB10-EXTMATLGRP,
LAGERORT TYPE /UPM/GTB10-LAGERORT,
MATERIAL TYPE /UPM/GTB10-MATERIAL,
LAGERPLATZ TYPE /UPM/GTB10-LAGERPLATZ,
BESCHREIBUNG TYPE /UPM/GTB10-BESCHREIBUNG,
VIN TYPE /UPM/GTB10-VIN,
HERSTELLER TYPE /UPM/GTB10-HERSTELLER,
VCOLOR TYPE /UPM/GTB10-VCOLOR,
KILOMETER TYPE /UPM/GTB10-KILOMETER,
ENOTIZ TYPE /UPM/GTB10-ENOTIZ,
NETPR TYPE /UPM/GTB11-NETPR,
BEDAT TYPE EKKO-BEDAT,
LABST TYPE MARD-LABST,
LABST TYPE /UPM/GTB10-QUANTITY,
MATNR TYPE MARD-MATNR,
END OF ABCD.
DATA: LABST LIKE MARD-LABST.
select single MATNR from MARD into MARD-MATNR where LABST > 0.
select * from /UPM/GTB10 INTO CORRESPONDING FIELDS OF TABLE ABCD FOR ALL
ENTRIES IN ABCD WHERE LABST > 0.
and correct the select option.............
And,...
in the report i have write coding for downloading the data with
OPEN DATASET and
CALL FUNCTION 'GUI-DOWNLOAD'...
so tell me or give me an example idea to write the DOWNLOADING CODING...
RAJUCALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = filename
filetype = 'ASC'
TABLES
data_tab = file_tab
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
pass the data internal table and the fil;ename to this fm.. -
Create document with refrence + update some fields by passing some values
Hello Experts,
I have a small problem . I have to create the sales order from BAPI ...but the scenario is
have to create with refreence to another document
some fields like condition types or material or order quantity etc are passed from an excel sheet
hence some information which is populated in excel sheet should be picked up rest everything should be picked up
from the refrence document
How can use both information (from the refrence document and externally passed from the excel) and create a new document
please suggest!!!!
regards,
KhushyHi,
I am not sure whether I really understand your request. Let me try to help.
> Example: <FT_TAB> TYPE STANDARD TABLE,
> <FS_TAB> TYPE ANY,
>
> DATA: INT_TAB is my dynamic table values.
>
>
> LOOP AT INT_TAB.
> ASSIGN COMPONENT 'MATNR' OF STRUCTURE <FS_TAB> TO <F_VALUE>
> <F_VALUE> = INT_TAB-MATNR.
> APPEND <FS_TAB> TO <FT_TAB>
Here <FT_TAB> must already be assigned to some internal table with a given (dynamic) structure. Did this happen before this piece of code?
What I would do is to create a dynamic table (see documentation to CREATE DATA) with MATNR and the STYLE field (LVC_T_STYL). See the documentation for CREATE DATA - creation of internal tables. When collection the field descriptions for that internal table I would also build the field catalogue for the ALV.
Then assign <FT_TAB> to that newly created internal table, <FS_TAB> to a newly created structure (same as a table line).
Move the MATNR to component 1 (or component 'MATNR') of the table and fill the style table according to your needs. Then insert the <FS_TAB> into <FT_TAB>.
Finally call the ALV SET_TABLE... method with your dynamic table and your field catalogue.
Regards,
Gerd Rother -
How to update some fields of EBAN in ABAP code
Hi, all
In my ABAP program, I have to update two fields of EBAN .
But I could not find any function or BAPI about it.
Would anyone out there be able to help.
Many thanks
AysenurHello,
Try with these FM.
Function group Function group short text
Name of function module Short text for function module
MEWF BAPIs for Release of Requisition/PO
BAPI_REQUISITION_RELEASE Release Purchase Requisition Item by Item
BAPI_REQUISITION_RELEASE_GEN Release Entire Purchase Requisition
BAPI_REQUISITION_RESET_RELEASE Cancel Release of Purchase Requisition Items
BAPI_REQUISITION_RESET_REL_GEN Cancel Overall Release of Purchase Requisitions
MEWQ BAPIs Requirement Coverage Request
BAPI_REQUISITION_CHANGE Change Purchase Requisition
BAPI_REQUISITION_CREATE Create Purchase Requisition
BAPI_REQUISITION_DELETE Delete/close purchase requisition
BAPI_REQUISITION_GETDETAIL Display Purchase Requisition Details
BAPI_REQUISITION_GETITEMS Read Purchase Requisition Item
BAPI_REQUISITION_GETITEMSREL List Purchase Requisitions Awaiting Release
BAPI_REQUISITION_GETRELINFO Display Detailed Release (Approval) Information on Purchase Requisitio
If useful reward points.
Vasanth -
We need an update that makes us able to select specific rushes from the timeline including their in and out and put them into a bin..nkw if we do so we get the whole rush without its in and out we already did... i guess it very easy to be solved by ur support team...thank u
We need an update that makes us able to select specific rushes from the timeline including their in and out and put them into a bin..nkw if we do so we get the whole rush without its in and out we already did... i guess it very easy to be solved by ur support team...thank u
Maybe you are looking for
-
USB Redirection in un-brokered SR VDI not working
I have installed Sun Ray Server 4.2 and SRWC 2.2 on a Solaris 10 5/09 server. I am using my own kiosk script to connect to a Windows XP SP3 virtual machine. I have installed the srs-winstaller.exe on the XP VM with no issues. I am having trouble gett
-
Dear Experts , I have defined a new condition table for PO o/p as Doc Type/P Org/Vendor/Plant. I assigned this table to the access seq & the acces seq to the output type . Then I maintained Condition record for this acces seq But the output tupe is
-
Af_table.SELECT_RANGE_NEXT
Is there a bug for JDev 10.1.3.3.0, that says that af_table.SELECT_RANGE_NEXT does not seem alterable? I have a resource bundle and I am able to alter other texts, like on the shuttle components (Move, Remove All, etc. are all readily alterable).
-
I have 3 questions regarding the double type an time 1. What is the maximum number of decimal places a double value can hold? 2. I have a time string as follows 01:30:21:19F30 which means 1hr 30 mins 21 seconds and 19/30 seconds. I wish to convert th
-
Hello, i have a MacBook Pro early 2011. Is there a possibility to build a mSata drive into it? Greets from Germany