Error while executing function
hiii all,
hope doing welll
iam getting error while executing the function and error is
ORA-00932: inconsistent datatypes: expected NUMBER got AMPLEX_GRAND1.SYS_PLSQL_75185_9_1
hii sir this is my function
create or replace
FUNCTION FnFetchEmployeesforjobsheet
v_user_id IN NUMBER
RETURN FnFetchEmployeesforjobshee_pkg.tt_v_employees_type PIPELINED
AS
--declare @manager as int
v_empid VARCHAR2(20);
v_compid VARCHAR2(20);
v_temp NUMBER(1, 0) := 0;
v_temp_1 SYS_REFCURSOR;
v_temp_2 TT_V_EMPLOYEES%ROWTYPE;
BEGIN
BEGIN
SELECT 1 INTO v_temp
FROM DUAL
WHERE EXISTS ( SELECT 1
FROM user_list
WHERE Access_level = 0
AND USER_ID = v_user_id );
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
IF v_temp = 1 THEN
BEGIN
SELECT Emp_ID
INTO v_empid
FROM User_List
WHERE USER_ID = v_user_id;
SELECT Comp_ID
INTO v_compid
FROM Employee
WHERE Emp_ID = v_empid;
INSERT INTO tt_v_employees
( SELECT DISTINCT Emp_id ,
v_user_id
FROM employee
WHERE Comp_ID = v_compid );
END;
END IF;
BEGIN
SELECT 1 INTO v_temp
FROM DUAL
WHERE EXISTS ( SELECT 1
FROM user_list
WHERE Access_level = 2
AND USER_ID = v_user_id );
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
IF v_temp = 1 THEN
BEGIN
INSERT INTO tt_v_employees
( SELECT e.Emp_ID ,
v_user_id
FROM employee e
JOIN user_list ul
ON ul.Emp_ID = e.Emp_ID
WHERE USER_ID = v_user_id );
END;
END IF;
BEGIN
SELECT 1 INTO v_temp
FROM DUAL
WHERE EXISTS ( SELECT 1
FROM user_list
WHERE Access_level = 1
AND USER_ID = v_user_id );
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
IF v_temp = 1 THEN
DECLARE
v_Emp_id VARCHAR2(50);
BEGIN
SELECT e.Emp_id
INTO v_Emp_id
FROM employee e
JOIN user_list ul
ON ul.Emp_ID = e.Emp_ID
WHERE USER_ID = v_user_id;
--insert @employees select e.Emp_id,User_ID from employee e inner join user_list ul on ul.Emp_ID = e.Emp_ID
--where User_ID = @user_id
--insert @employees select Emp_ID from User_List where User_Id=@user_id
INSERT INTO tt_v_employees
( Emp_ID )
VALUES ( v_Emp_id );
INSERT INTO tt_v_employees
--select Emp_ID,@user_id from employee where Emp_ID = @Emp_id
--union
SELECT Emp_ID ,
v_user_id
FROM employee
WHERE Managerid = v_Emp_id
AND STATUS = 1 );
END;
END IF;
OPEN v_temp_1 FOR
SELECT *
FROM tt_v_employees;
LOOP
FETCH v_temp_1 INTO v_temp_2;
EXIT WHEN v_temp_1%NOTFOUND;
PIPE ROW ( v_temp_2 );
END LOOP;
END;
and my table is
CREATE GLOBAL TEMPORARY TABLE tt_v_employees
Emp_ID VARCHAR2(8) ,
USER_ID NUMBER(10,0)
and i am executing this function ,like this
select FnFetchEmployeesforjobshee_pkg.FnFetchEmployeesforjobsheet('1') from dual; and getting this error
SQL Error: ORA-00904: "FNFETCHEMPLOYEESFORJOBSHEE_PKG"."FNFETCHEMPLOYEESFORJOBSHEET": invalid identifier
00904. 00000 - "%s: invalid identifier"
Similar Messages
-
Error while executing Function Module UNIT_CONVERSION_WITH_FACTOR.
Hi experts:
I'm trying to use the UNIT_CONVERSION_WITH_FACTOR Function Module on
BW but an error message appears, I searched for Notes on the SAP
Marketplace but only found a single note that describes the same
situation that we're experiencing (SAP Note 1333415), the thing is that
such a note is applicable for SAP BASIS version 702 but I'm using SAP
BASIS version 700.
Steps for Reconstruction
- On transaction SE37 call the u201CUNIT_CONVERSION_WITH_FACTORu201D Function
Module.
- Click on the u201CTest/Executeu201D button (or press the F8 key).
- Enter the following values:
o ADD_CONST = 0
o DENOMINATOR = 1
o INPUT = 20
o NUMERATOR = 1568
- Click on the u201CExecuteu201D button (or press the F8 key).
- The Exception u201CTYPE_INVALIDu201D is reached and the following message
appears: u201CUse a number field for field OUTPUTu201D.
I also tried to use this Function Module on R/3 and the result was the same.
Do you have any suggestion to fix this error?
Thanks in advance for your help,
Francisco Milán.Hi Francisco,
Check with SAP Note No. 854978.
Hope this would help you.
Rgds,
Mohit -
Error while executing planning Function
Hi All,
I'm getting some error while executing planning function. Below are errors. Please check and provide solution.
Errors occurred when executing planning function RTFMPF01/RTFMPG01
Value 08 of chara Region does not correspond to the attrib.val MI of chara Store
Value 10 of chara Region does not correspond to the attrib.val RM of chara Store
Value 11 of chara Region does not correspond to the attrib.val NA of chara Store
Thanks,
VamsiHi,
Value 08 of chara Region does not correspond to the attrib.val MI of chara Store
Looks like there is a characteristics relationship which derives the attribute store from Region.
Check the master data for Region for attribute Store and the corresponding values.
The values that are maintained in the master data will only be allowed to enter in the cube.
Thanks
pratyush -
Error while executing C MEX S-function 'sysgen', (mdlTerminate)
Hi
We are trying to use System generator with Vivado 2014.4. We are encountering the above problem, which is causing a segmentation violation and MATLAB crach, when a simulation in sysgen is finishing up.
It seems like that there has been an equivalent problem before, in an older version of System Generator, which has been answered in AR#31095. Search results say that this AR was:
Why do I receive "Error while executing C MEX S-function 'sysgen', (mdlTerminate). Unexpected unknown exception from MEX file" when I simulate my System Generator model? How do I set up my system environment properly? See (Xilinx Answer 31095).
Unfortunately, the AR is missing in the xilinx site. What did this answer record say? Might be applicable to our case?
That is because the bpel file contains the absolute path to the xsl file instead of the relative path.
ora:doXSLTransformForDoc('file:/C:/JDeveloper/mywork/xsl/tranform_02.xsl' .....
should be
ora:doXSLTransformForDoc('xsl/tranform_02.xsl' .....
As far as I know, this is a bug in JDeveloper for putting this information here. I've removed it using the source view only to find it there again. -
Error while executing the service - The service method not defined error
Hi,
I am using Oracle UCM Content server 11g. I have created a custom service using component wizard. I have provided class name and method correct in the service declarations. The method should return manipulated Revision Label value. I am executing the service as a direct service and not subservice from a resource file using the following command.
<$executeService("servicename")$>
The serice is getting called but I am getting the following error log
Event generated by user 'weblogic' at host 'localhost:16200'. Unable to execute service Edit_Revision_Label and function generateRevLabelInfo.
The service method 'generateRevLabelInfo' is not defined. [ Details ]
An error has occurred. The stack trace below shows more information.
!csUserEventMessage,weblogic,localhost:16200!$!csServiceDataException,Edit_Revision_Label,generateRevLabelInfo!$!csMethodNotDefined,generateRevLabelInfo
intradoc.common.ServiceException: !csServiceDataException,Edit_Revision_Label,generateRevLabelInfo!$
*ScriptStack Edit_Revision_Label
Edit_Revision_Label,dDocName=3:generateRevLabelInfo,dDocName=
at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
at intradoc.server.Service.buildServiceException(Service.java:2260)
at intradoc.server.Service.createServiceExceptionEx(Service.java:2254)
at intradoc.server.Service.createServiceException(Service.java:2249)
at intradoc.server.ServiceRequestImplementor.handleActionException(ServiceRequestImplementor.java:1766)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1716)
at intradoc.server.Service.doAction(Service.java:477)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
at intradoc.server.Service.doActions(Service.java:472)
at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1322)
at intradoc.server.Service.executeSubServiceCode(Service.java:3866)
at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1200)
at intradoc.server.Service.executeServiceEx(Service.java:3861)
at intradoc.server.ServiceRequestImplementor.executeSafeServiceInNewContext(ServiceRequestImplementor.java:1231)
at intradoc.server.Service.executeSafeServiceInNewContext(Service.java:3856)
at intradoc.server.script.ServiceScriptExtensions.evaluateFunction(ServiceScriptExtensions.java:269)
at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1430)
at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:908)
at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:623)
at intradoc.common.DynamicHtml.substituteVariable(DynamicHtml.java:1394)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1110)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:991)
at intradoc.common.DynamicHtmlMerger.outputDynamicHtmlPage(DynamicHtmlMerger.java:2007)
at intradoc.server.Service.buildResponsePage(Service.java:1267)
at intradoc.server.Service.doResponse(Service.java:2076)
at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:802)
at intradoc.server.Service.doRequest(Service.java:1890)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1343)
at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1715)
at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:222)
at sun.reflect.GeneratedMethodAccessor1173.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1600)
at idcservlet.IdcFilter.doFilter(IdcFilter.java:352)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: intradoc.data.DataException: !csMethodNotDefined,generateRevLabelInfo
at intradoc.server.Service.doCodeEx(Service.java:561)
at intradoc.server.Service.doCode(Service.java:505)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
at intradoc.server.Service.doAction(Service.java:477)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
at intradoc.server.Service.doActions(Service.java:473)
at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1323)
at intradoc.server.Service.executeSubServiceCode(Service.java:3867)
at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1200)
at intradoc.server.Service.executeServiceEx(Service.java:3862)
at intradoc.server.ServiceRequestImplementor.executeSafeServiceInNewContext(ServiceRequestImplementor.java:1231)
at intradoc.server.Service.executeSafeServiceInNewContext(Service.java:3857)
at intradoc.server.script.ServiceScriptExtensions.evaluateFunction(ServiceScriptExtensions.java:269)
at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1430)
at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:908)
at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:623)
at intradoc.common.DynamicHtml.substituteVariable(DynamicHtml.java:1394)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1110)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1227)
at intradoc.common.DynamicHtml.outputHtmlFromStart(DynamicHtml.java:1020)
at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:991)
at intradoc.common.DynamicHtmlMerger.outputDynamicHtmlPage(DynamicHtmlMerger.java:2007)
at intradoc.server.Service.buildResponsePage(Service.java:1267)
at intradoc.server.Service.doResponse(Service.java:2076)
at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:802)
at intradoc.server.Service.doRequest(Service.java:1890)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1346)
at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1715)
at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:222)
at sun.reflect.GeneratedMethodAccessor1173.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:88)
at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1600)
at idcservlet.IdcFilter.doFilter(IdcFilter.java:352)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Please let me know the suggestions and the resolution on the above issue
Thanks in advance,
SarangHirva wrote:
Trying to get access to the sun convergence we get this error
"Error while executing the service request : : Login to Mail Service failed " after a look around we found out that the problem was that some one had deleted the msg-admin-server user from the ldap.What else was "accidentally" deleted? Do you have audit logging enabled for Directory Server?
but still doesnt work? where else should we look?Messaging Server also creates a msg-admin group ("cn=Messaging End User Administrators Group") which is used for Directory Server ACI purposes. You can see the entries that Messaging Server added during initial configuration by reviewing the *.ldif files under the following directory (MS7.0 32bit):
/var/opt/sun/comms/messaging/install/Regards,
Shane. -
Serious system error while executing the query: java.lang.OutOfMemoryError
From ALSB, we are trying to insert records in a table, by calling the ALDSP webservice. It is working fine when the xml (ie., given as input to the ALDSP webservice) is small. But facing the following error when the input xml size is large.
<ALDSP> <BEA-000000> <Product> <Serious system error while executing the query:
{ld:ABC/Test}createTest:1
java.lang.OutOfMemoryError: Java heap space
We do not want to increase the heap size. Is there any other way we can solve this problem?In logical dataservice of ALDSP we have created a procedure called createTest, which is used to insert mulitple rows in the table. We have created a webservice for that logical DataService.
Using the ALSB, we are calling the webservice -> createTest Operation and we are passing xml as input to that createTest function.
Input xml:
<ns1:createTest>
<ns1:createTemps>
<ns0:createTemp>
<ns0:field1>1</ns0:field1>
<ns0:field10>test1</ns0:field10>
</ns0:createTemp>
<ns0:createTemp>
<ns0:field1>2</ns0:field1>
<ns0:field10>test2</ns0:field10>
</ns0:createTemp>
</ns1:createTemps>
</ns1:createTest>
each ns0:createTemp represent a row that need to be inserted in the table.
When the number of ns0:createTemp is less ( when the number of rows that need to be inserted is less) then no problem occurs, it is getting inserted properly. But when there are more number of ns0:createTemp then we are getting the following error
<ALDSP> <BEA-000000> <Product> <Serious system error while executing the query:
{ld:ABC/Test}createTest:1
java.lang.OutOfMemoryError: Java heap space -
Error while executing sales tax report S_ALR_87012394
Hi,
I am getting the below error while executing the sales tax report S_ALR_87012394.
Infomration: I have maintained the tax jurisdiction code 9 digits initially.after that i have maintained with 10 digits
Tax jurisdiction LA0000000 has defective structure
Message no. FS790
Diagnosis
When calling the GET_JURISDICTION_LEVEL_TTXD function module, a tax jurisdiction code was transferred which does not correspond to the structure specified in the table.
Procedure
Check the calculation procedure for the company code and determine the respective tax jurisdiction length and structure in Customizing. Check that the tax jurisdiction code transferred corresponds to the tax jurisdiction length and structure.
kindly help me
Thanks
Supriyacheck is there any notes which you have to apply to correct already posted entries with 9 digits. because of this its generating this error
-
Error while executing LUW in SM58 - Mess.No.SY359
hi,
error while executing LUW in SM58
Error. Mess.No.SY359
"Function module does not exist or EXCEPTION raised-sy359"
trfc has been configured and try to push the Idoc through SM58 need help on this.
Regards
LeoHi,
This error is related to RFC settings and also the logon group in RZ12
Kindly generate the appropriated logon groups and confirm if the idocs are flowing
Thanks -
Debug error: Errors while executing step
Hi gurus:
While debugging a complex mapping, I received the following error.
DEPENDENCY: EXPR executing...
Errors while executing step
DEBUG INPUT ROW: 1
TABLE: DBG$ID2_MTL_SYSTEM_ITEM_B_GR
STATEMENT: TRACE177:TRACE180:
"GE_8_SY"
("DBG$ID2_MTL_SYSTEM_ITEM_B_GR_I$1"):=
""DW_PG".GET_COURSE("MT_1_IN$2"
("DBG$ID2_MTL_SYSTEM_ITEM_B_GR_I$1"), "MT_2_OR$2"
("DBG$ID2_MTL_SYSTEM_ITEM_B_GR_I$1"), 'CATEGORIES', 5)/*ATTRIBUTE EXPR.OUTGRP1.ID2:EXPRESSION*/;
ORA-29280: invalid directory path
ORA-06512: at "SYS.UTL_FILE", line 41
ORA-06512: at "SYS.UTL_FILE", line 478
ORA-06512: at "DW_PKG", line 377
ORA-06512: at "DW_PKG", line 3424
ORA-01403: no data found
As a background, the error occurred at EXPR step which is calling a function. Function calls additional tables in the source schema (tables not brought into Staging) I have imported the Package from the DB (Target) Do I need to do something special for the function to be able to access the tables in the source schema?
Thanks in advance for your help.I ran into a similar problem about a year ago. Very random, but kept happening at least once a week. Finally figured out that the static IP address for our server was left in the dynamic IP address pool. So every so often, the address was dynamically assigned to a second machine. Which caused a similar type of problem that you are seeing. I don't know if this is your problem. But it sounds familiar.
Hope it helps.
Mike -
Error while executing bapi "BAPI_ISUPARTNER_CREATEFROMDATA".
Hi experts
i am trying to create new business partner through bapi "BAPI_ISUPARTNER_CREATEFROMDATA".
is this bapi is right one for creating new BP in SAP-ISU?
if yes then i am geeting this error while executing the bapi "Enter an address for contract partner".
i am providing this inputs to bapi
1. TYPE___
2. BPkind
3.bpext
4.last_name
5.title.
can anybody give me the soloutions....its urgent
Thanks in adavance
kunaalhi shiva,
i want to create BP with role contract partner.
i have used below code . this code create bapi but not create address for that particular BP, pls send code.
thanx
Pradeep Sharma
*& Report ZBPBAPI
REPORT ZBPBAPI.
DATA: BPC LIKE BAPIBUS1006_HEAD-PARTN_CAT,
CNTDATA LIKE BAPIBUS1006_CENTRAL OCCURS 0 WITH HEADER LINE,
BP LIKE BAPIBUS1006_HEAD-BPARTNER.
DATA:
gs_centraldata TYPE bapibus1006_central,
gs_centraldataorganization TYPE bapibus1006_central_organ,
gs_addressdata TYPE bapibus1006_address,
it_return TYPE TABLE OF bapiret2,
lv_customer TYPE bu_partner,
GS_PERSON TYPE BAPIBUS1006_CENTRAL_PERSON,
GS_ADD TYPE BAPIBUS1006_ADDRESS.
*GS_CAT TYPE BAPIBUS1006_HEAD-BPARTNER.
move:
'PRADEEP' TO GS_PERSON-FIRSTNAME,
'SHARMA' TO GS_PERSON-LASTNAME,
'EN' TO GS_PERSON-CORRESPONDLANGUAGE,
'EN' TO gs_centraldata-PARTNERLANGUAGE,
'0002' TO gs_centraldata-TITLE_KEY,
'01' TO GS_ADD-EXTADDRESSNUMBER,
'X' TO GS_ADD-standardaddress,
'831001' TO GS_ADD-postl_cod1,
'Melbourne' TO GS_ADD-city,
'Street' TO GS_ADD-street,
'246' TO GS_ADD-house_no,
'in' TO GS_ADD-country,
'07' TO GS_ADD-region,
'EN' TO GS_ADD-langu.
CALL FUNCTION 'BAPI_BUPA_CREATE_FROM_DATA'
EXPORTING
BUSINESSPARTNEREXTERN = GS_CAT
PARTNERCATEGORY = '1'
PARTNERGROUP =
CENTRALDATA = gs_centraldata
CENTRALDATAPERSON = GS_PERSON
CENTRALDATAORGANIZATION = gs_centraldataorganization
CENTRALDATAGROUP =
ADDRESSDATA = gs_addressdata
DUPLICATE_MESSAGE_TYPE =
ACCEPT_ERROR = ' '
IMPORTING
BUSINESSPARTNER = BP
TABLES
TELEFONDATA =
FAXDATA =
TELETEXDATA =
TELEXDATA =
E_MAILDATA =
RMLADDRESSDATA =
X400ADDRESSDATA =
RFCADDRESSDATA =
PRTADDRESSDATA =
SSFADDRESSDATA =
URIADDRESSDATA =
PAGADDRESSDATA =
ADDRESSNOTES =
COMMUNICATIONNOTES =
COMMUNICATIONUSAGE =
TELEFONDATANONADDRESS =
FAXDATANONADDRESS =
TELETEXDATANONADDRESS =
TELEXDATANONADDRESS =
E_MAILDATANONADDRESS =
RMLADDRESSDATANONADDRESS =
X400ADDRESSDATANONADDRESS =
RFCADDRESSDATANONADDRESS =
PRTADDRESSDATANONADDRESS =
SSFADDRESSDATANONADDRESS =
URIADDRESSDATANONADDRESS =
PAGADDRESSDATANONADDRESS =
COMMUNICATIONNOTESNONADDRESS =
COMMUNICATIONUSAGENONADDRESS =
RETURN =
ADDRESSDUPLICATES =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
IMPORTING
RETURN =
CALL FUNCTION 'BAPI_BUPA_ROLE_ADD_2'
EXPORTING
businesspartner = BP
businesspartnerrole = 'MKK'
TABLES
return = it_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
CALL FUNCTION 'BAPI_BUPA_ADDRESS_ADD'
EXPORTING
BUSINESSPARTNER = BP
ADDRESSDATA = GS_ADD
DUPLICATE_MESSAGE_TYPE =
ACCEPT_ERROR = ' '
IMPORTING
ADDRESSGUID =
TABLES
BAPIADTEL =
BAPIADFAX =
BAPIADTTX =
BAPIADTLX =
BAPIADSMTP =
BAPIADRML =
BAPIADX400 =
BAPIADRFC =
BAPIADPRT =
BAPIADSSF =
BAPIADURI =
BAPIADPAG =
BAPIAD_REM =
BAPICOMREM =
ADDRESSUSAGE =
BAPIADUSE =
RETURN =
ADDRESSDUPLICATES =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
WRITE BP. -
Errors while executing bapi_po_create1
Hi experts,
I am getting errors while executing bapi_po_create1.
The errors are -
1. No instance of object type purchaseorder has been created.External reference
2.Purchase order still contain faulty item
Please help <removed by moderator>.
Thanks
Sahil
Edited by: Thomas Zloch on Sep 14, 2010 2:30 PMHi,
Check this code it may help you.
DATA:
W_BAPIMEPOHEADER TYPE BAPIMEPOHEADER,
W_BAPIMEPOHEADERX TYPE BAPIMEPOHEADERX,
T_BAPIRET2 TYPE STANDARD TABLE OF BAPIRET2
WITH HEADER LINE,
T_BAPIMEPOITEM TYPE STANDARD TABLE OF BAPIMEPOITEM
WITH HEADER LINE,
T_BAPIMEPOITEMX TYPE STANDARD TABLE OF BAPIMEPOITEMX
WITH HEADER LINE,
T_POSCHEDULE TYPE STANDARD TABLE OF BAPIMEPOSCHEDULE
WITH HEADER LINE,
T_POSCHEDULEX TYPE STANDARD TABLE OF BAPIMEPOSCHEDULX
WITH HEADER LINE.
W_BAPIMEPOHEADER-COMP_CODE = '1000'.
W_BAPIMEPOHEADER-DOC_TYPE = 'NB'.
W_BAPIMEPOHEADER-CREAT_DATE = SY-DATUM.
W_BAPIMEPOHEADER-CREATED_BY = SY-UNAME.
W_BAPIMEPOHEADER-ITEM_INTVL = '00010'.
W_BAPIMEPOHEADER-VENDOR = '0000300001'.
W_BAPIMEPOHEADER-LANGU = SY-LANGU.
W_BAPIMEPOHEADER-PMNTTRMS = '0001'.
W_BAPIMEPOHEADER-PURCH_ORG = '1000'.
W_BAPIMEPOHEADER-PUR_GROUP = '100'.
W_BAPIMEPOHEADER-CURRENCY = 'INR'.
W_BAPIMEPOHEADER-DOC_DATE = SY-DATUM.
W_BAPIMEPOHEADER-VPER_START = '20100728'.
W_BAPIMEPOHEADER-VPER_END = '20100828'.
W_BAPIMEPOHEADERX-COMP_CODE = 'X'.
W_BAPIMEPOHEADERX-DOC_TYPE = 'X'.
W_BAPIMEPOHEADERX-CREAT_DATE = 'X'.
W_BAPIMEPOHEADERX-CREATED_BY = 'X'..
W_BAPIMEPOHEADERX-ITEM_INTVL = 'X'.
W_BAPIMEPOHEADERX-VENDOR = 'X'.
W_BAPIMEPOHEADERX-LANGU = 'X'.
W_BAPIMEPOHEADERX-PMNTTRMS = 'X'.
W_BAPIMEPOHEADERX-PURCH_ORG = 'X'.
W_BAPIMEPOHEADERX-PUR_GROUP = 'X'.
W_BAPIMEPOHEADERX-CURRENCY = 'X'.
W_BAPIMEPOHEADERX-DOC_DATE = 'X'.
W_BAPIMEPOHEADERX-VPER_START = 'X'.
W_BAPIMEPOHEADERX-VPER_END = 'X'.
T_BAPIMEPOITEM-PO_ITEM = '00010'.
T_BAPIMEPOITEM-MATERIAL = '000000001002000031'.
T_BAPIMEPOITEM-PLANT = '1000'.
T_BAPIMEPOITEM-QUANTITY = '10'.
T_BAPIMEPOITEM-PO_UNIT = 'NOS'.
T_BAPIMEPOITEM-NET_PRICE = '120.00'.
T_BAPIMEPOITEM-INFO_UPD ='X'.
T_BAPIMEPOITEM-PRICE_UNIT = '1'.
T_BAPIMEPOITEM-TAX_CODE = 'VE'.
APPEND T_BAPIMEPOITEM.
T_BAPIMEPOITEMX-PO_ITEM = '00010'.
T_BAPIMEPOITEMX-PO_ITEMX = 'X'.
T_BAPIMEPOITEMX-MATERIAL = 'X'.
T_BAPIMEPOITEMX-PLANT = 'X'.
T_BAPIMEPOITEMX-QUANTITY = 'X'.
T_BAPIMEPOITEMX-PO_UNIT = 'X'.
T_BAPIMEPOITEMx-NET_PRICE = 'X'.
T_BAPIMEPOITEMX-INFO_UPD ='X'.
T_BAPIMEPOITEMX-PRICE_UNIT = 'X'.
T_BAPIMEPOITEMX-TAX_CODE = 'X'.
APPEND T_BAPIMEPOITEMX.
T_POSCHEDULE-PO_ITEM = '00010'.
T_POSCHEDULE-SCHED_LINE = '0001'.
T_POSCHEDULE-DEL_DATCAT_EXT = 'D'.
T_POSCHEDULE-DELIVERY_DATE = '09.09.2010'.
T_POSCHEDULE-QUANTITY = '10'.
APPEND T_POSCHEDULE.
T_POSCHEDULEX-PO_ITEM = '00010'.
T_POSCHEDULEX-SCHED_LINE = '0001'.
T_POSCHEDULEX-PO_ITEMX = 'X'.
T_POSCHEDULEX-SCHED_LINEX = 'X'.
T_POSCHEDULEX-DEL_DATCAT_EXT = 'X'.
T_POSCHEDULEX-DELIVERY_DATE = 'X'.
T_POSCHEDULEX-QUANTITY = 'X'.
APPEND T_POSCHEDULEX.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
POHEADER = W_BAPIMEPOHEADER
POHEADERX = W_BAPIMEPOHEADERX
TABLES
RETURN = T_BAPIRET2[]
POITEM = T_BAPIMEPOITEM[]
POITEMX = T_BAPIMEPOITEMX[]
POSCHEDULE = T_POSCHEDULE[]
POSCHEDULEX = T_POSCHEDULEX[].
IF SY-SUBRC = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
ENDIF.
LOOP AT T_BAPIRET2.
WRITE: /
T_BAPIRET2-TYPE ,
T_BAPIRET2-ID,
T_BAPIRET2-NUMBER,
T_BAPIRET2-MESSAGE,
T_BAPIRET2-LOG_NO,
T_BAPIRET2-LOG_MSG_NO,
T_BAPIRET2-MESSAGE_V1,
T_BAPIRET2-MESSAGE_V2,
T_BAPIRET2-MESSAGE_V3,
T_BAPIRET2-MESSAGE_V4,
T_BAPIRET2-PARAMETER,
T_BAPIRET2-ROW,
T_BAPIRET2-FIELD,
T_BAPIRET2-SYSTEM.
WRITE: / '----
ENDLOOP.
Regards,
Jagadeesh T. -
Hi All ,
I got an error while executing a DTP. Short Dump analysis points this error. : DBIF_REPO_SQL_ERROR.
Please provide in your valuable inputs to resolve this error.
Thank & Regards,
Rohit GargThis error comes majorly when you have a deadlock in your code. Check ST22 if you have any short dump corresponding to it and see the source code where it is getting stuck.
If you find this dump explaining table space issue, then contact Basis, they will be able to help you with table space problem.
Edited by: Deepmala Agarwal on Aug 18, 2009 7:40 AM -
error while executing script for sharepoint online (office 365) - the remote server returned an error: (503) server unavailable.
I am creating many site collections reading records from sharepoint list using powershell in sharepoint online tenant (office 365).
Few site collections are created and then getting above error so this error record will be skipped then few succeeding record processed then again getting error.
pattern is like:
success
success
success
success
Error
success
success
success
success
success
success
error
successHi,
As it is an online environment, to troubleshoot this issue in an easier way, I suggest you contact Office 365 Support to see if there is any useful information in
the log files in the server side:
https://support.office.com/en-us/article/Contact-Office-365-for-business-support-32a17ca7-6fa0-4870-8a8d-e25ba4ccfd4b?ui=en-US&rs=en-US&ad=US
Best regards
Patrick Liang
TechNet Community Support -
Error while executing the script adgetlnxver.sh
Error while executing the script adgetlnxver.sh on apps&db tier during upgrade from 11.5.9 to 11.5.10.2
-bash: [: -lt: unary operator expected
[aptinst@dba5 TINST_dba5]$ sh adapcctl.sh restart
adapcctl.sh version 115.55
/u01/app/tinst/tinstappl/ad/11.5.0/bin/adgetlnxver.sh: line 123: [: -lt: unary operator expected
Apache Web Server Listener :httpd ( pid 8645 ) is running.
Restarting the Apache Web Server Dedicated HTTP Listener..
Apache Web Server Listener (PLSQL) :httpd ( pid 8673 ) is running.
Restarting the Apache Web Server Dedicated PLSQL Listener..
adapcctl.sh: exiting with status 0
In adgetlnxver.sh: line 123 says
if [ ${setflag}x = "x" -a $os = "RH" ]; then
redhatver=`grep -oP "Enterprise Linux [a-z A-Z 0-9]* release [0-9]+" /etc/redhat-release | sed 's/Enterprise Linux [a-z A-Z 0-9]* release //g'`
if [ $redhatver -lt 5 ]; then
LD_ASSUME_KERNEL="2.4.19"
export LD_ASSUME_KERNEL
fi
fi
Thanks,
VamsiHi Vamsi.
The exactly erro refers to a problems when you try upgrade from these version to 11.5.10.
Can you read this note and apply solution? The note refers a patch, but the problem is the same.
After Patch 4334965, adstrtal.sh & adstpall.sh is failing with errors [ID 360046.1]
BR Rafael Ceolim -
Js-error while executing Multiple Image Upload wizard
If i want to save the configured window of Multiple Image Upload with Save to Database wizard i get this js-error: "While executing onClick in MIUploadWSaveWizard.htm, a JavaScript error occured".
can someone help?
thanx
peterThat again would be more of a question for the Cold Fusion group.
Try http://forums.adobe.com/community/coldfusion/coldfusion_administration
Those people will be able to help you out more.
Brad Lawryk
Adobe Community Expert, Dreamweaver
Adobe Usergroup Manager, Northern British Columbia Adobe User Group
Maybe you are looking for
-
Some questions on versioning and synchronizing metadata
Hy all! I am quite new to warehousing and Oracle Warehouse Builder, and so i would have some questions regarding on some common issues. I would appriciate if you guys would who have experience in this domain to share some good practice knowledge :) I
-
In mail.app I only get 4 emails at a time
Hello, since I updated to OS X Lion, I'm having problems with the Mail.app. Bassically when I ask it yo get new mail, it onley get 4 email at a time. After that I have to press again the Get Mail button to get more mail. Does anyone have something l
-
ITunes unknown error -50 when ripping CDs
I have had trouble lately ripping CDs I have bought and get the message unknown error (-50)....
-
Mail problems: signatures and links
I had a problem with Mail yesterday. Somehow I lost the connection between the app and my server, and I had to redo the configuration. When I finished I had all my own mailboxes, but the InBox was still empty, though I could view the new and old mess
-
Why it cannot find the setter method for the attribute in my custom tag?
Hi, i have a custom tag like this: <robin:category tModelKey="#{data.tModelKey}" > </robin:category>And in my tld file: <tag> <name>category</name> <tag-class>category.component.HtmlCategoryTag</tag-class> <attribute> <name>t