Table Scope problem in subquery
I am trying to execute following update query:
UPDATE STG DAST
SET TRAVEL_COUNTRY = (SELECT TRAVEL_COUNTRY_FULL
FROM (SELECT TRAVEL_COUNTRY_FULL,
RANK() OVER(PARTITION BY A.PERSON_ID ORDER BY A.LAST_UPDATE_DATE DESC, A.LOC_START_DATE DESC, A.LOC_END_DATE ASC) RANK
FROM APPS.TCS_MIS_EIT_LOCATION_EX A
WHERE A.PERSON_ID = DAST.PERSON_ID
AND A.TRAVEL_TYPE = 'S'
AND '01-Nov-2011' BETWEEN A.EFFECTIVE_START_DATE AND A.EFFECTIVE_END_DATE
AND '01-Nov-2011' BETWEEN A.LOC_START_DATE AND A.LOC_END_DATE )
WHERE RANK = 1);
This is giving error as "*DAST.PERSON_ID* : invalid identifier".
But PERSON_ID is a column in STG table. As far as I know table in the outer subquery will be visible in the howsoever inner subquery. But here there seems some problems. Kindly help me solve this .
UPDATE STG DAST
SET TRAVEL_COUNTRY = (
SELECT MAX(TRAVEL_COUNTRY_FULL) KEEP(DENSE_RANK FIRST ORDER BY A.LAST_UPDATE_DATE DESC,A.LOC_START_DATE DESC,A.LOC_END_DATE ASC)
FROM APPS.TCS_MIS_EIT_LOCATION_EX A
WHERE A.PERSON_ID = DAST.PERSON_ID
AND A.TRAVEL_TYPE = 'S'
AND DATE '2011-11-01' BETWEEN A.EFFECTIVE_START_DATE AND A.EFFECTIVE_END_DATE
AND DATE '2011-11-01' BETWEEN A.LOC_START_DATE AND A.LOC_END_DATE
);SY.
Similar Messages
-
What to fill in "temp table scope" for global temporary tables?
Hi,
I'm using Data Modeler 4.0.1.836 and whatever I put in the "temp table scope" box for a global temporary table doesn't seem to affect the DDL script regarding the ON COMMIT PRESERVE/DELETE ROWS option. The script always shows ON COMMIT PRESERVE ROWS no matter what.
Yet, some of my temporary tables must be created as ON COMMIT DELETE ROWS.
The Data Modeler help says the following about this :
Temp Table Scope:
For a table classified as Temporary, you can specify a scope, such as Session or Dimension.
Not sure what "Dimension" has to do with the scope here, but it doesn't make any difference.
I tried putting "Session", "Dimension", "Transaction", but no luck. So what's the text to put for the script to generate ON COMMIT DELETE ROWS?
ThanksHi,
The Temporary Table Scope property (on the Classification Types page of the Table Properties dialog) is purely documentary.
To set ON COMMIT DELETE ROWS you should expand the Browser node for the Relational Model and look for the node for the relevant Oracle Physical Model. If you expand this you will find an entry there for your Table. Double-click on this to get the Physical Model properties dialog for your table, and you will find a "Temporary" property which has options YES (Preserve Rows), YES (Delete Rows) or NO.
David -
Base Table for problem code in Cs_incidents_all_b
hi
in cs_incidents_all_b we have problem_code. the does not contain any data ... we have any tl table for problem code i have cssr_prob_code_mapping_detail but if i query this
SELECT dra.repair_number,
items.description item_desc,
prob.problem_code,
fndl.meaning flow_status_name,
inc.summary,
nvl(cp.instance_number,'Not availble') ib_instance_number
FROM csd_repairs dra,
csd_repair_types_tl drtt,
cs_incidents_all_b sr,
csi_item_instances cp,
fnd_lookups fndl,
csd_flow_statuses_b fsb,
mtl_system_items_kfv items,
mtl_units_of_measure_tl uom,
jtf_rs_resource_extns_tl rstl,
jtf_rs_groups_tl rgtl,
fnd_lookups plkup,
cs_incidents_all_tl inc,
cs_sr_prob_code_mapping_detail prob,
cs_incident_types_b ty
WHERE dra.repair_type_id = drtt.repair_type_id
AND drtt.language = userenv('LANG')
AND dra.repair_mode = 'WIP'
AND dra.incident_id = sr.incident_id
AND dra.CUSTOMER_PRODUCT_ID = cp.INSTANCE_ID (+)
AND dra.flow_status_id = fsb.flow_status_id
AND fsb.flow_status_code = fndl.lookup_code
AND fndl.lookup_type = 'CSD_REPAIR_FLOW_STATUS'
AND dra.inventory_item_id = items.inventory_item_id
AND dra.unit_of_measure = uom.uom_code
AND uom.language = userenv('LANG')
AND dra.resource_id = rstl.resource_id (+)
AND rstl.category (+) = 'EMPLOYEE'
AND rstl.language (+) = userenv('LANG')
AND dra.owning_organization_id = rgtl.group_id (+)
AND rgtl.language (+) = userenv('LANG')
AND dra.ro_priority_code = plkup.lookup_code(+)
AND plkup.lookup_type(+) = 'CSD_RO_PRIORITY'
AND items.organization_id = cs_std.get_item_valdn_orgzn_id
AND inc.incident_id =dra.incident_id
and ty.incident_type_id=sr.incident_type_id
and prob.incident_type_id=ty.incident_type_id
AND fndl.meaning in('Open')
order by dra.repair_numbereach diffrent problem codes for same repair number here i am want records relevant to Depot RepairIn 11.5.9, the problem and resolution codes are stored in FND_LOOKUP_VALUES table with lookup type as 'REQUEST_PROBLEM_CODE' and 'REQUEST_RESOLUTION_CODE'. I'm hoping you could still use these tables to find problem codes, even if you were on 11.5.10 or R12.
Join would be something like:
WHERE fnd_lookup_values.lookup_type = 'REQUEST_PROBLEM_CODE'
AND fnd_lookup_values.problem_code = cs_incidents_all_b.problem_code
Regarding restricting the query for Depot Repair service requests, you need to restrict by the the incident_type_id for this type of SRs (like id for Depot incident type is 10003 for us).
HTH
Alka -
Hi ,
I having a problem communicating with loaded swf inside main
file.
Im using that script to have a transition between external
swf :
http://www.kirupa.com/developer/mx2004/transitions.htm
most of it working fine but im having problem communicating
with variable:
Stage.swf:
The main movie start to play and on its last frame it has the
following action:
this._lockroot=true
//loading the first movie after the animation finish
_root.currMovie = "main";
_root.MC_Container.loadMovie(_root.currMovie+".swf");
stop();
portfolio.swf
Than I press on the portfolio button and I get another main
portfolio swf that has external files loeaded as well.its dividing
the portfolio into categories , each category loading external
file.
First frame:
this._lockroot=true
_root.currMovie = "portfolio_3d";
_root.MC_Container.loadMovie("portfolio_3d.swf");
midframe=10;
stop();
buttons :
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "portfolio_print";
_root.MC_Container.loadMovie("portfolio_print.swf");
} else if (_root.currMovie != "portfolio_print") {
if (_root.MC_Container._currentframe >=
_root.MC_Container.midframe) {
_level.currMovie = "portfolio_print";
_root.MC_Container.play();
portfolio_3d.swf
the external file that loaded into the portfolio file is for
example : portfolio_3d.swf ,
the first frame action:
this._lockroot=true
midframe=10;
middle frame has a stop(); command
the last frame loading the next after the current movie
finish:
_root.MC_Container.loadMovie(_root.currMovie+".swf")
the problem is that in the portfolio page, when I click the
sub categries(3d,print,etc) , I get always the same movie. It seems
like the variable doesn’t see the movie in the lowest level.
It seems like a scop problem
my url :
www.shaygaghe.co.il
thanks for your time ,
Shay Gaghewhat is the script that you have on the buttons on the bottom
of the page that are supposed to load the new content? I think it
may have something to do with your lockroot. -
Table update problem in tabstrip control
Hi experts.
i have one tabstrip control having 4 tabs.
in those tabs i am updating one table say ztable(database table).
my problem is this is happening in pai of every tab.
but what ever i am updateing table those changes will reflect in other tabs.
where i have to write code like pbo or what i should do.
what ever i am updateing in tab1 i have to see in tab2.what ever i have update i should see in tab3.
but it is not showing the updates when we will go for other tabs.
ThanksHi,
Please check the following things :
1 . The Fucntion code type for each tab is blank
2 . Same subscreen area is assigned to each tab
3 . Corresponding subscreen is dynamically incorporated into the subscreen area CALL SUBSCREEN in the flow logic
If you are not doing this, then you are scolling in SAP GUI, not in your program. In this case the values entered in TAB1 won't get reflected in TAB2.
If this is the case in your program, fix the above three points. then it will work. -
I am not quite sure if this is a scope problem at all, but it looks like one....
Here is the problem:
I have a class in which I define a variable x as folowing:
public class XX
public var x:Integer;
In my fx script file I give it a value:
var t: XX {
x: 10
and it seems that it is initialized... however when I try to use the variable inside the class XX, it cannot be done.
for example I what try to do is
public var yy = YY {
for (i in [1..x]){
...do something...
and the cycle is executed only once!
Is this due to my inexperience in javafx or it is a standard behavior?Is this due to my inexperience in javafx or it is a standard behavior? Both? :-)
The classical way to compute a class variable from those initialized at construction time is to do that in an init (or postinit) block.
It isn't really a problem of scope, rather of order of initialization. -
SQL+-MULTI TABLE QUERY PROBLEM
HAI ALL,
ANY SUGGESTION PLEASE?
SUB: SQL+-MULTI TABLE QUERY PROBLEM
SQL+ QUERY GIVEN:
SELECT PATIENT_NUM, PATIENT_NAME, HMTLY_TEST_NAME, HMTLY_RBC_VALUE,
HMTLY_RBC_NORMAL_VALUE, DLC_TEST_NAME, DLC_POLYMORPHS_VALUE,
DLC_POLYMORPHS_NORMAL_VALUE FROM PATIENTS_MASTER1, HAEMATOLOGY1,
DIFFERENTIAL_LEUCOCYTE_COUNT1
WHERE PATIENT_NUM = HMTLY_PATIENT_NUM AND PATIENT_NUM = DLC_PATIENT_NUM AND PATIENT_NUM
= &PATIENT_NUM;
RESULT GOT:
&PATIENT_NUM =1
no rows selected
&PATIENT_NUM=2
no rows selected
&PATIENT_NUM=3
PATIENT_NUM 3
PATIENT_NAME KKKK
HMTLY_TEST_NAME HAEMATOLOGY
HMTLY_RBC_VALUE 4
HMTLY_RBC_NORMAL 4.6-6.0
DLC_TEST_NAME DIFFERENTIAL LEUCOCYTE COUNT
DLC_POLYMORPHS_VALUE 60
DLC_POLYMORPHS_NORMAL_VALUE 40-65
ACTUAL WILL BE:
&PATIENT_NUM=1
PATIENT_NUM 1
PATIENT_NAME BBBB
HMTLY_TEST_NAME HAEMATOLOGY
HMTLY_RBC_VALUE 5
HMTLY_RBC_NORMAL 4.6-6.0
&PATIENT_NUM=2
PATIENT_NUM 2
PATIENT_NAME GGGG
DLC_TEST_NAME DIFFERENTIAL LEUCOCYTE COUNT
DLC_POLYMORPHS_VALUE 42
DLC_POLYMORPHS_NORMAL_VALUE 40-65
&PATIENT_NUM=3
PATIENT_NUM 3
PATIENT_NAME KKKK
HMTLY_TEST_NAME HAEMATOLOGY
HMTLY_RBC_VALUE 4
HMTLY_RBC_NORMAL 4.6-6.0
DLC_TEST_NAME DIFFERENTIAL LEUCOCYTE COUNT
DLC_POLYMORPHS_VALUE 60
DLC_POLYMORPHS_NORMAL_VALUE 40-65
4 TABLES FOR CLINICAL LAB FOR INPUT DATA AND GET REPORT ONLY FOR TESTS MADE FOR PARTICULAR
PATIENT.
TABLE1:PATIENTS_MASTER1
COLUMNS:PATIENT_NUM, PATIENT_NAME,
VALUES:
PATIENT_NUM
1
2
3
4
PATIENT_NAME
BBBB
GGGG
KKKK
PPPP
TABLE2:TESTS_MASTER1
COLUMNS:TEST_NUM, TEST_NAME
VALUES:
TEST_NUM
1
2
TEST_NAME
HAEMATOLOGY
DIFFERENTIAL LEUCOCYTE COUNT
TABLE3:HAEMATOLOGY1
COLUMNS:
HMTLY_NUM,HMTLY_PATIENT_NUM,HMTLY_TEST_NAME,HMTLY_RBC_VALUE,HMTLY_RBC_NORMAL_VALUE
VALUES:
HMTLY_NUM
1
2
HMTLY_PATIENT_NUM
1
3
MTLY_TEST_NAME
HAEMATOLOGY
HAEMATOLOGY
HMTLY_RBC_VALUE
5
4
HMTLY_RBC_NORMAL_VALUE
4.6-6.0
4.6-6.0
TABLE4:DIFFERENTIAL_LEUCOCYTE_COUNT1
COLUMNS:DLC_NUM,DLC_PATIENT_NUM,DLC_TEST_NAME,DLC_POLYMORPHS_VALUE,DLC_POLYMORPHS_
NORMAL_VALUE,
VALUES:
DLC_NUM
1
2
DLC_PATIENT_NUM
2
3
DLC_TEST_NAME
DIFFERENTIAL LEUCOCYTE COUNT
DIFFERENTIAL LEUCOCYTE COUNT
DLC_POLYMORPHS_VALUE
42
60
DLC_POLYMORPHS_NORMAL_VALUE
40-65
40-65
THANKS
RCS
E-MAIL:[email protected]
--------I think you want an OUTER JOIN
SELECT PATIENT_NUM, PATIENT_NAME, HMTLY_TEST_NAME, HMTLY_RBC_VALUE,
HMTLY_RBC_NORMAL_VALUE, DLC_TEST_NAME, DLC_POLYMORPHS_VALUE,
DLC_POLYMORPHS_NORMAL_VALUE
FROM PATIENTS_MASTER1, HAEMATOLOGY1, DIFFERENTIAL_LEUCOCYTE_COUNT1
WHERE PATIENT_NUM = HMTLY_PATIENT_NUM (+)
AND PATIENT_NUM = DLC_PATIENT_NUM (+)
AND PATIENT_NUM = &PATIENT_NUM;Edited by: shoblock on Nov 5, 2008 12:17 PM
outer join marks became stupid emoticons or something. attempting to fix -
Hi all,
I am using a class-based system for all my actionscript, but
am having trouble getting the following code to work properly, and
I am pretty certain it is a scope issue.
public function
setNavButtons(prevStart:Number,prevEnd:Number,nextStart:Number,nextEnd:Number){
var owner = this;
if (prevStart != undefined){
mcPropertiesNav.btnBack.onRelease = function():Void{
owner.reloadView(prevStart,prevEnd);
if (nextStart != undefined){
mcPropertiesNav.btnNext.onRelease = function():Void{
owner.reloadView(nextStart,NextEnd);
I've traced it out and know that when I use the reloadView
method, the prevStart and prevEnd parameters are being passed in as
undefined. Does anyone know how I would reference these variables
within the onRelease functions?
Thanks in advance
RobertIn the code you are posting a scope problem can't be
pinpointed. The arguments you are providing are local to the
function so there is no problem there. We might be able to help if
you post the complete class. -
here is the function:
public void readVector(File file)
AddressBook addressBook = new AddressBook();
try
String string, token1 ="", token2 ="", token3 ="", token4 ="",
token5 ="", token6 ="";
FileInputStream fis1 = new FileInputStream(file);
BufferedReader in = new BufferedReader(new FileReader(file));
StringTokenizer st;
while((string = in.readLine()) != null )
st = new StringTokenizer(string);
token1 = (st.hasMoreTokens())?st.nextToken():"";
token2 = (st.hasMoreTokens())?st.nextToken():"";
token3 = (st.hasMoreTokens())?st.nextToken():"";
token4 = (st.hasMoreTokens())?st.nextToken():"";
token5 = (st.hasMoreTokens())?st.nextToken():"";
token6 = (st.hasMoreTokens())?st.nextToken():"";
Contact c = new Contact(token1, token2, token3, token4, token5, token6);
addressBook.addContact(c);
catch(Exception ex)//catch exception and print stacktrace if try fails
ex.printStackTrace();
problem- some how I need to return the addresBook to another class, I can't do this because of a scope problem. Also if a solution is possible how would I call teh function in my other class.
if this function returns an addressbook
the prototype would be:
AddressBook readVector(File file);
how would I call this functino from another class to obtain the addressbok.I dont know what you mean by scope problem. Maybe you wanna elaborate on that a bit more. However, returning AddressBook should be straightforward. You can actually do it in two slightly different ways.
1. You can define your readVector() method to be static:
public static AddressBook readVector(whatever arguments) {
....your code here...
Assuming you defined this method in class "foo", you can call this method using foo.readVector(arguments). In your calling function, you will probably have something like:
AddressBook addressbk = foo.readVector(arguments);
2. If you dont want to make your readVector() static, you will have to instantiate the class which contains this method. Again assuming class "foo" contains a definition like:
public AddressBook readVector(args) {
....your code...
In your calling method you will do the following:
foo foo_obj = new foo();
AddressBook addrbk = foo_obj.readVector(arguments);
Of course, in either case your foo class has to be visible to the calling method. If your foo class is part of a different package, you will need to import it in the calling class. -
Having Truble Reading and Echoing Using PHP in HTML. Possible Variable Scope Problem?
Hey guys,
Thanks for your always knowledgable help! Today I am working with displaying text from a text file in an HTML table using PHP. I can't get the data to display properly, I think it has something to do with the scope of the variables, but I am not sure. Here is the code I am struggeling with:
<table width="357" border="1" cellspacing="0" cellpadding="0">
<tr>
<td width="165">Pizza 1</td>
<td width="186"><? echo $price['0']; ?></td>
</tr>
<tr>
<td>Burger 1</td>
<td><? echo $price['1']; ?></td>
</tr>
<tr>
<td>Drink 1</td>
<td><? echo $price['2']; ?></td>
</tr>
</table>
In the above PHP (not shown) the array $price is filled properly (I tested by echoing each bit line by line) but by the time we get into the HTML it seems the array is empty or it is not liking how I am calling it. Does the scope of a PHP variable end with the closing "?>" tag? Am I missing something? Bellow is the full code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
body {
background-color: #333;
color: #FFF;
</style>
</head>
<body>
<?php
$menu=fopen("prices.txt","r") or exit("Unable to open file!");
$price=array();
$priceposition=null;
$tempstring;
//This loop does all of the READING and populating of variables
while(!feof($menu))
//Check to see if this is the first pass, if not add one to the array possition
if ($priceposition==null){
$priceposition=0;
else{
$priceposition++;
//populate the temparary string
$tempstring = fgets($menu);
//Populate the array if the temporary string is not a comment
if(substr($tempstring,0,2) != "//"){
$price['$priceposition']= $tempstring;
echo $price['$priceposition'];
//End of reading loop
fclose($menu);
?>
<table width="357" border="1" cellspacing="0" cellpadding="0">
<tr>
<td width="165">Pizza 1</td>
<td width="186"><? echo $price['0']; ?></td>
</tr>
<tr>
<td>Burger 1</td>
<td><? echo $price['1']; ?></td>
</tr>
<tr>
<td>Drink 1</td>
<td><? echo $price['2']; ?></td>
</tr>
</table>
</body>
</html>
and you can run the code on my test server here: christianstest.info/phptest/readwritetesting/readtest.php
thanks guys!MurraySummers wrote:
Try changing this -
fclose($menu);
to this -
fclose($menu);
echo "<pre>";exit(print_r($price));
and see what you get.
Wow, what a great little peice of testing code, thanks! That showed me the problem right away! Is there any way to test your php line by line in Dreamweaver CS6? I am used to computer programing in Visual Studio and Eclipse where they have an option of running code line by line and seing how variables populate and change with each line of code execution. Or is thier a program that can do this for PHP? -
Table Filter Problem with Operators And ,Or
Hi ,
Version : Jdeveloper 11.1.1.5
I Created one view object based on query( Select Empno,Ename From Emp)
Based on View Object - I created adf table .
In Emp table data is as shown below
Empno Ename
1 Hari
2 Ramu and Hari
I made "Filterable" Property true and FilterFeature is CaseInsensitive
When i query 'Ramu a' it will retrive correctly,if i query 'Ramu and' it will show no data to display
Please suggest me how to solve
Note : What i noticed is and ,or are treating as operators
Thanks
SkHi,
tried the same with JDeveloper 11.1.1.6 and it works without problems. The only problem that will arise is if you search for e.g. "Mickey and" to find Mickey and Mouse. Here "and" is recognized as a reserved keyword. However, you work around this by using "Mickey an". Note that you can intercept the table query using a QueryListener to handle cases where key words are used within a string
Frank
Edited by: Frank Nimphius on Apr 27, 2012 7:55 AM -
Hi expert ,
I have the problem on filter , which means
while there is no entry on the table , if click enter the filter action it shows runtim errors like that
Note
The following error text was processed in the system RD1 : Value 1 is not a valid index; context node: COMPONENTCONTROLLER.1.BBU_ITEMS
The error occurred on the application server BLR-RDEV-RD1_RD1_00 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WD_CONTEXT_NODE~GET_ATTRIBUTE_PROPS_FOR_NODE of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: IF_WD_CONTEXT_NODE~GET_ATTRIBUTE_PROPS_FOR_NODE of program CL_WDR_CONTEXT_NODE_MAP=======CP
Method: GET_NODE_STATE of program CL_WDR_TABLE_METHOD_HNDL======CP
Method: IF_WD_TABLE_METHOD_HNDL~APPLY_FILTER of program CL_WDR_TABLE_METHOD_HNDL======CP
Method: ONACTIONBBU_FILTER of program /1BCWDY/EAIL5PBJSQ5EPLFELLCZ==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/EAIL5PBJSQ5EPLFELLCZ==CP
Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
What should i do avoiding this one can anyone let me know about this problem ?
Thanks in advance
Sankar.MHi Sankar,
Do you mean to say like you get a dump when you enter some value in the filter field & press on enter while there is no data in the table?
If yes then give it a try in this manner. I haven't tried it out myself but its just a guess. You would have created an event handler for the FILTER event of your table. Say suppose your action handler method is ONACTIONON_FILTER then within this method you would be saying something like:
METHOD onactionon_filter .
" TABLE_CONTROL is TYPE REF TO IF_WD_TABLE_METHOD_HNDL
" Within WDDOMODIFYVIEW I obtain & save the reference of my table into TABLE_CONTROL
wd_this->table_control->apply_filter( ).
ENDMETHOD.
So instead of directly calling the apply_filter method first try to obtain the data being displayed in the table by using get_static_attributes_table method. Then check if the table is initial & call the apply_filter method only if the table is having some data.
Regards,
Uday -
Table filter problem Jdeveloper 11.1.1.1.0
Hi,
I have problem with table filtering. When I filter table to get only one row I can not select this row to update child table (row is shown as selected).
Is there some option to overcome this problem?
Regards, Rok KogovšekI have problem with table filtering. When I filter table to get only one row I can not select this row to update child table (row is shown as selected).Does your child table have the master table ID in its partialTriggers?
-
DEFTAX_ITEM table updation problem
Dear All,
We are using SAP Ecc 6.0
We have configured service tax through deferred tax codes.
Created Profit center wise Service TAx code and working Fine. Also we are executing S_AC0_52000644 - Deferred Tax Transfer Procedure and working fine.
Now we have created one more Service TAx code (X9) and prepared Purchase Requisition, Purchase Order, and Vendor Invoice .
Also made Advance Payment (DPR) using Purchase Order. All Tax calculation is correct every where.
But when i executed S_AC0_52000644 - Deferred Tax Transfer , it shoes Message 'List contains no Data"
Then checked table DEFTAX_ITEM. So in this table entry was not available for all those document which contains New Service Tax code X9.
All other entries are OK. Even we have made full payment also against Vendor Invoice .
What and where can be a probelm . why it's not updating entries in table DEFTAX_ITEM.
Due to non existance of entries , could not executed procedure S_AC0_52000644 - Deferred Tax Transfer for all documents which contains Service TAx code X9.
For other service tax code , there is o problem. Probelm is only with new tax Code X9.
WHere shall i Check for this probelm.
Regards
Swati ShahHello,
Yes, There was a probelm of Target TAx code
Now solved.
Thanx & Regards
Swati -
Child Table Cache Problem - Only in Environment
Hi All,
I have master-child tables in a page. Master table is based on a VO and child table is based on pl/sql EO. When user updates any child table row and hits on save, I load the same page again by releasing AM. The problem is when the page loads again after update, two records are being shown in child table. One record with old value and other record with the modified value. But in database only record exists and it is successfully updated. If we again hit "Apply" on the page then only the updated record is shown. I am sure this is due to vo/eo caches. But after insert/update, I am forwarding to same page with retain am set to false. So this should clear-off all associated caches. I had even tried to clear vo caches explicitly before redirection. But even this doesnt help. This issue exists only in the environment but cannot be reproduced locally in JDev. Its working perfectly fine in JDev.
Any pointer on the above issue?
Thanks in advance,
Murarihmm...caching may be happening at webbean level rather than the VO level. You can confirm this by getting the value of VO.getrowcount in processRequest.
For both Classical table as well as Advanced Table, clearcache() method is available to clear the cache of data object for inner table. Call this in processRequest. You can put in a check to call this only when you self-redirect to this page.
Maybe you are looking for
-
Dead Line Monitoring for Shopping cart approval(SRM 7.0 Process controlled)
Hi Friends, I am using SRM 7.0 Process controlled Workflow. I need to do below. Dead Line Monitoring details are given below. If the approval workitem is not addressed in 3 business days by Approver, the approver would get reminder email notification
-
How to resolve FRM-40733:PL/SQL built-in DBMS_ERROR_CODE failed error
Hi I am getting the FRM-40733:PL/SQL built-in DBMS_ERROR_CODE failed, when I am trying to search a form FORM1. It was working fine before I developed another form FORM2. The new form FORM2 contains a push button to create a report. Event after deploy
-
GPS problem (?) in new iPad wifi?
If I open Map app, iPad can show me my location... but it seems that the gps won't refresh itself. When I am moving around by car.... the gps will only show me the location where i open the map app and stays there and wont follow my moving car, until
-
Hi all, I just created the .ard file for my project using AddOnRegDataGen.exe, it uses an xml file that holds an UDF, the SAPBouiCOM and SAPBobsCOM dll files. Which files should be delivered to customer to be able to successfully install the add-on ?
-
Remove Bing as default search engine in Safari
Suddenly my Safari default search engine (in the URL bar) has switched to Bing. I changed it back to Google in preferences (on the Safari menu) and although the URL bar says "Search Google or enter address", it still defaults to Bing. Please help.