Invalid Data Type Exception Error in SAPBC
Hi All:
We are using SAPBC as our middleware for communication between SAP and external billing application.
We are trying to send PO in the form of IDocs (ORDERS) from SAP to the external application through SAPBC.
The message type ORDERS in SAPBC has a "rolled back" status indicating that there is some error.
The error we are getting in this case is:
"com.wm.util.coder.InvalidDatatypeException: com.wm.lang.xml.WMDocumentException: Received null IDocXML document"
I spoke to our technical lead who is responsible for maintaining the external billing application. He told me that there is no problem with his systems/servers/external application and that it is some internal problem with SAP and SAPBC.
This maybe an inappropriate forum to post this thread, but we dont have a forum for SAPBC.
We need to fix this asap. Any help in this regard will be highly appreciated.
Thanks,
Vj
Hi Vj,
Looks like emply messages are getting generated. This might cause the error. So check on the source which is generating the PO thru IDOC.
Hope this helps.
Regards,
Binay Agarwal
Similar Messages
-
Data error (invalid data type 17) in a Remote Function Call
Hi,
I am passing 2 select-option tables to RFC.
Tables have structures -
Table1 SIGN(C1)
OPTION(C2)
HIGH(C6)
LOW(C6)
Table2 SIGN(C1)
OPTION(C2)
HIGH(C20)
LOW(C20)
At the destination side, I have created two table types which have same structure.
But when I call the RFC , program terminates with error - "Data error (invalid data type 17) in a Remote Function Call"
Not able to understand the reason for this error. Please help.
Thanks,
SujeetHi,
check out this example
[LINK|http://abap.googlar.eu/viewtopic.php?f=5&t=28]
You have several ranges that you can use like RANGE_AUF.
Function example:
FUNCTION zexemple.
*"*"Interface local:
*" IMPORTING
*" REFERENCE(R_HORA) TYPE FLAG
*" REFERENCE(R_DIA_1) TYPE FLAG
*" REFERENCE(P_IDOC) TYPE FLAG
*" EXPORTING
*" REFERENCE(MSG) TYPE CHAR255
*" TABLES
*" T_OIFSPBL STRUCTURE OIFSPBL
*" SL_PBLNR STRUCTURE RANGE_PBLNR
*" SL_MATNR STRUCTURE RANGE_MATNR
*" SL_HORA STRUCTURE RANGE_UZEIT
*" T_ERROS STRUCTURE ZARSTRING
ENDFUNCTION.
Report:
SELECT-OPTIONS: sl_pblnr FOR oirbpblb-pblnr,
sl_matnr FOR a361-matnr.
~
Final question:
You are passing the values using TABLES and not IMPORTING right? -
"Invalid Block Type" exception message
I got "Invalid Block Type" exception message in my program. I'm not sure what this is. Could somebody please advice?
Thanks
GZIPInputStream gzip_in_stream = null;
BufferedOutputStream destination_out_stream = new BufferedOutputStream(
new FileOutputStream(weatherFile), BUF_SIZE);
byte[] input_buffer = new byte[BUF_SIZE];
int byteLength = 0;
while ( (byteLength = gzip_in_stream.read(input_buffer, 0, BUF_SIZE)) > 0 )
destination_out_stream.write(input_buffer, 0, byteLength);
destination_out_stream.flush(); // Ensure all the data is written to the output.
destination_out_stream.close();
gzip_in_stream.close();ZipException, and it only says "Signals that a Zip exception of some sort has occurred."
I forgot to include this.
InputStream tempStream = ftpClient.retrieveFileStream(zippedFile);
gzip_in_stream = new GZIPInputStream(
new BufferedInputStream(tempStream)); -
SQL Insert Statement Data Type Mismatch Error
I am doing a very simple web application that has a Microsoft Access database as the data source. I have been able to sucessfully create update and query statements using parameters but am having issues with an insert statement. I am using JSTL 1.1.2
The following code creates the data type mismatch error.
<sql:update
sql="insert into tblTtoF(TFToolID,TFFeatID) values(?,?)">
<sql:param value='$(ID}'/>
<sql:param value='${feature}'/>
</sql:update>The table has NUMBER as the data type for both of these fields and the variables I am feeding into it are both numbers. If I hard code the first number into the sql statement then it works. I have tried swapping the variables around and as long as the first one is hard coded the parameter for the second one works no matter which is first or second.
However I can get the following code to work, which of course leaves me vulnerable to sql injection attacks which is not really a good thing.
<sql:update>
insert into tblTtoF(TFToolID,TFFeatID) values('<c:out value="${ID}"/>','<c:out value="${feature}"/>')
</sql:update>So I am just looking for any suggestions as to why my first piece of code doesn't work seeing as it is the simplest of SQL statements and the most standard syntax.
ThanksI changed it to the following
<c:set var="featurenew" value="${0 + feature}"/>
<c:set var="IDnew" value="${0 + param.toolID}"/>
<sql:update
sql="insert into tblTtoF(TFToolID,TFFeatID) values(?,?)">
<sql:param value='$(IDnew}'/>
<sql:param value='${featurenew}'/>
</sql:update>And got the following error in the localhost.log
31/07/2006 09:31:41 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.sql.SQLException: SQL Exception : [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setObject(JdbcOdbcPreparedStatement.java:1437)
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setObject(JdbcOdbcPreparedStatement.java:1072)
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setObject(JdbcOdbcPreparedStatement.java:1063)
at org.apache.taglibs.standard.tag.common.sql.UpdateTagSupport.setParameters(UpdateTagSupport.java:254)
at org.apache.taglibs.standard.tag.common.sql.UpdateTagSupport.doEndTag(UpdateTagSupport.java:156)
at org.apache.jsp.dataUpdated_jsp._jspx_meth_sql_update_1(dataUpdated_jsp.java:975)
at org.apache.jsp.dataUpdated_jsp._jspx_meth_c_if_0(dataUpdated_jsp.java:879)
at org.apache.jsp.dataUpdated_jsp._jspx_meth_c_forEach_0(dataUpdated_jsp.java:680)
at org.apache.jsp.dataUpdated_jsp._jspService(dataUpdated_jsp.java:151)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
at java.lang.Thread.run(Thread.java:595)
I have also tried the following in the past with no luck
<fmt:parseNumber value="${ID}" type="number" var="IDnew"/>
AND......
<sql:query
sql="select TFToolID from tblTtoF where TFToolID = ?"
var="toolresults">
<sql:param value="${ID}"/>
</sql:query>
<c:forEach var="getID" items="${toolresults.rows}">
<c:set var="theID" value="${getID.TFToolID}"/>
</c:forEach>
AND when that didn't work, added this....
<fmt:parseNumber value="${theID}" var="IDnew"/> -
ORDImageSignature Invalid data type in Oracle 8i
hi there,
i have just started working on Intermedia, i am using Oracle 8i. i have configured the intermedia and executed the ordwebutl.sql file. all othe media data types are working perfectly like, ORDAudio, ORDImage,ORDVideo, but the ORDIMageSIgnature is not working at all. when i use it as data type in any table it says Invalid data type. which means oracle 8i is not recognizing ORDImageSIgnature at all. plz help me as soon as possible. Thanks in advance.The ordimagesignature is not something you can see or hear. It is strictly binary metadata about the image, used only to compare images to each other.
What are you trying to do?
Larry -
CAST Not working for me - Arithmetic overflow error converting int to data type numeric - error
GPM is DECIMAL(5,2)
PRICE is DECIMAL(11,4)
COST is DECIMAL(7,2)
Trying to update the Gross Profit Margin % field and I keep getting the "Arithmetic overflow error converting int to data type numeric" error.
UPDATE SMEMODETAIL SET SMD_GPM = (SMD_PRICE-SMD_COST) / SMD_PRICE * 100
FROM SMEMODETAIL WHERE SMD_PRICE<>0 AND SMD_QUANTITY<>0
Example record:
SMD_PRICE SMD_COST GPM%
1.8500 1.62 12.4324324324324300
I added cast and I still get the error.
How do I format to get this to work?
Thanks!Hi GBerthume,
The error is caused by some value such as 1000.01 of the expression (SMD_PRICE-SMD_COST) / SMD_PRICE * 100 exceeds the
precision of the column(DECIMAL(5,2)). The example data doesn't cause the overflow error for the value of the expression is 12.43 which is in the scope of DECIMAL(5,2).
USE TestDB
CREATE TABLE SMEMODETAIL
SMD_PRICE DECIMAL(11,4),
SMD_COST DECIMAL(7,2),
SMD_GPM DECIMAL(5,2)
INSERT INTO SMEMODETAIL(SMD_PRICE,SMD_COST) SELECT 1.8500,1.62
UPDATE SMEMODETAIL SET SMD_GPM = (SMD_PRICE-SMD_COST) / SMD_PRICE * 100
FROM SMEMODETAIL WHERE SMD_PRICE<>0-- AND SMD_QUANTITY<>0
SELECT * FROM SMEMODETAIL
DROP TABLE SMEMODETAIL
The solution of your case can be either scale the DECIMAL(5,2) or follow the suggestion in Scott_morris-ga's to check and fix your data.
If you have any question, feel free to let me know.
Eric Zhang
TechNet Community Support -
I have the following code working perfectly fine:
CREATE TYPE mytype IS TABLE OF INT;
SELECT * FROM TABLE(mytype(1,2));
When I declare the type in a package, however, I get invalid data type. For example,
CREATE OR REPLACE mypackage AS
TYPE mytype IS TABLE OF INT;
END mypackage;
SELECT * FROM TABLE(mypackage.mytype(1,2));
I need to include the type in a package because I have a function in the same package that will take the nested table as in parameter.
YSWhen you need to select from a type, that type has to be created as a SQL type.
This is true in SQL
Re: how to use a collection in procedure
And in a stored procedure
Re: Passing an array to an Oracle stored procedure -
what are the invalid data type conversions in ABAP ???
Moderator message: please search for available information/documentation.
Edited by: Thomas Zloch on Mar 10, 2012 6:01 PMNo Amanda,
The values that I see in message monitor are also those that comes to XSLT programs as input.
I investigated our problem a little further myself:
1) XI always converts messages into XML format - this everybody knows.
2) In XI documentation it is declared that XI uses ISO 8601 for DATE type formatting. That's why you see dates in format YYYY-MM-DD in XML data in message monitoring.
3) The appearance of those decimal values are not that obvious for me. If XI uses ABAP transformation for message content then applies the rules for converting ABAP data types into XML. For this there is a SAP document 'ABAP - XML mapping' from TechEd2004. This document seems to describe how ABAP data types are handled by XML transformation.
Anyway, we currently need to play with decimal values in XSLT mapping programs inside XI:
a) add leading 0 integer if source value < 1
RFC returns 0.123 -> XI converts to XML '.123' -> XSLT mapper should return '0.123' ->SOAP response returns '0.123'
b) add decimal point and trailing zeros
RFC returns 0.000 -> XI converts to XML '0' -> XSLT mapper should return '0.000' ->SOAP response return '0.000'
With dates, the problem is actually on documenting mapping rules when writing interface specifications. If you would write an EAI-solution-independent conversion rule (RFC/date->SOAP/char) for date field it could sound like: YYYYMMDD -> dd.mm.yyyy. This works semantically between these systems but would not work for XI-developer, because he get YYYY-MM-DD from the RFC.
Additionally the decimal type conversion requirements in XSLT mapping programs probably only applies XI and are therefore not reusable in other EAI environments.
I would be glad if somebody would still have further comments for this data type conversion issue.
br: Kimmo -
Invalid date/time value error
I downloaded a trial version of Acrobat XI Pro when I try to save or edit and resave a document I get 'invalid date/time value', error. I presume it's set for the US and not the UK, can you tell me where I can change the date/time format?
I'm running on Windows 7Hi Rave
Susan's on leave at the moment so I'm replying on her behalf in the vain hope we can sort things before she gets back and before the trial period runs out! I'm not sure I understand what you mean by column of date and time - we have a review date in the Word document before we pdf but that's all. Yes we are saving to a sharepoint server.
Thanks -
Invalid date - getting an error message on the form
Hi
I am using APEX version 3...
in my form I have a date field (with date picker option)... my users can pick the date with no issues... the issue is when my user enters manually (usually by mistake) something in the date field.... I get the following error message when the date is invalid
ORA-01840: input value not long enough for date format
I know in version 4 of APEX we can use dynamic action or validation function... is there an option to use in Version 3...?
thanksHi,
Create a Validation....
Name: Valid Date
Type: Function Returning Boolean
Validation Expression 1:
DECLARE
my_date DATE;
BEGIN
IF LENGTH (:P1_DATE) = 11
THEN
my_date := TO_DATE (:P1_DATE, 'DD-MON-YYYY');
RETURN TRUE;
ELSE
RETURN FALSE;
END IF;
EXCEPTION
WHEN OTHERS
THEN
RETURN FALSE;
END;
Error Message: Date is not a valid date!
Associated Item: P1_DATE
Condition Type: Value of Item in Expression 1 Is NOT NULL
Expression 1: P1_DATE
Regards,
Kartik Patel
http://patelkartik.blogspot.com/
http://apex.oracle.com/pls/apex/f?p=9904351712:1 -
Non-build-in-data type mapping error
Hi,
I started a new web service design using a pre-defined Schema. I created a schema project and use XML bean as my web service method parameter.
It works fine in workshop test IDE. But when I deployed it and tried to generate client jar, it gave me Failed to do type mapping error.
What steps I should do to fix this non-build-in data type problem?
thanks
MayHi,
I started a new web service design using a pre-defined Schema. I created a schema project and use XML bean as my web service method parameter.
It works fine in workshop test IDE. But when I deployed it and tried to generate client jar, it gave me Failed to do type mapping error.
What steps I should do to fix this non-build-in data type problem?
thanks
May -
Conversion failed when converting the varchar value to data type int error
Hi, I am working on a report which is off of survey information and I am using dynamic pivot on multiple columns.
I have questions like Did you use this parking tag for more than 250 hours? If yes specify number of hours.
and the answers could be No, 302, 279, No and so on....
All these answers are of varchar datatype and all this data comes from a partner application where we consume this data for internal reporting.
When I am doing dynamic pivot I get the below error.
Error: Conversion failed when converting the varchar value 'No' to data type int.
Query
DECLARE @Cols1 VARCHAR(MAX), @Cols0 VARCHAR(MAX), @Total VARCHAR(MAX), @SQL VARCHAR(MAX)
SELECT @Cols1 = STUFF((SELECT ', ' + QUOTENAME(Question) FROM Question GROUP BY Question FOR XML PATH('')),1,2,'')
SELECT @Cols0 = (SELECT ', COALESCE(' + QUOTENAME(Question) + ',0) as ' + QUOTENAME(Question) FROM Question GROUP BY Question FOR XML PATH(''))
SET @SQL = 'SELECT QID, QNAME' + @Cols0 + '
FROM (SELECT QID, QNAME, ANSWERS, Question
FROM Question) T
PIVOT (MAX(ANSWERS) FOR Question IN ('+@Cols1+')) AS P'
EXECUTE (@SQL)
I am using SQL Server 2008 R2.
Please guide me to resolve this.
Thanks in advance..........
Ionecreate table questions (QID int, QNAME varchar(50), ANSWERS varchar(500), Question varchar(50))
Insert into questions values(1,'a','b','c'), (2,'a2','b2','c2')
DECLARE @Cols1 VARCHAR(MAX), @Cols0 VARCHAR(MAX), @Total VARCHAR(MAX), @SQL VARCHAR(MAX)
SELECT @Cols1 = STUFF((SELECT ', ' + QUOTENAME(Question) FROM Questions GROUP BY Question FOR XML PATH('')),1,2,'')
SELECT @Cols0 = (SELECT ', COALESCE(' + QUOTENAME(Question) + ',''0'') as ' + QUOTENAME(Question) FROM Questions GROUP BY Question FOR XML PATH(''))
SET @SQL = 'SELECT QID, QNAME' + @Cols0 + '
FROM (SELECT QID, QNAME, ANSWERS, Question
FROM Questions) T
PIVOT (MAX(ANSWERS) FOR Question IN ('+@Cols1+')) AS P'
EXECUTE (@SQL)
drop table questions -
'BAPI_POSRVAPS_SAVEMULTI3 giving me 'Invalid location type 1010 ' error
I am using BAPI 'BAPI_POSRVAPS_SAVEMULTI3'
to create Create and Change External Procurement Orders.
I have given folloiwing i/p:
LOGICAL_SYSTEM GDECLNT200
ORDER_TYPE 1
EXT_NUMBER_ASSIGNMENT X
COMMIT_CONTROL E
PLNG_VERSION 000
PLANNING_MODE_USAGE 0
Receipt Table:
ORDER_NUMBER 0211
ITEM_NUMBER 000010
SCHED_LINE 0000
PRODUCT GPBIN01
LOCATION 0000830001
LOCTYPE 1010
QUANTITY 1,000
DELIVERY_DATE 27.12.2010 00:00:00
FIXED
ATPCAT EA
PROC_TYPE 0
ORDER_QUANTITY 1,000
Receipt_x Table:
ORDER_NUMBER 0211
ITEM_NUMBER 000010
SCHED_LINE 0000
PRODUCT X
LOCATION X
LOCTYPE X
ATPCAT X
ORDER_QUANTITY X
Its giving me following error:
Invalid location type 1010 for this function
Please help me to solve this issue.
Thanks & Regards,
ManaliHi Manali,
To me, the BAPI BAPI_POSRVAPS_SAVEMULTI3 is for external procurement orders i.,e vendor ( location type 1011) and a receiving plant (location). Subcontracting locations(location type 1050) are also supported.
Location type 1010 is customer and what you are creating is like a VMI order.
Thats the reason, probably, you are getting an error.
For sales orders (like in VMI scenario), the BAPI BAPI_SLSRVAPS_SAVEMULTI2 is useful.
regards
Datta -
LONG data types producing errors in 10.1.2.48.18
Maybe I should already know this but...
I am getting the " Internal Error has occured " message when I attempt to add a field which is defined as a LONG data type. Can Discoverer handle these fields ? If so is there a setting I am suppose to change ?
thanks
OBXI know the BLOB problem has come up before as no, I don't think Discoverer will handle them directly (ie: there are example using pl/sql to handle the BLOB first).
However, I did try just pointing to the eul4_documents table where there is a BLOB (the actual workbook apparently). When I created the folder pointing to that Oracle table I did not get an error in Discoverer Admin.
Then I created a workbook against that folder bringing everything back. There is no data displayed for the BLOB (doc_document I believe), but I don't get an error. This was - as you may have gathered from the EUL tablename - using Discoverer v4.x. I wonder if it's now different in v10g?
Just an fyi.
Russ -
How do I fix "Invalid node type: selectionbox" error?
Ok I've got my document all made and nice and pretty, I use it to enter information and use the selection box to make visible the fields I need for each card. Then I save it and try to open it and get the following error popup message.
Invalid node type: selectionbox
Invalid node type: selectionbox
Invalid node type: selectionbox
Invalid node type: selectionbox
Invalid node type: selectionbox
Invalid node type: selectionbox
Invalid node type: selectionbox
Message limit exceeded. Remaining 10 errors not reported.
So I click ok on the error box. It opens the file with adobe reader like it's supposed to and then immediately I get the "Adobe reader has stopped working, windows can check online for a solution to the problem" and I get the two choices that both involve closing the program.
I got this once before and after about a half hour of fiddling with the original livecycle file it stopped doing it. I have no idea what I did to make it start or stop doing it and I'm not sure I even did do anything to cause it.
Has anyone else come across this problem? Does anyone know what I need to do to fix it?
I've included the file I'm having issues with.
Thanks,
AaronHi Aaron,
I cant replicate your problem. What I did notice though, is when I make a selection on almost every selection box, I get the following error:
'cardtwo.TextField1 has no properties'. The error is coming from the following piece of code in the change event: 'cardtwo.TextField1.caption.text.value = (this.rawValue);'
I dont see a TextField1 in the cardtwo subform so I suspect that this field has been renamed and / or moved since that bit of code was added. Perhaps that would be a good place to start and could very possibly be the cause of your problem.
Dallas
Maybe you are looking for
-
How to put a default value in Search Pages
Hi Guru's, I've been trying to look for a way to default the Parameters of a search page (i.e. in Opportunity search, component BT111S_OPPT i want the search parameter PROSPECT_NAME defaulted to a certain value). I've tried using both INSERT_SELECTIO
-
Waiting in vain. . .
So, I waited for the new iPhone, and now it looks like I have to wait another month or get a new blackberry now. Images of Steve Jobs saying, "And the iPhone 3g is available today", causing that midnight frenzy to buy iPhones with 3g right after the
-
Trying to open images, but getting kicked out of Photoshop
Trying to open an image and getting an error message that pops up stating: "The instruction at "01xda24b6b" referenced memory at "0x00000028". The memory could not be read. Tried clicking on OK to terminate or Cancel to debug. But still everytime I o
-
Support chinese language in N82?
Hi all, I got an European version N82. How can I make it support Chinese language? Can it be done by updating firmware? is it safe? thanks.
-
Trouble installing ONLY illustrator for CS5
This is the error code I received on my new macbook pro. Any ideas how I can fix this? Exit Code: 6 -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 7 error(s), 1 warning(s) WARNING: Payload ca