Problem in SLDCHECK - Urgent
Hi,
when i execute SLDCHECK transaction, i get the following error:
<b>Calling function EXCHANGE_PROFILE_GET_PARAMETER
Retrieving data from the XI Profile...
Function call returned exception code 3
Access to the XI Profile is currently disrupted.
=> Check whether you can access the XI Profile using a web browser!</b>
what could be the problem. Its very urgent. Please help me. I read similar postings;but could not arrive at a solution
Please help me...
Thanks in advance,
Rose
Hi Chirag,
Thanks for your reply. i checked that link. but i am not sure where the problem is.
In sldapicust transaction, i have assigned PIAPPLUSER user and set the password. But i do not see this user in SU01 transaction. It says this user does not exist. Is that ok?
Moreover, when i try to login to http://<host>:<port>/sld with PIAPPLUSER user, it says, I do not have permission to view the SLD. Minimum required: UME role with permission com.sap.lcr.LcrUser and J2EE role LcrUser.
Similar Messages
-
I want to buy an in-app purchase but i don`t remember my security questions and i cant access my recovery email either, what can i do? i have 100$ on my account and cant use it because of that problem, please help URGENT
If you have a rescue email address on your account then you can use that - follow steps 1 to 5 half-way down this page will give you a reset link on your account : http://support.apple.com/kb/HT5312
If you don't have a rescue email address (you won't be able to add one until you can answer your questions) then you will need to contact Support in your country to get the questions reset : http://support.apple.com/kb/HT5699 -
Triggers problem - please help - urgent !!
To all experts, please help me with this problem - need answer
urgently. Thanks in advance.
Using Oracle 8 Rel 8.0.6
I have 2 tables (table Y, table Z).
In the 'after insert upd del on each row trigger' (lets call it
AIUD trigger)on table Y, based on certain criteria, I insert a
record in table Z.
New requirement is that whenever a record is inserted in table Z
(fyi, inserting any record in table Z is possible only when
records are inserted in table Y as mentioned earlier thro the
AIUD trigger - i.e. there is no frontend way to insert records
in table Z), if certain (new) criteria is satisfied, I should
insert 1 record in both, table Y and table Z.
I tried to create meet the new requirement by adding code to
existing AIUD trigger but ran into mutating tables error. So I
dropped this idea.
I have now created 'after insert on each row trigger' (lets call
it NEW_TRIGGER) on table Z to meet the new requirement but have
these 2 problems :
1) the trigger always compiles with errors
2) if I still go ahead and insert a record in table Y, I get the
foll error msgs :
ORA 4098 - NEW_TRIGGER is inv
ORA 6512 at line xxx on AIUD
ORA 4088 error during execution of trigger AIUD
What is the best way to work on this requirement or what am I
doing wrong ?
Thanks again,
AG.Your restatement of the problem merely confirms what the previous
posting said. You cannot write a trigger on table Y that inserts
a record into table Y: that's the mutating trigger problem
(there's oodles of postings on the subject, not to mention
online Oracle docs). You could write a trigger on table Z that
inserts into table Y - but you need to be able to see the value
I3 which (presumeable) you can't.
One solution is to use code the trigger on table Y to submit a
call to DBMS_JOB which initiates a procedure that inserts a
record into table Y.
You must remember that the new record in table Y must never
include the value I3, otherwise you'll end up w/ an infinite
loop.
rgds, APC -
Problem with spreads - urgent!
My problem here is that when I want to print my 18-page document, InDesign have decided to make these 18 pages in to 10 spreads.
The result of that is the printer printing 2 pages in one page, in stead of what I want; 1 page on 1 page, thank you!
I have tried to make a new document with the same amount of pages and so on, but it still won't work.
How do I turn it off? Please help me, it's for school and kind of urgent...I am having a similar problem. I am using CS5 and am making a portfolio, for online submission. I want the portfolio to be viewed online as spreads, but be printed out as 8.5 x 11's. This is because I am not in charge of printing out the document, I have to give it over to someone else as a part of an application. I have tried all the ways suggested in this thread, but have not been able to achieve my goals. I feel like perhaps this is something that needs to happen at the level of the PDF in a program like Acrobat if it is possible?
-
Hello good need help since my iphone does not work on 3G only remains in E, please i need urgent help
My carrier says its not their problem so i'm stuck using a fix i found on another thread;
Settings;
Carrier;
Automatic off, 5 sec;
Automatic on, untill you get your carrier back;
Automatic off, pick your carrier manually, then you should have 3G.
Works almost every time, Crazy!!! -
Log4j problem ---- VERY VERY URGENT PLEASE
Hi,
I am new to log4j. In my project( web application -- a testing framework ), there is a requirement to log the errors in a different filres for different requests ( the request may come simultaneously ) , by taking the log file path from the user interface.
To achive the requirement , I am taking both the log file name and log4j.xml file path from the user interface and updating the log4j.xml at runtime, So I am able to log for different requst in different files , but while the 2nd log4j.xml ( the log4j.xml for 2nd request ) is configured ( using DOMConfigurator.configure ) , the errors which are belongs to 1st request are also wrriten in the 2nd log file ( which is configured by log4j.xml -- 2n request ) .
Please help me to find out the solution for this problem( to log in different files for different request distinctly ).
Thanks in advancechandan111 wrote:
Please help me to find out the solution for this problem( to log in different files for different request distinctly ).Since this was "very very urgent", I'm probably too late. Anyway:
The correct way to do this in Log4j would be to use the NDC (Nested Diagnostic Context ) class.
Article -
Zoom problem(help needed urgently please )
friends,
i m working on a class in which there is one JPanel inside a JInternalFrame. i have functionalities like zoomin and zoomout. for that i m writing my code on mouse clicked of JPanel but my problem is that mouseClicked method is getting called several times even if i click once on JPanel and thus zooming the JPanel by a very large value.
please help me if u have any solution for it.Its very urgent.You are still crossposting.
It would be a waste of everyone's time to answer you here, since quite likely others have already helped you elsewhere. -
Zoom problem (help needed urgently)
friends,
i m working on a class in which there is one JPanel inside a JInternalFrame. i have functionalities like zoomin and zoomout. for that i m writing my code on mouse clicked of JPanel but my problem is that mouseClicked method is getting called several times even if i click once on JPanel and thus zooming the JPanel by a very large value.
please help me if u have any solution for it.Its very urgent.it would be difficult to post complete code so i m posting the important part of my code related to this zoom problem.
public class PaintPanel extends JPanel implements MouseListener
public Rectangle normalShape;
public int initialX =0;
public int initialY = 0;
public int finalX = 0;
public int finalY = 0;
protected void paintComponent(Graphics g)
addMouseListener(this);
super.paintComponent(g);
scale = zoomvalue;
// System.out.println("scale value is " + scale);
Graphics2D g2d = (Graphics2D) g;
AffineTransform at = g2d.getTransform();
AffineTransform atnew = new AffineTransform();
atnew.scale(scale,scale);
at.concatenate(atnew);
// g2d.setTransform(at);
g2d.setTransform(at);
public void mouseClicked(MouseEvent e)
// get the position of mouse released
setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
finalX = e.getX();
finalY = e.getY();
temploc3 = finalX;
temploc4 = finalY;
if(WellPlot.zoomFlag)
System.out.println("zoomvalue in mouseClicked " + zoomvalue);
zoomvalue += 0.1 ;
setZoom();
return;
} -
JCheckBox rollback problem.. Urgent
Hi All,
I hv 2 JChkbox and 2JTextField. I want the prev state of the JCheckBox when the cancel button is clicked.
Ex:
I hv Maximum value and Minimumvalue checkboxes.
When the checkbox is not selected I'm enabling the corresponding textboxes.
The problem is, When i open my panel and the Chk boxes is selected and i deselect both the chkboxes. I enter min valu = 10 and max val = 5 and i click the cancel button. Now when i click the cancel the chkboxes sh go to prev state as they are when the panel is opened.
Is there any way to trace it out or any methods to it.
Kindly help me. As it is very Urgent.
Thnks in advance
SSIsn't it a simple matter of remembering the state of the check boxes etc (in other words their 'model' data) when the dialog is popped up and then restoring them to that state if cancel is pressed?
-
Starting tomcat problem, please help urgent
I installed jwsdp on windowsXP . The log file gives this following error when i try to start tomcat:
java.util.zip.ZipException: Access is denied
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:138)
at java.util.jar.JarFile.<init>(JarFile.java:80)
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1081)
at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:200)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:202)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:141)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: Access is denied
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1109)
at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:200)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:202)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:141)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
PLEASE HELP ,URGENTLY NEEDED TO SHOW SOME WORK ON THIS.
THANKS
jimHi,
I have a similar problem, i try to deploy a JAR file built on AIX 5.2 platform (jvm 14.1) into Tomcat 5.5.7 running on Windows platform when i try start Tomcat it's fail with the fellowing message
SEVERE: Error deploying web application directory usi
java.lang.IllegalArgumentException
at java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:299)
at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:238)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:73)
at java.util.jar.JarInputStream.<init>(JarInputStream.java:58)
at java.util.jar.JarInputStream.<init>(JarInputStream.java:43)
at org.apache.catalina.util.ExtensionValidator.getManifest(ExtensionValidator.java:368)
at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:187)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3942)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:909)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:872)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1106)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1019)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1011)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:440)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) -
Problem with nextLine() (urgent!)
well, i'm really confused with this nextLine..
import java.util.Scanner;
public class Main
public static void main(String[] args)
Karyawan[] nama = new Karyawan[20];
nama[0] = new Director("Adri","Anto",50,10000000.0);
nama[1] = new Director("Andreas","Supriyanto",45,12000000.0);
nama[2] = new Director("Zulfikar","Rizki",49,12000000.0);
nama[3] = new Director("Ferry","Rippun",29,25000000.0);
nama[4] = new Director("Ferry","Salim",35,15000000.0);
nama[5] = new Manager("Marisa","Rosari",45,6900000);
nama[6] = new Manager("Eric","Setiawan",39,5000000);
nama[7] = new Manager("Valen","Tina",35,4000000);
nama[8] = new Mandor("Eric","Samuel",38,3500000);
nama[9] = new Mandor("Well","Lina",32,2500000);
nama[10] = new Mandor("Felix","Febrian",31,2200000);
nama[11] = new Mandor("Ferry","Good",40,3000000);
nama[12] = new Buruh("Edwin","Edwin",25,1100000);
nama[13] = new Buruh("Johannes","Mario",26,1200000);
nama[14] = new Buruh("Ferry","Yoes",25,1200000);
nama[15] = new Buruh("Irwin","Lawrencius",24,1100000);
nama[16] = new Buruh("Bagus","Putera",25,1100000);
nama[17] = new Buruh("Ferdinando","Satria",25,1300000);
Scanner input = new Scanner(System.in);
System.out.println("Insert your name : ");
String carinama = input.nextLine();
System.out.println("Status 0:Director, 1:Manager, 2:Mandor, 3:Buruh");
System.out.println("Insert your status (0,1,2,3) : ");
int status = Integer.parseInt(input.nextLine());
for(int i=0;i<20;i++)
if(carinama == nama.namaDepan)
switch(status)
case 0:
if(i<5)
System.out.println("Status = Director");
nama[i].cetakData();
else {}
break;
case 1:
if(i>4 && i<8)
System.out.println("Status = Manager");
nama[i].cetakData();
else {}
break;
case 2:
if(i>7 && i <12)
System.out.println("Status = Mandor");
nama[i].cetakData();
else {}
break;
case 3:
if(i>11)
System.out.println("Status = Buruh");
nama[i].cetakData();
else {}
break;
default: System.out.println("Please insert between 0-3");
else
}String carinama = input.nextLine(); <--- this one works, if i print the carinama, it'll print the name i had inputted...
but the problem is.. let's just say i insert "Adri" for the name
if i insert theif(carinama == "Adri")
System.out.println("Right");
else
System.out.println("Wrong");
that's just an example, the result will be "Wrong"... my question is why is the answer "Wrong" ?
as far as i know, the String carinama should contains "Adri" right? so why is my if always skipped..?
i've tried next() but to no avail..
any help appreciated, and i really need this today >.< (sorry for my bad english)no, you're not late... please help me if you know where's the problem. thx
ah well, why can't i edit my first post.. anyway i've refined my problem to this
but it still not working.. the error is on line 36
if(carinama.equals(nama.namaDepan))NullPointerException <--- i really have no idea what this means...
Edited by: Lucille on May 12, 2008 12:23 AM -
Please help me to solve the problem ---it's urgent
hi everybody
my application is deployed on the weblogic 9.0. I am using the VB DLL through which i am sending the request to the servlet.
When i am pressing the "Color" button in VBDLL to retrieve the color information, server takes the long time nearly 10-12 minutes to return back the color information but it throws the following error
<Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "621" seconds working on the request "Http Request: /sales/appFindSize.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:474)
javelin.client.JobWaiter.blockUntilFinished(JobWaiter.java:45)
javelin.client.ClientUtilsImpl.build(ClientUtilsImpl.java:838)
weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:244)
weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:200)
weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:164)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:224)
weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:383)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:298)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3022)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1925)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1848)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1288)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
please help me to solve this error it is urgent.
Thanks in advance
Pandurang S. PokharkarExchange rates can be entered as a direct or indirect quotation. You can maintain two prefixes that
can be used to differentiate between direct and indirect quotations exchange rates during input and
display. If you don´t set up a prefix, the standard setting is valid:
Ÿ (blank, without a prefix) for direct quotation exchange rates
Ÿ / for indirect quotation exchange rates
n Scenario 1: If you use mainly direct quotation exchange rates and indirect quotation occurs seldom,
use the default configuration. In this way you can enter direct quotation exchange rates without a
prefix.
n Scenario 2: If, in addition to direct quotation exchange rates, the handling of indirect quotation is
required, you should define a prefix that is not blank for both quotation types, e.g.:
Ÿ * for direct quotation exchange rates, / for indirect quotation exchange rates
Ÿ If you follow this suggestion, the configuration does not allow exchange rates to be entered
without a prefix, an error message occurs. Thus users are forced to consider which the correct
quotation is and enter the rate with a valid prefix.
n Scenario 3: If indirect quotation is the major notation at your company, you can configure the
settings this way:
Ÿ * for direct quotation exchange rates, (blank) for indirect quotation exchange rates
Ÿ This configuration allows indirect quotation exchange rates to be entered without a prefix whereas
the less used direct quotation exchange rates have to be entered with a prefix. -
Serious Problem...Urgent Help needed
Hello,
I am facing a problem problem and it seems that it is more related to the parameters we pass to oracle ias server. There is some attribute to be set in deployment descriptor (orion-ejb-jar.xml file) i suppose.
The process is as below:
There are 2 cases i.e.,
1. Insert & Select
2. Select
In case 1, following are the operations taking place :
1. A set of rows will be inserted in the A table
2. The same will be refered and inserted into child tables.
3. Then from other beans, many select queries from different tables
are executed.
4. And finally, the newly inserted row from table A will be selected.
During the point 4 execution, the server throws
java.lang.IllegalStateException: TransactionExpired : java.lang.NullPointerException
In case 2, following are the operations taking place :
In this case, server executes only point 3 & 4( see in case 1). In this case, the exception is not thrown.
It selects all the requested data and works fine.
I am wondering why this problem arises in case 1. The full details of Transaction Expired exception
is as follows :
java.lang.IllegalStateException: Transaction expired: java.lang.NullPointerException
at com.evermind.server.ApplicationServerTransaction.checkStatus(ApplicationServerTransaction.java:203)
at com.evermind.server.ApplicationServerTransaction.enlistResource(ApplicationServerTransaction.java:129)
at com.evermind.server.ApplicationServerTransaction.enlistResource(ApplicationServerTransaction.java:124)
at com.evermind.sql.OrionCMTConnection.intercept(OrionCMTConnection.java:81)
at com.evermind.sql.FilterConnection.prepareStatement(FilterConnection.java:240)
at com.gpt.io.dxfimport.entity.parse.SelectObject.retrieveDXFObjects(SelectObject.java:86)
at com.gpt.io.dxfimport.entity.parse.ParsedDataBean.ejbLoad(ParsedDataBean.java:224)
at ParsedData_EntityBeanWrapper8.loadState(ParsedData_EntityBeanWrapper8.java:638)
at com.evermind.server.ejb.EntityEJBObject.endTransaction(EntityEJBObject.java:107)
at com.evermind.server.ApplicationServerTransactionSynchronization.freeResources(ApplicationServerTransactionSynchronization.java:87)
at com.evermind.server.ApplicationServerTransaction.freeResources(ApplicationServerTransaction.java:798)
at com.evermind.server.ApplicationServerTransactionSynchronization.afterCompletion(ApplicationServerTransactionSynchronization.java:533)
at com.evermind.server.ApplicationServerTransaction.rollback(ApplicationServerTransaction.java:348)
at com.evermind.server.ApplicationServerTransaction.end(ApplicationServerTransaction.java:539)
at UserInfo_StatefulSessionBeanWrapper16.getDXFData(UserInfo_StatefulSessionBeanWrapper16.java:6610)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:66)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)
Normally in case 1, transaction would take at the max of 2 min. Though i have changed the data-sources.xml and server.xml timeouts to 10 min...i am facing the same problem.
Another information which i required is, How to utilize connection pooling using ejb's? If possible, Please give me the required paramaters for data-source.xml in order to utilise the connection pool...
I have read in many sites, that giving pool-location in data-source.xml, the data-sources will be registered in the pool. I tried out the same, the pooling was not utilised...Below is my data-sources.xml file contents:
<data-source
class="oracle.jdbc.pool.OracleConnectionCacheImpl"
name="GPTPool"
location="GPTPool"
pooled-location="jdbc/GPTPool"
xa-location="jdbc/xa/GPTPool"
ejb-location="jdbc/GPTPool"
min-connections="5"
max-connections="49"
connection-driver="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@10.10.11.46:1521:FMS"
inactivity-timeout="60000"
wait-timeout="6000"
/>
With the above given settings, OC4J throws a error message i.e., java.sql.SQLException: ORA-00020: maximum number of processes (50) exceeded
Above exception is thrown during getConnection().
If i increase the inactivity-time-out then, i can use connections for some more time. I didnt understand the flow of it...
Please let me know as how to utilise connection pooling so that it may solve ORA-000020 problem.
Waiting for your early response.
Thanx & Regards,
AchyuthAchyuth,
The error is coming from Oracle DB. Please ask your DBA to increase the processes to a higher value in the init.ora.
regards
Debu -
Process order problem in COR2 - Urgent Please
hi i have a problem in COR2.
After creating the process order i TECO Technically complete the same,
and when i save the process order the system just hangs.
When i debugged the code i found that issue is inside the functional module CO_ZV_ORDER_POST - Create/change end routine order.
It does not do the commit work properly. this is in PRD so please help me to resolve this
I checked for other system and the process order gets saved.
What should i do
please helpjust compare the function module in both PRD & DEV so that see the difference in the code level or else in the debug mode upto the hanging code level ....
i think it is because of the performance issue .... so need to be created the index of the table which it gets updated .....
becuase as your FM is for create/chande .... so it will be an big table .... so see it and do the performace trace and create the index ..
ST05 ,SCI , SM30 .... These are some of the tracscation code for Code Insecptor , performance trace & SQL trace , Runtime Analysis..
seee if the code is same in both the system ... then it is confirmed as performance issue ....
if the code is different then it is patch level issue ... tell to basis to check the patch level of that both system and apply it.
reward points if it is usefull ...
Girish -
Problem...urgent solution needed
The problem is... table A and table B are related with B as parent table and A child. The value of id (primary key) of table B needs to be populated with the column Bid when the following where condition satisfies.
A.x=B.x and A.y=B.y and A.z=B.z for every value of A
My problem is to create either a procedure, a function or a package which populates the value of B.id in table A with the above where condition for id value of A
I created a function which gives me the return value of Bid but unable to update the table as several ids of table A have the same value of Bid.
select A.id into bid from A,B where A.x=B.x and A.y=B.y and A.z=B.z;
return bid;
but in the same function I am unable to update
update A set bid=bid;
taking the return value from the function. I am unable to understand why? I am pretty weak in pl/sql kindly help me if am making some mistake. I NEED HELP FAST...THANKS IN ADVANCE
Can anyone suggest me the solution?Thank you so much. I tried the update statement in two ways
1)by putting just the update statement in the function. it gave an error which says
4/1 PL/SQL: SQL Statement ignored
5/23 PL/SQL: ORA-00925: missing INTO keyword
2) I tried my another function where i retrieve the value of
begin
SELECT a.ID INTO V_a_ID
FROM a,
b
WHERE a.x= p_ID
AND a.y = code
AND upper(TRIM(a.z)) = upper(p_S_NAME)
AND (to_number(nvl(P_H_N,'0'))
BETWEEN to_number(a.h) AND
to_number(a.hb))
AND substr(P_q,1,5) = substr(a.q,1,5)
AND upper(P_r) = upper(a.r) and b.id=bid
RETURN V_a_ID;
update a set adrlib_id=(select b.id from b where a.x=b.x and a.y=b.y and a.z = b.z and (a.r between b.r and b.r1));
in the second instance, the retrieval of bid works fine but the update is ignored. please suggest. I also want to mention that for every value of a.id there are more than one values of bid. so the update will return more than one rows. kindly help.
Maybe you are looking for
-
Help needed in Va11 screen?
Hello ABAPers, I want to know is it possible to add a field in Program - SAPMV45A and screen number - 4021 with out any access key. If yes please can anyone give me the procedure to make it. I have copied all the includes of SAPMV45A in
-
I am having problems with Adobe Reader 7.0. When I try to open an attachment, this pops up "Adobe Reader 7.0 has encountered a problem and needs to close. In reading the error message, it states "this error report inlcudes info regarding the condit
-
Is there a way to change the icons in the GUI from gray to color? It would make them easier to identify quickly. I'm a new user (just bought the software yesterday evening). Thanks, Dave
-
Displaying local hostname on Desktop
Hello, due to my work i have multiple remote-desktop sessions open and sometimes this end up in a mess cause you miss-select an app from the wrong remote session. That's why i am wondering if there is a solution using onboard utilities to display the
-
IPhone 5 cellular data charges while using wifi - Carrier AT&T
My iPhone 5 uses cellular data even when connected to wifi.i. Although some periods show data usage while I was home asleep, other periods were while I was awake and using the wifi with another computer so I know my home network was working during t