Runtime constant (Filename) errors out in BPM
Hi,
I have a BPMCollectTime scenario to collect the Source files. The filename (Message Mapping/Transformation) from the files is captured in TRANSFORM STEP(before sending them out from BPM). The file is sent to SEND step one at a time.
Question : Filename of the source file is captured through user defined function.
Following is the code.
================
String v_result_time; //test Variable
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
if (key == null) { v_result_time= "Create Key Failed";}
else
{v_result_time= "Create Key worked";
String valueOld = conf.get(key);
v_result_time = valueOld;
return v_result_time;
The Mapping gives a runtime error in the BPM. This is a sporadic error.
I have selected the Adapter specific attribute(File name).
The BPM errors out sometimes? I am not sure if I am missing any setting. If I delete the work item and run the same scenario it works.
Question 1 : What is the cause of the above error?
Question 2 : Does BPM support Adapter specific attribute such as filename?
Kindly Advice.
Thanks,
Gowri
Hi Everyone,
Thanks for all the help.
DTN will not change the response filename to source filename. This option cannot be used. The correlation id is defined as response file name. Response filename is fixed for invoice file.
Here is the example.
For invoice file name HDTN20070430163110.TXT, response file received is nav1_2b5.rsp file. For HDTN20070430163314.TXT , response file is nav1_2b5.rsp
So my correlation id is dummy fixed value. I have known the fact that it is not possible to use context object filename.
Bhavesh - I have defined transform step for accessing filename using dynamic configuration. Following is the code used in mapping.
================
String v_result_time; //test Variable
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
if (key == null) { v_result_time= "Create Key Failed";}
else
{v_result_time= "Create Key worked";
String valueOld = conf.get(key);
v_result_time = valueOld;
return v_result_time;
====================================
BPM errors out sometime with following error
Component mapping has returned error.
com/sap/xi/tf/_MM_DTNData_2_DTNFilename_java.lang.NullpointerException.
Error: Exception CX_MERGE_SPLIT occurred (program: CL_MERGE_SPLIT_SERVICE========CP, include: CL_
If I delete this workitem and repeat the same scenario, it works. I have still not understood, why the scenario works sometime.
Kindly Advice.
Thanks,
Gowri
Similar Messages
-
XSLT mapping, how can I include a Runtime Constants in target message
Hi, I would like in my XSLT mapping, to have an attribute include the MessageID.
From my understanding of the online help [http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm|http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm], I have the following code in my XSL:
<xsl:param name="MessageId" />
<xsl:attribute name="filename">Output_<xsl:value-of select="$MessageId"/>.xml</xsl:attribute>
But for now the result is to have a filename attribute that only contains: "Output_.xml" as if the $MessageId is empty.
Anyone experienced successfully using one of those runtime constants with XSLT mapping ?
Cheers,
gregHi, found the answer of why it was not running: I'm in a transform step of a BPM:
For more info check this thread:
[/message/435521#435521 [original link is broken]|/message/435521#435521 [original link is broken]] -
Runtime constant: mapping-programm
Hello,
we got a exception branch for mapping errors in BPM.
Now we want to inform the user, which mapping programm caused the error.
Is there a runtime constant?
I already analyzed:
http://help.sap.com/saphelp_nw04/helpdata/en/b3/9a2aeb24dc4ab6b1855c99157529e4/content.htm
Regards MarioHi Mario,
You can raise alerts if mapping, receiver determination etc.. fails in the integartion engine. You need to configure alert rules for this. You can go to RWB->Alert Configuration->Where did the error occur? choose integration engine and you can see different error categories and error codes which can be configured using alert rules. Refer this michal's weblog for configuring the same..
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
You can also raise an alerts from BPM for any mapping failures, send step system errors/application errors using fault messages (through exception branch).
Refer this weblog for configuring an alert in the BPM
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
In you BPM, You can add Container Variables to Messages by using Container Opertaions(Append/Assign)
http://help.sap.com/saphelp_nw2004s/helpdata/en/59/e1283f2bbad036e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm
And also you can throw this exceptions via Alerts.
Also go through these links....
http://help.sap.com/saphelp_nw2004s/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm
/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
/people/sap.user72/blog/2005/02/23/raising-exceptions-in-sap-xi-mapping
http://help.sap.com/saphelp_nw2004s/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
/people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1
Regards,
Abhy
Message was edited by: Abhy Thomas
Message was edited by: Abhy Thomas -
Runtime Mapping Transformation Error
Hi Experts,
I am doing a file to idoc scenario in which the sender system is MDM and the Idocs are to be received in the R/3 system.
I have generated XSD from the IDOC itself , that is MATMAS05 and used it as the source structure by importing in External Definition and the targer is of course the Idoc.
In SXMB_MONI i get the Runtime Mapping Transformation error. What can be the reason for this.I read somewhere that the XSD and the xml file that is being picked might have different structures.
But i checked and they are same.
Only the problem can be with the encoding part.
In the XML structure of the Idoc , it is UTF-8 and also after exporting it to file it is UTF-8. But after importing it in the External Definition,it becomes ISO-8859-1 and we are unable to change it.
Also, the xml file that is given from the MDM system has encoding as UTF-8.
Kindly help.
Thanks in Advance.
-Shweta.Hi,
1) check out imported xsd is correct , valid. Hope while importing you have used Type as "XSD" and then after importing, check out the messages tab to know this
2) In the mapping, did you map all the madatory fields ? like some of the attributes like BEGIN? For this BEGIN attribute map with constant value. also check all the mandatory nodes/fields
3) check the mapping in the mapping editor independently in Repository by picking the input xml from the SXMB_MONI. So that you can test the mapping
Hope this will solve the mapping problem. btw, it is prefer to have exact error posted here.
Regards, Moorthy -
Accessing Runtime Constants in PCK
Hi all
Anybody tried accessing runtime constants such as message ID in PCK, successfully?
I have written a java mapping using StreamTransformationConstants class to retrieve MessageId value. The same java mapping works fine in XI, but not PCK.
Any idea?
Many thanks.
YJto the target date mapping we have created a userdefined fuction fileName which is failing the error message when we test the interface mapping is Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_XI_ERP_FI_BAPI_ACC_DOCUMENT_POST_REQ_MM_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns1:BAPI_ACC_DOCUMENT_POST/DOCUMENTHEADER/HEADER_TXT. The message is: Exception:[java.lang.NullPointerException] in class com.sap.aii.mappingtool.flib3.TextFunctions method substring[null, com.sap.aii.mappingtool.tf3.rt.Context@0000000000000]
is this help full
when it is succesfull the input <HEADER_TXT>Payroll for 01/2008</HEADER_TXT>
<DOC_DATE>20080131</DOC_DATE>
when it is failed the input is
<HEADER_TXT>Payroll for 20/08.t</HEADER_TXT>
<DOC_DATE>08.t20</DOC_DATE>
thanks and regards
sandeep
thanks
sandeep -
Error while saving BPM Project to MDS: BPM-70801 : Metadata operation failed
Dear All,
I am working on BPM 11g.
I installed the following products for BPM 11g
OS: Windows 7 SP1 Professional Edition all with 32 bit
Installed s/w:
JDeveloper 11.1.1.6.0 Generic Version
OracleXE 11.2 Win32
ofm soa generic 11.1.1.6.0
wls 10.3.5
RCU 11.1.1.6 for schemas dev_soainfra, dev_sdpm and dev_mds - Utility run successfully.
Overall Installation is successful wth no issues.
Configuration of Weblogic server for domain is ok with admin server, soa_server1 and bam_server1 with test connections is ok.
I am using browser as Internet Explorer 9
In Jdeveloper 11.1.1.6.0 after creating application, project and process
From BPM MDS Navigator I configured the connection for Database 11g XE as well using
Override Application Server user/password
For SOA MDS I included the dev_mds user with MDS partition as obpm
tested connections all ok (weblogic and soa_server1 up and running)
In Jdeveloper I am able to export the BPM successfully.
In the BPM Project Navigator when I use the Project --> SalesQuote.jpr --> right clicking with
option as Save to BPM MDS the following error is occured as
"Error while saving BPM Project to MDS: BPM-70801 : Metadata operation failed".
If the error is resolved than I can see the project in BPM composer.
My queries on this error are
1) Has soa_server anything to do with this error
2) Is dev_mds schema to be reviewed
what can be the possibility to resolve the BPM-70801 error.
Please provide the solution ASAP or send me the reply to my [email protected]
Regards
Ajaz AhmedHello Ajaz,
BPM-70801 is a very generic error that can have multiple causes. Please provide the error log from servers log file. From what I understand, you are using a separate soa_server1, so watch out /your_domain/servers/soa_server1/logs/soa_server1.log
Regards
km -
BO 4.1 report errors out
Please help me out with below issue
We have a .net web application accessing BO 4.1 CMS server with SP2 through BO SDK for .net to display existing reports from BO Server and we have below environment
QA Setup => .NET app server 1 + BO Server 1
PROD Setup => .NET app server 2 + BO Server 1
in above combination BO reports works as expected from PROD setup but getting below in consistency while accessing the reports from QA box
1. Getting "Problem with server's security certificate" from QA instance of the app but the same BO server works fine from PROD. (verified the server certificate and its valid for another 4 years)
2. after showing java applet window for a while report errors out and just display JRE runtime error without giving much debugg info
3. browser profiler shows data getting downloaded on the client browser but still errors out
we are generating the token as shown below and direct report URL ( with .jsp to call apache server) is passed to load the report to an iFrame.
if (!ValidateToken(currentToken))
SessionMgr ses = new SessionMgr();
EnterpriseSession es = ses.Logon(AppSettings.BusinessObjectsUser, decrypter.DecryptString(AppSettings.BusinessObjectsPass), AppSettings.BusinessObjectsUrl, "secWinAD");
LogonTokenMgr myToken = es.LogonTokenMgr;
return myToken.CreateLogonTokenEx("", 1440, -1);
Could you please suggest how to make this work.
Regards
ANoopHi All,
Attaching the snapshot of webi report error returned on the application and trace returned on IE 9 developer tool
1. webi report error
2. Trace returned on IE 9 developer tool
as the same BO server render the webi report on other asp.net application with same configuration, is there any way to find either from BO server or the location machine why the report error out... ? -
Selection dynamic Mapping Runtime Constant with a qualifier
Hello all,
i want to access a Mapping Runtime Constant out of a message mapping specified with a qualifier.
In the Integration Directory i specified in the identifier tab the following Value Pairs:
Agency Scheme Name
http://Sap.com/xi/XI XIParty ABC
R3D_310 Partner 111
R3T_310 Partner 222
R3P_310 Partner 333
In the message mapping i want to have the Name for the agency "R3T_310".
I know i can access the Name with:
constant = (String) map.get(StreamTransformationConstants.SENDER_PARTY);
But i getting everytime the name "ABC", which i don't want.
At this point i need your help, to find out how i can dynamically get the correct one??
many thanks for your help
ilkaIlka,
You can also access other Mapping Runtime constants. For example, SENDER_PARTY_AGENCY.
If needed, you can also access SENDER_PARTY_SCHEME and SENDER_SERVICE.
The SAP Help link for all the Mapping Runtime constants accessible with StreamTransformationConstants is:
http://help.sap.com/saphelp_nw04/helpdata/en/78/b4ea10263c404599ec6edabf59aa6c/frameset.htm
Hope this helps,
Bhanu -
Tab Page Errors out after migration to new instance
Hi All,
Tab Pages are running well in test instance but when I migrate it to dev instance then
On click of a particular tab that page errors out.
ERROR STACK
## Detail 0 ##
java.lang.NullPointerException
at exl.oracle.apps.per.eexit.webui.EmployeeUpdateCO.processRequest(EmployeeUpdateCO.java:228)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanConta
[2096]:UNEXPECTED:[fnd.framework.webui.OAPageErrorHandler]:inerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2336)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1735)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
at oa_html._OA._jspService(_OA.java:84)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:595)
java.lang.NullPointerException
at exl.oracle.apps.per.eexit.webui.EmployeeUpdateCO.processRequest(EmployeeUpdateCO.java:228)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2336)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1735)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
at oa_html._OA._jspService(_OA.java:84)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:595)
In PR in EmployeeUpdateCO
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
String requestParams = pageContext.getParameter("partyNumber");
if ("AlreadyDeleted".equals(requestParams))
System.out.println("Above through already deleted Employee Exception");
OAViewObject disVO = (OAViewObject)am.findViewObject("DisabledPVO1");
if(disVO !=null)
disVO.first();
disVO.getCurrentRow().setAttribute("XXDisabled", Boolean.TRUE);
//throw new OAException("This Employee has already been deleted. Please click on Home Link to come out from this page.", OAException.ERROR) ;
//EXL_EEXIT_ALREADY_DEL//on 20.10.09
throw new OAException("EXL","EXL_EEXIT_ALREADY_DEL");
String employeeNumber = pageContext.getParameter("partyNumber");
if (employeeNumber !=null)
OAViewObject disVO = (OAViewObject)am.findViewObject("DisabledPVO1");
if(disVO !=null)
disVO.first();
disVO.getCurrentRow().setAttribute("XXDisabled", Boolean.TRUE);
//throw new OAException("Employee Resignation has been reversed sucessfully", OAException.CONFIRMATION);
throw new OAException("EXL","EXL_EEXIT_RESIGN_REV");
else
System.out.println("In the else condition of EmployeeCO");
System.out.println("Before disabling Reinitiate Button");
OAViewObject disvotest = (OAViewObject)am.findViewObject("testVO1");//(XXJADisabledPVO1);
System.out.println("Value of testVO1"+disvotest);
if(disvotest != null)
disvotest.first();
//System.out.println("before falsing");
disvotest.getCurrentRow().setAttribute("testnew", Boolean.TRUE);//erroring out here....
//System.out.println("after falsing");
System.out.println("After disabling Reinitiate Button");
if (!pageContext.isFormSubmission())
am.invokeMethod("initQuery", null);
am.invokeMethod("InitUpdateLov", null);
am.invokeMethod("renderJAPage");
am.invokeMethod("renderSupPage");
System.out.println("Calling New Method");
am.invokeMethod("XXrenderSupPage");
am.invokeMethod("disabledRadioButton");
am.invokeMethod("disabledNoticeRadioButton");
String UserId = pageContext.getEmployeeId()+"";
String AUserId = pageContext.getUserId()+"";
System.out.println("Anil EmployeeID is "+UserId);
System.out.println("Anil EmployeeID1 is "+AUserId);
Serializable[] personid = {UserId};
// Commented on 27 May
String userId = (String)am.invokeMethod("getEmployeeNumber", personid);
String userName= pageContext.getUserName();
System.out.println("USER NAMe is "+userName);
System.out.println("userId in CO is "+userId);
Serializable[] params = {userId};
System.out.println("calling LOV in UpdateCO");
am.invokeMethod("XXhandleMyLovUpdateEvent", params);
System.out.println("Method Called in UpdateCO");
// end here 09 june
//end here code of Radio Button
//==> //OAViewObject vo = (OAViewObject)am.findViewObject("EmployeeEOVO1");
//am.invokeMethod("test");
OAViewObject vo = (OAViewObject)am.findViewObject("EmpUpdateEOVO1");
System.out.println("ROw COUNT IN EMPLOYEEUPDATE CO IS "+vo.getFetchedRowCount());
if (vo != null && vo.getFetchedRowCount()>0)
System.out.println("InsidePR of RADIO BUTTON");
// vo.reset(); //New line added
// vo.next(); //new line added
OARow row = (OARow)vo.getCurrentRow();
String email = row.getAttribute("NoticePayBuyoutFlag")+"";
String email1 = row.getAttribute("JoiningBonusFlag")+"";
String email2 = row.getAttribute("RelocationBonusFlag")+"";
String email3 = row.getAttribute("ServiceAgreementFlag")+"";
String email4 = row.getAttribute("NoticePayAdjustedPl")+"";
String email5 = row.getAttribute("NoticePayWithoutAdjustedPl")+"";
System.out.println("RADIO BUTTON VALUE IS "+email);
System.out.println("RADIO BUTTON VALUE IS "+email1);
System.out.println("RADIO BUTTON VALUE IS "+email2);
System.out.println("RADIO BUTTON VALUE IS "+email3);
System.out.println("RADIO BUTTON VALUE IS "+email4);
System.out.println("RADIO BUTTON VALUE IS "+email5);
row.setAttribute("NoticePayBuyoutFlag","NW");
row.setAttribute("JoiningBonusFlag","NW");
row.setAttribute("RelocationBonusFlag","NW");
row.setAttribute("ServiceAgreementFlag","NW");
row.setAttribute("NoticePayAdjustedPl","NW");
row.setAttribute("NoticePayWithoutAdjustedPl","NW");
Thanks,
Sombit...OAViewObject disvotest = (OAViewObject)am.findViewObject("testVO1");
System.out.println("Value of testVO1"+disvotest);
if(disvotest != null)
if(disvotest.getFetchedRowCount()>0)
disvotest.first();
disvotest.getCurrentRow().setAttribute("testnew", Boolean.TRUE);
Also double check VO should have this VO Attribute.
Thanks
--Anil -
Custom Interface Program Errors out with ORA-01722: invalid number in R12
Hi,
We were upgrading to R12 in which our custom interface load program errors out with "ORA-01722: invalid number". Please find structure of control file as below :
LOAD DATA
APPEND
INTO TABLE RRAT_RCAP_GIO_MAN_ADJ_STG
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED by '"'
TRAILING NULLCOLS
PERIOD_NAME CHAR "ltrim(rtrim(:PERIOD_NAME))"
,SOURCE_TYPE CHAR "ltrim(rtrim(:SOURCE_TYPE))"
,ADJ_ACCOUNT CHAR "ltrim(rtrim(:ADJ_ACCOUNT))"
,USD_NET INTEGER EXTERNAL
,ERROR_CODE CONSTANT 'LOADED DATA'
,PROCESS_FLAG CONSTANT 1
,CREATED_BY "fnd_global.user_id"
,CREATION_DATE sysdate
,LAST_UPDATED_BY "fnd_global.user_id"
,LAST_UPDATE_DATE sysdate
,LAST_UPDATE_LOGIN "fnd_global.login_id"
,REQUEST_ID "fnd_global.conc_request_id"
=====================================Log file ================
Record 1: Rejected - Error on table "XXATORCL"."XXAT_VCAP_GIO_MAN_ADJ_STG", column USD_NET.
ORA-01722: invalid number
===================sample file ==========================
JUL-11,Manual,8213-880011-00000000-259390-1Z-0000-0000,1001
JUL-11,Manual,8213-880011-00000000-253701-1Z-0000-0000,73
==========================================
I had tried with last successfully uploaded file as well which is also now not uploading.
Please help me in this issue.
Thanks,
Piyushi am using R12 now. Please avoide INTEGER EXTERNAL part from the control file. please refer below :
LOAD DATA
APPEND
INTO TABLE RRAT_RCAP_GIO_MAN_ADJ_STG
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED by '"'
TRAILING NULLCOLS
PERIOD_NAME CHAR "ltrim(rtrim(:PERIOD_NAME))"
,SOURCE_TYPE CHAR "ltrim(rtrim(:SOURCE_TYPE))"
,ADJ_ACCOUNT CHAR "ltrim(rtrim(:ADJ_ACCOUNT))"
,USD_NET
,ERROR_CODE CONSTANT 'LOADED DATA'
,PROCESS_FLAG CONSTANT 1
,CREATED_BY "fnd_global.user_id"
,CREATION_DATE sysdate
,LAST_UPDATED_BY "fnd_global.user_id"
,LAST_UPDATE_DATE sysdate
,LAST_UPDATE_LOGIN "fnd_global.login_id"
,REQUEST_ID "fnd_global.conc_request_id"
====================
Srini,
Just one thing i want to explain you that previously it was working fine but suddenly (might after upgrading in R12) started giving error. I had tested with old data files also which were loaded successfully in the system. but now it is giving error. Please help me in this issue.
Regards, -
Runtime Constant in XSLT :-(
Hi together,
I have one problem with constant at the runtime.
The tag <RCVPRN> is empty, but I need this for my IDoc communication.
In the SAP help stands this:
Runtime Constants
$ReceiverService
Service on the receiver side that receives the message. For example, the name of a business system.
As of SAP XI 3.0, use this constant instead of the constant RECEIVER_SYSTEM used previously.
Yes
See also: Service
If you want to access one of the constants in the XSLT program, you first have to declare the constant as a parameter, for example:
<xsl:param name="MessageId" />
In my XSLT mapping I have this:
<RCVPOR>empty</RCVPOR>
<RCVPRT>LS</RCVPRT>
<xsl:param name="ReceiverService"/>
<RCVPRN>
<xsl:value-of select="$ReceiverService"/>
</RCVPRN>
</EDI_DC40>
But during the runtime the constant is empty
<RCVPOR>empty</RCVPOR>
<RCVPRT>LS</RCVPRT>
<RCVPRN />
</EDI_DC40>
Have you an idea for my problem?
Bye
StefanHi Udo/all,
Thank you for your answer.
Please see in my last post:
Idoc with XSLT Mapping ALE service error
I mark in my channel:
Take Sender from Payload and Take Receiver from Payload
I must set control field by xslt maping, because the receiver is flexible.
With your setting I became a converting error to an ALE logical system.
I need the runtime constant in the xslt mapping.
Idea?
bye
stefan -
Embedding a report designer query into a template - errors out
In a template i want to include the report designer query, with the web item type - report, when i drag the report item into the template and try to edit it, it takes me to the report designer, there I'm able to open my report designer query - then when i go to - menu - transfer to web apllication designer - it takes me back to WAD but errors out saying it encountered a problem. Did anyone come across this issue? And how did you overcoem this? Any help or pointer would be appreciated and rewarded.
Please find the error log below:
3:45:25 PM.686 ########## END ##########
3:45:25 PM.686 ########## --> com.sap.bi.et.wad.BexWebApplicationDesigner.Launch.Main ##########
3:45:25 PM.686: For Info: WAD Start. Revision: 7005.5.1100.277
GetSystemInformation
SUNI Const: 1.602272
CommunicationFactory.GetSystemInformation (Setting Conn 1)): 1.602272
CommunicationFactory.GetSystemInformation (Setting Conn 2)): 7.110082
CommunicationFactory.GetSystemInformation (Setting init Propties)): 7.110082
CommunicationFactory.GetSystemInformation (SUNI.FUNCTION_EXISTS)): 7.710934
RSR_XLS_RFCtrc: 8.51207
CommunicationFactory.GetSystemInformation (RSR_XLS_NET_INTERFACE)): 18.02556
CommunicationFactory.GetSystemInformation (XML Stuff)): 20.0284
CommunicationFactory.GetSystemInformation (Prop Stuff)): 20.0284
CommunicationFactory.GetSystemInformation (Version)): 20.0284
CommunicationFactory.ObtainSystemInformationandCheckVersion (GetSysInfo)): 20.128542
BExTextPool.New1: 0.300426
BExTextPool.New2: 0.400568
BExTextPool.New3: 0.400568
BExTextPool.New2: 0.400568
CommunicationFactory.ObtainSystemInformationandCheckVersion (CheckAfterLogin)): 1.00142
CommunicationFactory.LogOnUsingComConnection (ObtainSystemInfo)): 21.129962
CommunicationFactory.LogOnUsingComConnection (MainConnectionChangedEvent)): 0
CommunicationFactory.LogOn: 21.730814
3:45:41 PM.458: Connected. System: BID
<?xml version="1.0" encoding="utf-16"?>
<I_T_SEARCH_ATTR xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
<?xml version="1.0" encoding="utf-16"?>
<I_T_SEARCH_ATTR xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
RSR_XLS_RFCtrc: 0.700994
BExThemes.LoadFromBackend: 2.50355
BExThemes.LoadFromBackend: 0
BExThemes.LoadFromBackend: 0
Vert
BExThemes.LoadFromBackend: 0
<?xml version="1.0" encoding="utf-16"?>
<I_T_SEARCH_ATTR xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
BExThemes.LoadFromBackend: 0
Vert
BExThemes.LoadFromBackend: 0
3:47:41 PM.198 ########## END com.sap.bi.et.wad.BexWebApplicationDesigner.Launch.Main ##########
3:47:41 PM.198 ########## --> com.sap.bi.et.wad.RDHost.WADRDHostFactory.MaintainItem ##########
-EXCEPTION-START- 3:47:41 PM.198: External exception in Report Designer (execution) ---
Exception Message: Specified cast is not valid.
Exception at com.sap.bi.et.ReportDesigner.RDbReportDesigner.getCookies()
at com.sap.bi.et.ReportDesigner.RDbReportDesigner.RunFromWAD()
at com.sap.bi.et.wad.RDHost.WADRDHostFactory.MaintainItem(XmlElement iItemTagNode, XmlElement iLibItemTagNode, IWADHostServicesProvider iServicesProvider, Boolean iIsLibItem)
Full Stack:
at com.sap.bi.et.wad.Debug.WriteTraceToFile(Level, String, Exception)
at com.sap.bi.et.wad.Trace.Exception(Exception, String)
at com.sap.bi.et.wad.RDHost.WADRDHostFactory.MaintainItem(XmlElement, XmlElement, IWADHostServicesProvider, Boolean)
at com.sap.bi.et.wad.rdcontrolhost.WADHostFactory.MaintainItem(XmlElement, XmlElement, IWADHostServicesProvider, Boolean)
at com.sap.bi.et.wad.wiz.WADsF4GUIServices.CallCustomItemDialog(XmlElement, Form)
at com.sap.bi.et.wad.man.WADfrmMainWindow.mnuCTXTEditTagCustom_Click(Object, EventArgs)
at System.Windows.Forms.MenuItem.OnClick(EventArgs)
at System.Windows.Forms.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Control.WmCommand(Message&)
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.ScrollableControl.WndProc(Message&)
at System.Windows.Forms.ContainerControl.WndProc(Message&)
at System.Windows.Forms.Form.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.Run(Form)
at com.sap.bi.et.wad.BexWebApplicationDesigner.Launch.Main()
-EXCEPTION-END----Hi Voodi,
I have the same problem too. Worked fine in SP 9 . Now we are in SP11 with FEP also in SP11 revision 277.Did you resolve the issue if so how?
Thanks,
Karthik -
Mapping runtime constant to get system details of the XI box
Hi
We have a need to get the XI system details ( sysid and the client) at runtime - when executing a mapping that we designed using Message mapping . Is there any runtime constant/udf that we can use to retrieve this information ?
We are on XI 3.0 SP23.Hi,
refer this blog by Michal..
/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
just ignore the BPM part...you will need only the mapping logic and your target message will have the necessary value...also refer this link for the list of parameters that you can access:
http://help.sap.com/saphelp_nwpi71/helpdata/en/b3/9a2aeb24dc4ab6b1855c99157529e4/content.htm
http://help.sap.com/saphelp_nwpi71/helpdata/en/78/b4ea10263c404599ec6edabf59aa6c/frameset.htm
Regards,
Abhishek. -
Classic App wizard page errors out from workspace
I am trying to launch the classsic application wizard page(under Navigate->Administer) from Worspace and it keeps erroring out. I dont get any detailed message , but it says" An error occurred while processing the page.Check the log for details". And the workspace tab also gets hung up with this message.
Any ideas?I too am getting the same error. When i click the validate 'Validate essbase connection' on the application wizard page, I get a blank page saying 'An errror occured'. I stop the planning service and restarted it from Start button. This time I got the error message
[ERROR] [HspCreateDatasource] - Servlet.service() for servlet HspCreateDatasourc
e threw exception <java.lang.UnsatisfiedLinkError: no HspEssbaseEnv in java.libr
ary.path>java.lang.UnsatisfiedLinkError: no HspEssbaseEnv in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.hyperion.planning.olap.HspEssbaseEnv.<clinit>(Unknown Source)
at com.hyperion.planning.olap.HspEssbaseJniOlap.<clinit>(Unknown Source)
at com.hyperion.planning.HspJSHomeImpl.TestEssConnection(Unknown Source)
at HspCreateDatasource.doCheckEssbaseConnection(Unknown Source)
at HspCreateDatasource.doHandle(Unknown Source)
at HspCreateDatasource.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF -
Error Handling Inside BPM Process
Hi All,
I have a scenario in which, when a BPM Process errors out due to any of the System Exception I'm catching it using a Event SubProcess activity and handling it.
Problem:
I want the control to get back to the next activity i.e Normal Process should resume once the control is out of the Event SubProcess.
I found that using a Normal Subprocess with boundary event helps to resume the flow back to normal control. But Its difficult to have individual Subprocesses for N number of activities.
Is there any other method to overcome this?
Please provide a solution.
Two Cents,
Karthick.I'll bow out of this thread after this post, but a couple thoughts.
You might have seen these, but here are some links that should help you. If you have not already looked at Fault Policies, pay particular attention to this in the posts below:
Fault Handling in Oracle SOA Suite
http://beatechnologies.wordpress.com/2011/07/18/fault-handling-in-oracle-soa-suite-advanced-concepts/
Fault Handling and Prevention - Part 1
http://www.oracle.com/technetwork/articles/soa/luttikhuizen-fault-handling-1-1877036.html
Fault Policy
http://error0.wordpress.com/2011/08/02/howto-use-the-fault-management-framework-with-oracle-bpm/
I don't mean for this to sound harsh and please keep in mind that I don't know the problem you're trying to solve or what you're process looks like.
>
Yes we do, but we have many activities inside a single process since the business is big.
>
Sounds like you're pretty far down the road now, but just a word of caution. I've found myself on projects with large processes. It's not just exception handling that you'll find more difficult, but many things became more cumbersome to maintain in a large process.
>
A thought of using Boundary Events with subprocess looks good but its not possible to use a single sub process for all boundary events in order to resume to normal activity.
>
I did not follow this. If you invoke a subprocess using a Call activity, you'd be able to add a boundary event on the Call activities for the activities in the called sub process. You'd also have a process that is easier to read and maintain.
Dan
Maybe you are looking for
-
Adjust Asset Fiscal year more than 2 years backward
Hello SAP Guru, We have a problem in Asset accounting today for US company codes. We would like to implement tax bonuses for our old assets in SAP. Currently the tax bonuses are calculated offline and it cause so many effort on the tax department. We
-
Dynamic Configuration in SAP PI 7.3
Hello, I am doing one file to file scenario in PI 7.3 (Java Stack only). There is one requirement i.e. The output file name will change according to Development, Quality and Production. Prefix will be added to the outputput file name according to Dev
-
Very critical issue with skype username
Hello I need to recover my skype account but i cant contact support... its extremely confusing and keeps going in a loop... I need to recover my account, I have: Forgotton my password My account email was a private domain name which has been expired
-
HT1689 When is the release date for iPhone 5?
When is the iPhone 5 releasing? Is it Really gonna release?
-
R/3 Source system under BI Folder in source system tab
Dear ALL, i had created R/3 Source system under the context menu of SAP folder in Source System. but after creation it is reflecting under BI folder and SAP Folder is empty, eg:DEVCLNT100 it is shown under SAP BI FOLDER.please help me out in this reg