Child VO do not return any data
Hello Champs
I am new to OAF. I am creating an OA form of parant child relationship with advanced tabled -in - advanced table.
I have build this similar to http://oracleanil.blogspot.com/2010/06/advanced-table-in-advanced-table-via.html
I have Hide/Show button on parent table when i click show it shows me detail information based on foreign key relationship. In Detali section i am able to insert new row and update existing row as well. But in detail section when i use multi selection option to delete multiple records i am facing this challenge.
To delete rows:
1) I have added transient attirbute SelectFlag
2) I have create new Delete button and write this piece of code in CO and AM resp.
Issue: VO gives me no data and thus i am not able to iterate through it.
CO Code
else if (pageContext.getParameter("DeleteInnerRecord") != null)
//Number hdrTrxId = new Number(1);
//Serializable parameters[] = {hdrTrxId};
oaM.invokeMethod("deleteApplicationRecord");
AM Code
public void deleteApplicationRecord ()
System.out.println("In application delete - ");
AppsLog myAppsLog = new AppsLog();
if(myAppsLog.isEnabled(3))
myAppsLog.write("fnd.common.WebAppsContext", "Wires - Delete receipt applications.", 3);
//getTransaction().commit();
WireTrnsfLineVOImpl delLineVO = getWireTrnsfLineVO1();
Row[] delRow = delLineVO.getAllRowsInRange();
int m = delLineVO.getFetchedRowCount();
delLineVO.getLin
System.out.println("Row Count - "+m);
//OAViewObject delLineVO = (OAViewObject)findViewObject("WireTrnsfLineVO1");
//Row[] delRow = delLineVO.getFilteredRows("SelectFlag","Y");
if (delRow != null && delRow.length > 0)
int numRows = delRow.length;
for (int i = 0; i < numRows; i++)
WireTrnsfLineVORowImpl rowi = (WireTrnsfLineVORowImpl)delRow;
System.out.println("Delete Loop Rec - "+rowi.getLineTrxId());
if(rowi.getSelectFlag()!= null && rowi.getSelectFlag().equals("Y") )
rowi.remove();
getDBTransaction().commit();
Thanks
Amit
I answer my own question :)
To retrieve data from inner advance table, we have to use OAInnerDataObjectEnumerator.
Operation which could be perform on Advance table would not be application to inner advance table.
Thanks
Amit
Similar Messages
-
Custom reports in R12 not returning any data
I'm seeing an issue of custom reports in R12 not returning any data. So far what I've been able to dig into is that the report query itself is referring to APPS synonyms that are secured under MOAC. What I am able to do is run the query in SQL Developer after having run mo_global.set_policy_context and I receive the data I'm looking for. This is not the case when running the report through the concurrent programs request.
Secondly, I've also configured the concurrent program request to run as single operating unit mode. This aided in fixing any issues with LOVs on the parameter form. However, still no results from the report itself. I've also searched around quite extensively and added a P_CONC_PROGRAM_ID user parameter in reports developer, as well as adding SRW.USER_EXIT('FND SRWINIT') to the before report trigger and SRW.USER_EXIT('FND SRWEXIT') to the after report trigger as well. No luck. I've also tried running mo_global.set_policy_context on the before report trigger and no such luck.
Has anyone seen similar issues with this and could shed some light? At this point, the workaround I would see is to just change the query to use respective all tables and match up against the orgid, but I'd rather not do that.I am facing exactly the same issue with 2 of my custom Reports in R12.1.3. We did our level best to find out the issue. It was always a hit and trial fix.
But the following were our observations and workarounds
0) The reports Conc Prog were in MOAC - Single mode. Both the reports had SRW INIT, EXIT and P_CONC_REQUEST_ID
1) The reports which caused the issues[NO data fetched for MOAC] had multiple Queries in the data model and one Query fetches data and the 2nd one doesnt. Both the queries when run from SQL developer after setting the org gave results.
Workaround for Report1
a) We deleted the data link connecting the 2 columns in both the queries and added a bind variable instead in the 2nd /child query to refer to the column in the parent query and linked the 2 groups.
Workaround for Report 2
a) In report 2 the queries were not linked to each other. Only one query used to return results and the 2nd one returned 0 rows. The workaround was to use the "where" conditions as lexical parameters after having set the value for the same in before report trigger.
Both the work around looks illogical. Still It worked..!
Thanks
Biju Radhakrishnan -
Binocular search for Cost Center is not returning any data
Hi Gurus,
When clicking on the SRM-Shooping Cart-Cost Assignment- Account Assignment Overview- Cost center Binocular search icon, it is not returning any data. However, when drilling down in the Account Assignment Overview, you will see another Binocular search icon for Cost Center which is working fine.
Any idea of how you troubleshoot it.
Thanks in advace for your help.
HANot sure about the cost assignment drill down, but after we applied SP13 to SRM server 550 the binoculars for cost center stopped working. the following note corrected this.
Note 1259735 - Search help of generic account does not work
If it has never worked, then probably need to setup a RFC dialog user for the F4 search help, Multiple threads on here around the dialog user for F4 with details on configuration and use.
JF -
Hi,
I have some ibots that I scheduled to run on a daily basis and which were working perfectly.
Suddenly the same ibots, they run but the content of the attachment says "The specified criteria did not return any data".
I checked the log files and could not see any relavant error.
If I go back in the report that I am sending through the ibot, it runs without any problem.
I tried to send it in different formats and run as different users, but the results are still the same!
Any idea what else I could check?
Type: Warning
Severity: 50
Time: Wed May 15 14:10:19 2013
File: project/webodbcaccess/odbcconnectionimpl.cpp Line: 199
Properties: RptPath-/shared/MICROS/giuliano/cube_build_verification;SID-btilnnapkfo2omg91a71b9m6n2;bindID-1;connID-31;ThreadID-4640;statementID-364;RSP-o:go~r:report
Location:
saw.odbc.statement.fetch
saw.subsystem.portal.pdf
saw.delivers.rpc.getDeviceContent
saw.rpc.server.responder
saw.rpc.server
saw.rpc.server.handleConnection
saw.rpc.server.dispatch
saw.threadPool
saw.threads
SQLFetchScroll returned code SQL_NO_DATA_FOUNDThanks it solved the issue.
But One more thing Now I have placed the parameters in the where clause of the query
Query-
select field1,field2,field3,field4,field5,job_name,candidate_name,interview_date from etc.ethr_irc_int_details
where field1 is not null
and job_name = :1
and candidate_name = :2
and interview_date = :3
in the VO I am executing
public void iniQuery(String S1, String S2,String S3)
System.out.println("insdie ini query of the VO");
System.out.println("S1 "+S1);
System.out.println("S2 "+S2);
System.out.println("S3 "+S3);
this.setWhereClauseParams(null);
this.setWhereClauseParam(0,S1);
this.setWhereClauseParam(1,S2);
this.setWhereClauseParam(2,S2);
executeQuery();
and in AM
ETHRIntDetailsVOImpl IDVO = (ETHRIntDetailsVOImpl)this.getETHRIntDetailsVO();
// IDVO.executeQuery();
// OAViewObject IDVO = (OAViewObject)findViewObject("ETHRIntDetailsVO");
IDVO.iniQuery(S1,S2,S3);
Row row = IDVO.first();
again I am not getting any data in the row??
Any idea if I am doing any thing wrong..
Please help urgently.
Thanks
Ashish -
How to know if the data model qry is not returning any data
Hi
If my report doesn't have data (meaning if the data model qry doesn't retreive any data), I wan't to show this text: "There is no data returned."
My question is how would I know that the qry is not returning any data. I know I can create a text field, and write a trigger on it, to set it True or False depending on the fact that data is being returned or not.
Thanks
ShaluHi,
In Data Model create a summary column for function=count on one of your columns.
Then for BeforeReport trigger you can write
function BeforeReport return boolean is
begin
if :CS_RPT_NODATA > 0 then
return (TRUE);
end if;
SRW.MESSAGE(300,'There is no data');
return (FALSE);
end;
Regards, Gicu -
Payroll extractor 0HR_PY_1 do not return any data in RSA3 in full mode
Hi,
I have activated Payroll extractor 0HR_PY_1.
I use RSA3 to check the extractor.
It does not return any data(0 records) in full mode.
Do i need to do activate any other object, apart from the datasource?
Thanks in advance for your help.
Regards,
Suresh.Hi Suresh,
HR extractors need additional authorizations. When the extractor is run, there would be a check if the user is authorized to extract data. Check SAP notes 672514 & 397208. Also find my previous post on this.
Re: Extractor 0HR_PY_1 does not return data to BW
Best Regards,
Murali. -
Boot loader did not return any data.
Hi,
i have installed the Oracle VM Server and Oracle VM Manager in two different machines. I'm using the VM Manager to create the Virtual Machines(guest). I followed all the steps given in the Oracle VM Manager User guide 2.2. I'm using the RHEL5 as the OS for the guest machine. I receive an error saying 'Boot loader did not return any data.'. The vm.cfg file has got created in the path /OVS/running_pool/12_VM1. The contents of the vm.cfg file are as below
bootloader = '/usr/bin/pygrub'
disk = ['file:/var/ovs/mount/616CC4FA976D4352B1630FFCE835FEC5/running_pool/14_VM1/System.img,xvda,w']
keymap = 'en-us'
memory = '1024'
name = '14_VM1'
on_crash = 'restart'
on_reboot = 'restart'
uuid = '3a925bc9-1555-b5bb-b0f0-c5958db65468'
vcpus = 1
vfb = ['type=vnc,vncunused=1,vnclisten=0.0.0.0,vncpasswd=vm123']
vif = ['mac=00:16:3E:02:8B:64, bridge=xenbr0']
Can any one help out in this ASAP.
Thanks in Advance.re..
sorry but did you installed guest OS or not ?
Did you install from image, from dvd ...?
If yes try start youre vm from server terminal
#>xm create -c vm. cfg
*T -
Very Very Urgent Issue: Restricted Key Figure does not return any data
Hi all,
Please help me solving this urgent issue.
created customer exit variable on characterstics version and also
other customer exit variable on Value type.
I coded that in variable exit. Problem is when I include these in
restrickted keyfigure My query does not return me any data.
But if I remove from restrickted key firgure and put it as normal
charaterstics I see the variable is getting populated.
Also in RSRT the SQl generated when these are included in RKF is not
correct.
I debugged and know they are getting populated. As when included in RKF
I can also see the values of customer exit variables from information
tab.
I also know that there is data in cube for those restrictions.
I posted one OSS Notes regarding this urgent issue. But got no reply from SAP.
FYI: We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11
Thanks
SAP BW
**Please do not post the same question twice: Very Urgent Issue: Restricted Key Figure does not return any dataHi,
Everyone out there this is very urgent. If someone can help me solving this problem.
We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
I posted one oss notes also regarding this issue. But got no reply from SAP.
So, Please help me solving this issue.
Thanks
SAP BW -
Ref cursor not returning any data
Hi
How can I raise an exception when ref cursor is not retrieving any data.
create or replace function getempdetails(p_deptno in number)
return sys_refcursor
is
v_refcursor sys_refcursor;
begin
open v_refcursor for
select * from emp
where deptno = p_deptno;
return v_refcursor;
exception
when no_data_found then
dbms_output.put_lline('No data available for p_deptno');
end;
Say for example p_deptno = 12
Thanks
Raghu
Message was edited by:
user584123It is useless but... you can do this
create or replace function getempdetails(
p_deptno in number
return sys_refcursor
is
v_refcursor sys_refcursor;
flag number;
begin
select count(*)
into flag
from emp
where deptno = p_deptno
and rownum = 1;
if ( flag = 0) then
dbms_output.put_lline('No data available for p_deptno');
return null;
else
open v_refcursor for
select * from emp
where deptno = p_deptno;
return v_refcursor;
end if;
end;Bye Alessandro
Message was edited by:
Alessandro Rossi
Or this
create or replace function getempdetails(
p_deptno in number
return sys_refcursor
is
v_refcursor sys_refcursor;
flag number;
begin
select 1
into flag
from emp
where deptno = p_deptno
and rownum = 1; -- This throws the exception
open v_refcursor for
select * from emp
where deptno = p_deptno;
return v_refcursor;
end; -
Hello,
For some reason, the result set returned from the following query will not return one of the columns, and I am stumped. Any help would be appreciated. The column that is returning NULL, even though all the other columns return data is CHQ.CHECK_NO (Note: CHQ.CHECK_DATE is returning data just fine). CHQ.CHECK_NO is defined as Number 15,0
SELECT INV.INVOICE_DATE, INV.VENDORNO, INV.INVOICE_NO, INV.INVOICE_AMOUNT, INV.DUE_DATE, CHQ.CHECK_NO, CHQ.CHECK_DATE, SPAY.COUNT1
FROM APINVOICE INV, CHEQUE_DETAIL CHQDTL, CHEQUE CHQ,
(SELECT VENDORNO, INVOICE_NO, COUNT(*) AS COUNT1
FROM VISPAYMAS
WHERE COMP_CODE_ACCT = 'M'
GROUP BY VENDORNO, INVOICE_NO) SPAY
WHERE INV.ID = CHQDTL.APINVOICE_ID (+) AND CHQDTL.CHEQUE_ID = CHQ.ID (+) AND INV.VENDORNO = SPAY.VENDORNO (+) AND
INV.INVOICE_NO = SPAY.INVOICE_NO (+) AND (INV.VENDORNO = 'AV603') AND (INV.INVOICE_DATE <= '25-JUL-06') AND
(INV.INVOICE_DATE >= '25-JUL-05')
ORDER BY INV.INVOICE_DATE DESCAfter further checking, it appears that indeed all the CHECK_NO data is actually NULL for the result set I am querying. The fact that the CHECK_DATE was returning data lead me to believe that there would have to be a corresponding CHECK_NO.... guess NOT! :) Ugh, I just happened to get stuck with a really odd test result set. Thanks for the help! On trying a different VENDOR_NO in the query, it is returning CHECK_NO data. I'll have to inquire as to why there would be CHECK_DATE data and not a CHECK_NO... hmm.
I did add the TO_DATE() function into my query, thanks for the tip. -
Very Urgent Issue: Restricted Key Figure does not return any data
Hi all,
created customer exit variable on characterstics version and also
other customer exit variable on Value type.
I coded that in variable exit. Problem is when I include these in
restrickted keyfigure My query does not return me any data.
But if I remove from restrickted key firgure and put it as normal
charaterstics I see the variable is getting populated.
Thanks
SAP BWHi,
Everyone out there this is very urgent. If someone can help me solving this problem.
We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
I posted one oss notes also regarding this issue. But got no reply from SAP.
So, Please help me solving this issue.
Thanks
SAP BW -
When using the FM GN_DELIVERY_CREATE i am not getting any delivery created for a PO.
Hi,
After calling any function module, and if it has to do any changes in the SAP database table, u must do Commit work..
After call function, you should give either COMMIT WORK or CALL FUCNTION ' BAPI_TRANSACTION_COMMIT'......i.e
CALL FUNCTION 'GN_DELIVERY_CREATE'
importing
exporting.
either
COMMIT WORK.
or
CALL FUCNTION ' BAPI_TRANSACTION_COMMIT'.
Regards,
Surya -
Enabling Developer dashboard not returning any data
HI,
I have enabled the Developer dashboard using powershell as below. (Usage and Health data collection is enabled in service application).
$svc = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
$dds = $svc.DeveloperDashboardSettings
$dds.DisplayLevel = "OnDemand"
$dds.Update()
I can see the Icon on the site. but no data is getting logged. In the "Get-SPServiceApplication", I can see the service application. How to see data in developer dashboard? I am using publishing site, which has a custom master page.
ThanksHI,
Thanks for the reply.
I have a custom master page, and I can see the below entries in the custom Master page:
<SharePoint:DeveloperDashboard ID="DeveloperDashboard1" runat="server" />
<SharePoint:DeveloperDashboardLauncher
ID="DeveloperDashboardLauncher"
ThemeKey="spcommon"
TouchMode="true"
TouchModeWidth="30"
TouchModeHeight="30"
TouchModePaddingLeft="7"
TouchModePaddingTop="7"
TouchModePaddingRight="7"
TouchModePaddingBottom="7"
NavigateUrl="javascript:return false"
OnClick="ToggleDeveloperDashboard(window.g_ddHostBase);return false"
OuterCssClass="ms-dd-button ms-qatbutton"
runat="server"
ImageUrl="/_layouts/15/images/spcommon.png?rev=23"
AlternateText="<%$Resources:wss,multipages_launchdevdashalt_text%>"
ToolTip="<%$Resources:wss,multipages_launchdevdashalt_text%>"
OffsetX="145"
OffsetY="196"
HoverOffsetX="163"
HoverOffsetY="196"
Height="16"
Width="16" />
But, I am not able to see the "Developer dashboard icon in custom Master page". However, if I use seattle.master (OOB master page), I can see the dashboard Icon.
Also, How to monitor the custom webpart?
Thanks -
Form 10g not returning any data
Hi,
I have created a simple data-block based on a view in a seeded Oracle R12 form. When i run the form, I can see all fields on canvas but as blank. Pre-query trigger fires, on-select fires, on-fetch too fires. But Post-query trigger doesn't fire.
View has 2 rows, so as per my understanding Post-query should fire 2 times. But it doesn't.
When i run the same query on view in Pre-query trigger and get the count. It returns me 2.
Am i missing any setup or property on data block.
Thanks!!
HarleenHarleen,
As you are working on a EBS R12 form, I suggest you post your question in the General EBS Discussion forum. EBS Forms must comply with Oracle Development Standards and there are specific objects that must be included in your form. If you haven't already, you might want to take a look at the Oracle Applications Documentation library. Select your EBS version and then scroll to the Standards section and review the following documents:
<ul>
<li>Oracle Applications Developer's Guide
<li>Oracle Applications User Interface Standards for Forms-Based Products
<li>Oracle Application Framework Personalization Guide
</ul>
Craig... -
I am trying to run transaction KE5Z to display actual line items for a profit center. I enter the following data:
Record type: 0
Version: 0
Controlling Area: CEPH
Posting Period: 1 to 3
Fiscal Year: 2006
I'm leaving the rest wide open. I keep receiving an error message saying "No data found".
Can anyone help?I removed the posting periods and it still generates the message, "No data found".
I did some searching in config and it seems like we don't have Profit Center Accounting fully configured. Is there a table I can look at to confirm if there are any PCA documents even being posted?
Thanks.
Maybe you are looking for
-
Hi Everyone, I had a strange situation occur today with an SMS on my iPhone 5. I signed up for a bank account and a message was sent to me with a few details of my account and a seperate SMS with a temporary PIN Number (from the same number) after au
-
Why whenever I turn on an external HD, iPhoto starts up?
I have an MB Pro, 2.33, with a number of FW and SATA drives. I'm wondering why suddenly when I turn on an external HD, iPhoto starts up? thanks, elmer
-
Software distribution flow in SCCM 2012
Could someone of you help me to understand the software distribution flow in SCCM 2012 (Troubleshooting flowchart), which includes the content library concepts..
-
Missing plug-ins in Logic Pro X after updating OS X Yosemite to 10.10.2
I just updated Yosemite from 10.10.1 to 10.10.2 on my MacBook Pro and opened Logic X after the reboot to find that all of my plug-ins are missing. This includes not only the third party plug-ins that I have installed on my machine but specifically wi
-
Trying to install vmware-player but it wants Xorg-server
Can I build vmware with the Xfree package, or do I need to upgrade to Xorg? Is the Xorg process smooth now? Thanks.