Getting Error Multi-organization routine failed.
Hi.
I created one LOV of Purchase order. For this I created one View Object. When I am Calling stored procedure from Front by providing selected value from LOV it prompt me error. Multi-organization routine failed to initialize a session for the product: &PRODUCT.
I searched about it and found that I need to set orgId but in my procedure I already defined. following statement.
fnd_client_info.set_org_context(po_head.org_id);
Fnd_Global.INITIALIZE(v_session_id, 0, 50328,20004 ,0, -1, 1/*login_id*/, -1, -1, -1, -1, null,null,null,null,null,null,-1);
mo_global.init (po_head.document_type_code);
mo_global.set_policy_context ('S', po_head.org_id);
What is the Solution for this ?
can I write above code in VO statement ?
or what is the alternative approach ?
Regards
Ajay
Hi,
In my procedure I commented following lines :
fnd_client_info.set_org_context(po_head.org_id);
Fnd_Global.INITIALIZE(v_session_id, 0, 50328,20004 ,0, -1, 1/*login_id*/, -1, -1, -1, -1, null,null,null,null,null,null,-1);
mo_global.init (po_head.document_type_code);
mo_global.set_policy_context ('M', po_head.org_id);
This successfully closed the PO without "Multi org" error but it has given me custom message that I defined when the PO will Not closed.
Then I removed the comment of
mo_global.init (po_head.document_type_code);
and it prompt me with "Multi org error".
Then I commented the
mo_global.init (po_head.document_type_code);
and removed the comment of
fnd_client_info.set_org_context(po_head.org_id);
Fnd_Global.INITIALIZE(v_session_id, 0, 50328,20004 ,0, -1, 1/*login_id*/, -1, -1, -1, -1, null,null,null,null,null,null,-1);
mo_global.set_policy_context ('M', po_head.org_id);
This successfully closed the PO without "Multi org" error but it has given me custom message that I defined when the PO will Not closed.
I m not able to understand what is the actual error...
Regards
Ajay Sharma
Similar Messages
-
My project is not running in ios 7.1 simulator i'm getting error like "iOS Simulator failed to install the application". Please suggest a solution for it.
We aren't Apple, just users like you. Have you tried a reset? Hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)
-
Trying to register with ePrint and getting error code.Ajax submit failed: error = 403, Forbidden. I need help??
To bypass this error attempt either a restart of your computer, or use an alernate broser such as firefox or chrome. If you already have another browser the latter may be the easier fix.
Jon-W
I work on behalf of HP
Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
Click the KUDOS STAR on the left to say “Thanks” for helping! -
Hi all,
I am trying to install Xcode 3.2.5 & Xcode 4.2 in iMac (Mac OS X 10.6.8) , I am getting error message as "Installation Failed". somebody can help me. Thanks in advance.I too have the same error while installing xcode 4.2 in Mac os x 10.6.8.
Can any one solve this issue. -
I'M TRYING TO UPDATE TO IOS 6 BUT I KEEP GETTING ERROR MESSAGE sOFTWARE UPDATE fAILED: AN ERROR OCCURRED DOWNLOADING IOS 6
I Tried for three days to download iOS 6 and kept getting error 1403. I finally went to the apple store and they couldn't figure it out either.
I finally got it to download and all I did different from the other 100 times was I went into settings and on the Bluetooth setting I put NO. Not sure if that's what did it but that was the only thing different that I did. -
Getting Error In the Routine - While writing Code for the Cross Reference.
Hi,
Getting Error In the Start Routine - While writing Code for the Cross Reference from the Text table ( /BIC/TZMDES with Fields /BIC/ZMDES(Key),TXTSH ) Getting Error as [ E:Field "ZMDES" unknown ].
Transformation : IOBJ ZPRJ3(Source) -> IOBJ ZPRJC ( Target ).
The Source Fields are: 0logsys(Key),zprj3(Key),ZDOM3.
The Target Fields are : 0logsys(Key),zprjc(Key),ZDOM3, UID.
Here i am trying to Update the target Field UID by Comparing the Source Field [ zprj3(Key)] with the Text table ( /BIC/TZMDES ) and update the UID.
The Code is as below:
Global Declarations in the Start Routine:
Types: begin of itabtype,
ZMDES type /BIC/TZMDES-/BIC/ZMDES,
TXT type /BIC/TZMDES-TXTSH,
end of itabtype.
data : itab type standard table of itabtype
with key ZMDES,
wa_itab like line of itab.
Routine Code :
select * from /BIC/TZMDES into corresponding fields of table itab for
all entries in SOURCE_PACKAGE
where ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3.
READ TABLE itab INTO wa_itab
WITH KEY ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3
BINARY SEARCH.
IF SY-SUBRC = 0.
RESULT = wa_itab.
CLEAR wa_itab.
The tys_SC_1 structure is :
BEGIN OF tys_SC_1,
InfoObject: 0LOGSYS.
LOGSYS TYPE RSDLOGSYS,
InfoObject: ZPRJ3.
/BIC/ZPRJ3 TYPE /BIC/OIZPRJ3,
InfoObject: ZDOM3.
/BIC/ZDOM3 TYPE /BIC/OIZDOM3,
Field: RECORD.
RECORD TYPE RSARECORD,
END OF tys_SC_1.
TYPES:
tyt_SC_1 TYPE STANDARD TABLE OF tys_SC_1
WITH NON-UNIQUE DEFAULT KEY.
Please suggest with your valuable inputs.
Thanks in AdvanceI have split the code in two.. one for start routine.. other for field routine.. hope this helps
Types: begin of itabtype,
ZMDES type /BIC/TZMDES-/BIC/ZMDES,
TXT type /BIC/TZMDES-TXTSH,
end of itabtype.
data : itab type standard table of itabtype
with key ZMDES,
wa_itab like line of itab.
Start routine
select * from /BIC/TZMDES into corresponding fields of table itab for
all entries in SOURCE_PACKAGE
where ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3.
Sort itab.
field routine
CLEAR wa_itab.
READ TABLE itab INTO wa_itab
WITH KEY ZMDES = SOURCE_FIELD-/BIC/ZPRJ3
BINARY SEARCH.
IF SY-SUBRC = 0.
RESULT = wa_itab-<field name> -
Unable to publish in Swf format. Get error message reads: 'Swf compilation failed. Note: Please verify if any of the actionscript keywords is used as user variable name'. Anyone know how to fix?
Hi There,
Can you tell me the Operating System and Captivate version you are using?
Also can you confirm if you are getting this issue will this one project or all the projects? Try to copy paste this project on a new blank project and then try to publish.
Regards,
Mayank -
Keep getting error message 'itouch application failed' What does this mean
When I turn on my PC I get an error message 'itouch application failed'.
What does this meanhttp://support.apple.com/kb/TS3694#error1004
-
Getting error: Report Application Server failed
I started posting my problem in thread below and have been advised to continue in this forum
Reference thread: The Report Application Server failed
My problem occurs in a asp application (vb 2005) and also when I run the Crystal Report stand alone (xi rel 2).
The asp application does not render any other messages than "report Application Server Failed" but running the CR stand alone I get "error formatting cross tab object". Whenver I get this message and if I switch page setting (either from landscape to portrait or portrait to landscope) it work for the report in question.
I have now advanced a little further in trying to solve the issue or at least find what is wrong. I have created a .net windows application where I export the CR to disk
Dim DiskOpts As CrystalDecisions.Shared.DiskFileDestinationOptions = New CrystalDecisions.Shared.DiskFileDestinationOptions
myCrystalReport1.ExportOptions.ExportDestinationType = CrystalDecisions.[Shared].ExportDestinationType.DiskFile
myCrystalReport1.ExportOptions.ExportFormatType = CrystalDecisions.[Shared].ExportFormatType.PortableDocFormat
DiskOpts.DiskFileName = ReportPath & ReportName
myCrystalReport1.ExportOptions.DestinationOptions = DiskOpts
myCrystalReport1.Export()
I get the same problems, some reports will not let me export and I am getting error:
CrystalDecisions.CrystalReports.Engine.InternalException: The Report Application Server failed ---> System.Runtime.InteropServices.COMException (0x800003E5): The Report Application Server failed
at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
--- End of inner exception stack trace ---
at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export()
My default page set up is landscape and if I now reverse the page set up like: myCrystalReport1.PrintOptions.PaperOrientation = PaperOrientation.Portrait it will let me export.
My windows application exports hundreds of reports in a single run and by toggling between landscape and portrait I manage to get it working when I get an export error (like above).
Was hoping that anyone couldm point me in a good direction, I've been fighting this problems for many days now and I do not have a solution as to why this is happening. Thank you.Hi,
The cross-tab reports that are causing this error, do they have any formatting formulas on any of the objects?
Are your using any running totals or setting the Evaluation Time using WhilePrintingRecords?
I've run into this problem with crosstabs when I created a Display String formula using Running Totals.
The report cannot render the report because the running total is conflicting with the results of the crosstab.
When you right-click an object and go to Format Field. In the Common tab if the Display String has a formula set, remove or comment it out. Do this for all the objects and try running the report again.
Good luck,
Brian -
Getting error -- SoapFaultCode:1 Authentication failed while import TP
Hi All,
While importing Transport in PI we are getting the below error;
Deployment
Transport request : XIDK900283
System : XIQ
tp path : tp
Version and release: 375.33.68 710
CTS Deploy Service - Version 0.92 06.03.2007
========================================================================
Deploy Web service destination = CTSDEPLOY
Directory = /usr/sap/prodtrans/data
SDM Deploy URL =
SLD Deploy URL =
XI Deploy URL = http://test:52200
SoapFaultCode:1 Authentication failed. For details see log entry 002481E407080046000000740000444240
>>>CDB9A36054B360 in security log.
Deployment
End date and time : 20110727180708
Ended with return code: ===> 12 <===
Below is the log when when test in STMS , SAP System ->Check->Transport Tool.
Check Transport Tool 28.07.2011 00:52:09
XIQ System XIQ (PI 7.1 QA)
tp Interface
Transport Profile
RFC Destination
tp Call
Deploy Web Service
Web Service CTSDEPLOY is active
Destination Host=test:52200
Proxy CO_TFLDEPLOY_PROXY_VI_DOCUMENT
Connection Test Exception: cx_ai_system_fault
Deploy Tool
XI URL http://test:52200
XI Logon Data User=NWDI_CTSADM, Password is defined
XI Ping SoapFaultCode:1 Authentication failed..
Please help.
Regards,
Karthik.
Edited by: Karthiksap on Jul 28, 2011 9:14 AMHi Karthik,
Check this link with the same issue:CTS+ For Portal Error: SoapFaultCode:1 Authentication failed
Regards,
Naveen -
Webutil get error wut-115 checksum failed
We are trying to use the file upload function from the webutil package. We are trying to upload a simple text file into a blob failed and we get the following error wut-115 checksum failed. we have initialized the blob field to an empty blob but we still get the error. what causes this error to occurr and what is the best way to try to resolve the issue.
regards,
RobertDuncan:
we tried the package in the reverse direction and everything works fine. We are able to take a file stored in a blob column and download it to the client machine. However we still can not upload a file to a blob column in the database from a client machine. We tried this on multiple pc's. We have a webutil schema and in that schema we have the webutil_db package. this compiles fine. when we invoke our forms we log in as the webutil user. our webutil.cfg file is enabled true to allow database downloads. We are able to get every other functionality to work so far in the webutil package that we tried except for this one. Do you have any suggestions or would even take the time to direct connect in to see the problem?
Also we will need this package to work in the JVM environment currently we have webutil working using jinit. We do alot of work for the navy and army and JVM is the only allowed method we can use for our forms. I have heard that this package is not supported in the native JVM environment. This will hurt the prospects of many military and governmental applications due to them not allowing software installed on the client machine. After all that is why we are using java servlets and oracle over the web for them to access their application.
Regards,
Robert -
Every time i try to sign into eprint i get error message ajax submit failed= 403 hp6500a plus
can not sign in eprint error message ajax submit failed=403
It is a known issue that is being looked into
Although I am not affiliated with HP, please give Kudos if I've answered your question -
When deploying application I get [Error ORABPEL-10902]: compilation failed
Hi all,
I am have two development machines set up, one laptop with just Oracle XE and Oracle SOA installed and a desktop which has Oracle XE, Oracle SOA and Oracle10g. I am getting the following errors on the desktop environment and I am wondering whether their is some conflicts between the Oracle Products.
Any help or ideas would be greatly appreciated, if this is not related to a conflict, what could be causing this, I have looked through the forums and tried a few things but to no avail.
Thanks so much!
When I try to deploy the Ant log gives me this:
Buildfile: C:\temp\SOA10g\labs\SOAEssentials\SelectManufacturer\build.xml
[java] Java Result: 1
validateTask:
[echo]
| Validating workflow
[validateTask] Validation of workflow task definitions is completed without errors
deployProcess:
[echo]
| Deploying bpel process Selectmanufacturer on localhost, port 8888
[deployProcess] Deploying process C:\temp\SOA10g\labs\SOAEssentials\SelectManufacturer\output\bpel_Selectmanufacturer_1.0.jar
BUILD FAILED
C:\temp\SOA10g\labs\SOAEssentials\SelectManufacturer\build.xml:173: A problem occured while connecting to server "localhost" using port "8888": bpel_Selectmanufacturer_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
Error while loading process.
The process domain encountered the following errors while loading the process "SelectManufacturer" (revision "1.0"): null.
If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:285)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:804)
at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:670)
at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
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 com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:317)
at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:339)
at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Total time: 2 secondsCan you check if you DB is up and running ??? Also check you opmn and domain logs. Tell us if you are using any java embedded activity in the bpel process.
-
Getting Error: The underlying provider failed on Open
Hi there,
I am getting above error while executing below code, though it is working fine on another machine. please help me out
log.ActionId = (from x in context.ActionLookUps
where x.ActionDescription == actionMessage
select x).First().ActionId;
context.UserLogs.Add(log);Hi,
This exception gets thrown when something goes wrong connecting to the database. The inner exception should have details about why the connection failed if you check that then it should tell you what is happening.
Since this is working on other machines it is likely something to do with the permissions of the user executing the code or something to do with that specific machine communicating with the database.
If you let us know what the inner exception is then we can probably provide more info.
We are seeing a lot of great Entity Framework questions (and answers) from the community on Stack Overflow. As a result, our team is going to spend more time reading and answering questions posted on Stack Overflow. We would encourage you to post questions
on Stack Overflow using the entity-framework tag. We will also continue to monitor the Entity Framework forum. -
Getting error 2096 quick time failed to initialize
Even though I have uninstalled - reinstalled and both quick time and itunes are loaded I keep getting this error message- any advice?
I'm cooked any answers tried everything Quick Time error 2096 won't load i-tunes
Maybe you are looking for
-
how to Store the Contents present in the Outputstream object into String. outputStream ==> String plz suggest some way
-
Problems with Crystal reports server 2008 VI (Invalid logon information)
I have added a report that connects to the SQL server and also I set up the required ODBC for the report on the server. I could run the report without any issues. When I add the same report to another folder in CMC or add a new report that uses the s
-
Dear all, thanks for the preview - great work! For giving it a start i was playing around with jax-ws annotations. Using @WebService seems to be simple. Just add the annotation and one can run the pojo in JDeveloper. But what about @WebServiceProvide
-
Chat Support just does NOT work!
I can't get chat support to work. Are there ANY other option? I need help with an issue: http://community.skype.com/t5/Rates-and-subscriptions/Looking-for-International-Calling-Texting/m-p/... Obviously, they don't want me to call. But is there reall
-
How to import image file of OS
I was give an .img file of a server......I didn't receive a vm.vfg file at all, I the image was just simply copied from the running_pool on the oracle vm server after it was shut down. Now...can I import this image into another oracle vm server usin