LOV, return item, execute_query
Dear friends,
For searching a distinct record I wanted to provide the user following:
- opening a LOV
- choosing the proper record
- Lov writes id of choosen record in datablock item of
the id (evm_a_abteil.abteilg_id) as return item/value
- do_key('execute_query') as the user pressed F8
I expected to get the one choosen record in my datablock of the form, but Forms shows me all records.
Why?
What is wrong?`
Thanks for your explanations
Silke
Create LOV that return values into control block item.
Key-Listval trigger of data block
if Show_LOV
then
Go_Block(<data block>);
Execute_Query;
end if;
Pre-Query trigger of data block
If :<control_block>.<item_name> is not null
then
:<data_block>.<item_name> := :<control_block>.<item_name>
:<control_block>.<item_name> := NULL;
end if;
Similar Messages
-
DFF segment as LOV return item
Hi ,
I have a requirement to default the value in the fields in the page depending on LOV on another field in the Page.
But the field that needs to be defaulted is one of the fields in the DFF.
As such i am not sure what should i give in the "Return Item" property while defining the LOV mapping
Could someone please guide me in this
Thanks and Regards,
AkashHi Sumit,
Niot sure what you mean when you say to save the record.
I have this requirement in the iRecuitment Create Vacancy page and when i select the organization in that page , one of the segments of DFF should get autopupualted from the organizaton LOV.
Not Valueset is associated in the DFF segment
Could you please suggeest where i may be going wrong.
Thanks,
Akash -
When Press "Execute Query" LOV return Item not showing
I created a LOV and defined return items.
In the form I created display items, database property NO and assign variable name which is in LOV.
When I enter a new record LOV shows the return item but when I am executing query only database record is showing and I want to show the all item even they are in database or not.
Message was edited by:
Kamranexecute query populates only database items. To populate non database items after execute query, use post query trigger.
-
Lov returned items are not cleared in Jheadstart 11.1.1.4.26
We are using Jheadstart 11.1.1.4.26 with Jdeveloper 11.1.1.4
HR Testcase:
Form UI
Lov on the Manager_FirstName
returns
ManagerId -> ManagerId
FirstName -> Manager_Firstname
LastName -> Manager_Lastname
1: Select a manager from the LOV popup. ManagerId,FirstName,LastName are filled
2: Clear the Manager_Firstname from the Lov inputext. Returned Values should be automatically cleared (at least they used to in previous version). They dont in this version.
I am sending a testcase to [email protected]
RegardsThanks for looking at the testcase.
I emailed you a new one with screenshots of the steps required to reproduce it.
Conserning the previous test case I have sent, you are correct. I made a mistake by returning the
ManagerId back to ManagerId where it should be EmployeeId copied back to ManagerId.
However the items are not cleared in my Environment if you set a value from the LOV popup and then clear the value of the textinput. (No saving should be performed between these two steps).
If you perform a save between these two steps the items are all cleared.
Are you using Jdeveloper 11.1.1.4 ?
Regards
Vasileios
Edited by: spooker on 6 Μαϊ 2012 10:03 πμ
I am attaching another testcase with steps here. This is different from the one I emailed you but illustrates the same issue.
It is as if the item the Lov is based on does not autosubmit when it loses focus (click somewhere in the page)
steps to reproduce word document --> http://herosh.com/download/10867921/testcase.doc.html (just click the green download link)
testcase--> http://herosh.com/download/10867918/HR.rar.html (just click the green download link)
Edited by: spooker on 6 Μαϊ 2012 11:05 πμ -
Dear Members,
I have developed an OAF Page which has the below details:
*1/ Employee Number*
*2/ Salary*
*3/ Hire Date*
*4/ Job Title*
I have created these items in Advanced Table Region.
I've also created an external lov. The query of the external lov is as follows:
SQL> select employee_number, salary,hire_date,job_title from emp;
Now I have attached this external lov to the Employee Number field. I have also created an lov map and returned the employee_number to the Employee Number field in the page.
Whenever user clicks on the lov of employee number, it successfully displays all the employee details and when user selects any employee_number it successfully returns as well.
But my requirement is when user selects the employee number from the lov, I also want to return the salary,hire_date and job_title details to the respective fields of the OAF Page.
To achieve this requirement do we need to attach the external lov and create mappings to each and every field in the page or is there some other way?
Please help me to resolve this issue.
Many thanks in advance.
Best Regards,
Arun Reddy D.Dear Members,
I achieved this requirement by creating new lov mappings under Employee Number field.
Now it works without any issues.
Apart from this if there is any other way please let me know.
Best Regards,
Arun Reddy D. -
Capturing LOV Return Item in a field of JSP Page
Dear Members,4
I am using JDev 10g (10.1.3.5.0)
Requirement: I want to display a LOV for a field which is not bound to data model. To achieve this requirement I have follwed the below steps.
Steps:-
I have a simple JSP page in which there is a select input text field which is as follows:-
*<af:selectInputText label="Label 1" action="dialog:Test1" windowHeight="500" windowWidth="400"*
id="label1"/>
I have created the necessary navigation rules to Test1 page and also the required VO for the respective LOV.
From this Label 1 field I am able to go to the Test1 page which is a LOV Page and I am displaying the LOV records. After selecting a record, I want to come back to my main JSP Page and the selected value should appear in the field Label 1. I am not able to return the selected LOV value to the Label 1._
The code I am using to return the value from the LOV Page is as follows:-
public void returnObject(ActionEvent actionEvent)
JUCtrlValueBindingRef selectedRowData = (JUCtrlValueBindingRef)getTable1().getSelectedRowData();
if(selectedRowData==null)
AdfFacesContext.getCurrentInstance().returnFromDialog(null, null);
return ;
assetCat = (String)selectedRowData.getRow().getAttribute("Name");
AdfFacesContext.getCurrentInstance().returnFromDialog(this,null);
Note: I want to return the assetCat value to the Label 1 field.
Can any one please help me in resolving this issue.
Many thanks in advance.
Reards,
R4SHello,
Many thanks for your reply.
I am new to ADF. Can you please elaborate your solution.
Regards,
R4S -
Assigning LOV return Value to multiple text items
Hi all
I have a custom form on which i have 10 text items
text item 1,text item 2 ....text item10
I have a table xx_querywith fields
text_item,query
i have inserted into the xx_query table
insert into xx_query(text_item,query)
values(text_item1,'select sysdate from dual');
insert into xx_query(text_item,query)
values(text_item2,'select sysdate-1 from dual');
I have created a record group dynamically and i am getting the query from the query column of the xx_query table into the record group(say test_rg)
I have created a LOV test_lov and thr set_lov_property i have populated the test_rg query into the test_LOV
is it possible for me to set the return item of the LOV dynamically so that i can get the LOV on the item which i want to ?
thanks
_Hi All
thanks for your responses
I have Created a control item and assigned the return value of the LOV to the control item
and i have assigned the LOV to the text item that i want
Currently when i navigate to the text item the LOV is visible
but when i select a value from the LOV the value is not getting populated into the text item
I have assigned the value of the control item to the text item
but i am not sure in which trigger to write the code so as when i select the value from the LOV the value should be shown on the form populating in the text item
Thanks -
Return Item and Free goods check box in purchase order
Hi Guru:
I just got the question regarding the return item and free goods check box,my question is that if I check the free good check box,then the price of the matieral will be charged to zero,however,if I want to issue the return purchase order to the vendor,does I need to check the return box first and then issue the return order to the vendor? Then go to MIGO transaction to select the movement type 122 to return the goods,what's the whole precedure for returning the goods to the vendor,can anybody tell me,very appriated!Hi,
Retun to vendor through have two types....
One is you have Po created, vendor send the item in that few items have rejected so you need to return the item to vendor......
here in MIGo chose returrn to vendor selce the PO numbere.... system automaticaly take the movent type 122....
sencond type is Retun PO..... In Po while creting the PO tick the return indication..
If you do the GR system will pick 161mopvent type.. ( GR returns)...
REgards
anand -
Using bapi_po_create1 to create PO with return item - Order Combination
Hello,
There's a shipping tab that appears in a purchase return item, and in it there's a flag called Order Combination.
Only i can't seem to find a way to change that flag using this BAPI, nor using bapi_po_change.
Any ideas?
Thank you in advance.
DuarteHi
Its a setting that you maintain in the customer master reord that defaults it.
So if you want this to be flagged for some vendors and for some no flag the you need to maintain accordingly in the Customer master data - Sales are data Shipping tab
If you want it to be maintained through BAPI then populate the same in POSHIPPINGEXP structure
Thanks & Regards
KK -
Returns item from purchase order in SRM
Hi,
Is it possible to return item from a purchase order in SRM?
meaning : to return goods to an external vendor.
in ECC i know its possible. but i want to know if its possible in SRM.
if yes, how?
(i dont want to return by confirmation)
we are using SRM550.
regards,
vered
Edited by: Vered Madar on Aug 2, 2010 1:28 PMHi,
In SRM POs, GR based invoice indicator for Goods item is ticked based on the Vendor Master. If the vendor master has the tick, then PO will have the tick for GR based invoice. However for a service PO/limit PO, GR based invoice comes as default in PO and cannot be undone.
Regards,
Sanjeev -
MEIS Foreign Trade - Purchase order return items ECC 6.0
Hi Experts,
can you explain whether there has been any change in the way that MEIS is collect data.
I'm looking into a problem with the interstat reporting in ECC 6.0 transaction MEIS.
The problem occurs for PO return items, when movement type 161 and 162 are posted in the same period for a PO items,
this is actually a cancel of the return item, so in my view these posting are not to be reported as imported goods.
But if I run the report for the next period after the posting is done the PO item are selected on the report, this problem does not occurs in ERP 4.7.
I create a return order in period 01.2012, and do the posting in same period, run the MEIS for period 02.2012.
Periodic Declarations is done for SE.
Any help are appreciated.
Regrads, LarsHi Jürgen,
Thanks for you reply.
You are right that VI99 are for reporting returns, but my problem is that MEIS in ECC 6.0 now shows the items as a full value
for reporting, if i do this in 4,7 they are not seleted for reporting, and i my view they should not be seleted in MEIS but they are.
what is you opinion.
I just check the movement type in Customizing and the "type of posting" are set to "2" the setting are the same in both 4,7 & 6,0
Regards, Lars -
Return item (RETPO) as a key field in condition table
Hi,
I would like to know how we can utilize return item indicator as one of the key fields in the PO pricing condition table.
[Requirement]
Condition record
Use Retrun item as a key
e.g.) Table A999: POrg | Vendor | Return item | condition rate
#1: 1000 | M123456789 |blank | 3%
PO pricing
If the PO item is NOT marked as return, #1 should be applied to that item.
If the PO item is marked as return, no condition record should be determined.
[Question]
Though I've configured as above, return item indicator seems to be ignored.
When I tick the initial indicator in access sequence, the condition rate is always applied to the PO item for both with and without return item indicator.
When I tick-off the initial indicator in access sequence, the condition rate is not applied to the PO item for both with and without return item indicator.
Why does it happen?
Is it possible to apply the condition record only to the PO without return item?
I'd like to know how to make it effective in the condition table, RETPO=blank.
As long as searched, I couldn't find any similar question.
Your help would be much appliciated.
Best Regards,
MariHi Manosij,
Thank you for your reply.
I've already done as your instruction.
However, the result is not what I'm expecting.
I believe I'm right to creating the condition table.
But I think something wrrong in access sequence...
Though I do as your instruction, creating the condition record in MEK1 only for blank one, the record is applied to those with X when creating PO.
If you have another clue on my question, it would be much appreciated.
Best Regards,
Mari -
Hi all,
We have two diffirent return process in our company.
1) Return items to vendor with 161 movement type. In this case first we create PO and for this po we create GR ( 161 ) then we gave to vendor return receipt.
2) Vendor has warranty for items. So when we gave back items which is under warranty to vendor there is two options.a) vendor is fixing item then give it back to us and If item costs out of warranty we pay to vendor. b) vendor pays us back for this item, so we return to first process.
Can you suggest solution for second process?
Kind regards
TolgaAlready jagdeep explained all the return process .
Use 122 Movement type and return the material to vendor and once vendor give it back to you can proceed with 101 .
If the item out of warranty we pay to vendor . - For this you can receive the material and move to blocked stock when the warranty completes. Here Stock lying with us and you can pay the amount to vendor .
vendor pays us back for this item, so we return to first process - If the vendor returns the material , then use 122 from blocked stock and receive the stock which vendor is going to send back .
If you need separate stock wise use Batch Management and SLED if it requires.
Regards , Anil Kumar G -
How to set lov criteria item dynamically
Hi,
pl let me know how can we set the lov criteria item programatically.
i have 2 lov's.if the 1st lov has a null value then 2nd lov shud have a null value.
but if 1st lov has a value then 2nd lov has to populate values based on the value in the 1st.
pl do help me
thanksHi,
Can you check the OAMessageLovInput
s addLovRelations api.
Eg.
OAMessageLovInputBean mlib =(OAMessageLovInputBean)webBean.findChildRecursive("id of lov");
mlib.addLovRelations(pageContext, "inputTest", // base page item
"Empname", // lov item
LOV_RESULT, // direction
LOV_REQUIRED_NO);
mlib.addLovRelations(pageContext, "inputTest", // base page item
"Empname", // lov item
LOV_CRITERIA, // direction
LOV_REQUIRED_NO); // Enable Look
Thanks.
With Regards,
Kali.
OSSI. -
Table name in which return item data is stored of a PO
Can some please specify the table name in which return item data is stored of a PO?
Thanks in advance;Hi,
Let me explain what exactly I need. In a PO there is a checkbox "Retun Item". If we check that checkbox for an item that item becomes a retun item.
I need to fetch all the data of this return Item. The commitment data goes to table COOI but this return item records doesn't get stored in COOI table. I need all the data of this entry including the Network Activity, Project, WBS element etc.
Please let me know if you could help me.
Thanks.
Maybe you are looking for
-
Macbook won't print to lexmark z600 anymore
i cancelled a job the other day as a noticed a mistake. ever since then, my MB won't print. in the printer display it says job stopped. i clicked start, but nothing happens. when i connect to my printer at home i have no problem. whats going on?
-
I have a TC for my backups but now I want to add an external hard drive
I have a TC for my backups but now I want to add an external hard drive to my TC and share what is on it within my own network. I can see the hard drive from airport Configurator but I cant acces it. What should i do?
-
Hello MM experts I wanted to know what are the important processes mm module I have been in pp and I am aware of all the pp process Please help Regards Madhuri Rajat
-
Hi Guys, I'm looking for a way to setup a syslog pattern match on everything except a particular string. So for example, I want to monitor the rate at which new logs appears in the local buffer with the exception of messages with %PARSER contained in
-
Which wireless conferencing device comparable with Cisco
Hi I am fairly new to wireless and need some clarification about Voice conferencing. We have Cisco call manager now my office want make a voice conferencing with other office .we are looking a conferencing device which should be wireless and getting