Data mismatch error
hi team
i have a report, where in my report, Data being mismatch with r/3 data my question is
1.how we will do reconcellation with r/3 data
2.what is agregated level
3.how we will run the statistical setup in lo
can u explain with step by step how we solve the data mismatch erors eg:company code missing
thanks in adv
v.muralikrishna
Hi
1.how we will do reconcellation with r/3 data
Yes we can do for MM we use MB5B, MMBE,Tcodes and also some Tables this is on eexample only and also Related Functional People will need to work to reconcile the data, BW consultanta alone can't do the reconcilization
2.what is agregated level
Eg:
06.2010 -- 10
06.2010 -- 20
Aggr Level is
06.2010 -- 30
3.how we will run the statistical setup in LO
LO you can see the below steps
Follow the steps, these steps are for SD module, but for your datasource, change the Tcode to fill setup tables and replace the SD DataSource with your datasource in the following steps.
1. First Install the DataSOurce in RSA5 and see it in RSA6 and activate in LBWE.
Before doing the steps from 2 to 6 lock the ECC System, i.e. no transaction will happen
2. Then delete the Queues in LBWQ like below
MCEX11 --> For 2LIS_11_*
MCEX12 --> For 2LIS_12_*
MCEX13 --> For 2LIS_13_*
Be carefull while doing all these deleations in Production Servers
3. Then delete if any entry is there in RSA7
Eg:
2LIS_11_*
2LIS_12_*
2LIS_13_*
At the time of setup table filling no entry will exists in LBWQ in ECC for the following Queues.
MCEX11 --> For 2LIS_11_*
MCEX12 --> For 2LIS_12_*
MCEX13 --> For 2LIS_13_*
6. Check the job status in SM37 and once finish it then goto RSA3 and then execute it and check.
7. Then Replicate the DataSource in BW.
4. Then delete setp tables using LBWG Tocde and select Application Number. i.e. 11, 12 and 13.
5. Then Load Setup Tables using OLI7BW, OLI8BW and OLI9BW.
Give Name of run = XYZ, Termination Date = tomorrows date and execute it in background.
i.e. Program-->Execute in Background.
2LIS_11_* Use OLI7BW Tcode to fill the Setup tables
2LIS_12_* Use OLI8BW Tcode to fill the Setup tables
2LIS_13_* Use OLI9BW Tcode to fill the Setup tables
8. Install InfoCube/DSO from Business Content or cretae InfoCube/DSO and then Map the ECC DataSOurce Fields and BW InfoObejcts in Transfer Rules (in BW 3.5) or in Transfermations (in BI 7.0).
9. Map the InfoObejcts in InfoSource and InfoObejects in InfoCube/DSO in in Update Rules (in BW 3.5) or in Transfermations (in BI 7.0).
10.Create InfoPackage and Load Init OR Full.
Thanks
Reddy
Similar Messages
-
Hi,
I have a file where fields are wrapped with ".
=========== file sample
"asdsa","asdsadasdas","1123"
"asdsa","asdsadasdas","1123"
"asdsa","asdsadasdas","1123"
"asdsa","asdsadasdas","1123"
==========
I am having a .net method to remove the wrap characters and write out a file without wrap characters.
======================
asdsa,asdsadasdas,1123
asdsa,asdsadasdas,1123
asdsa,asdsadasdas,1123
asdsa,asdsadasdas,1123
======================
the .net code is here.
========================================
public static string RemoveCharacter(string sFileName, char cRemoveChar)
object objLock = new object();
//VirtualStream objInputStream = null;
//VirtualStream objOutStream = null;
FileStream objInputFile = null, objOutFile = null;
lock(objLock)
try
objInputFile = new FileStream(sFileName, FileMode.Open);
//objInputStream = new VirtualStream(objInputFile);
objOutFile = new FileStream(sFileName.Substring(0, sFileName.LastIndexOf('\\')) + "\\" + Guid.NewGuid().ToString(), FileMode.Create);
//objOutStream = new VirtualStream(objOutFile);
int nByteRead;
while ((nByteRead = objInputFile.ReadByte()) != -1)
if (nByteRead != (int)cRemoveChar)
objOutFile.WriteByte((byte)nByteRead);
finally
objInputFile.Close();
objOutFile.Close();
return sFileName.Substring(0, sFileName.LastIndexOf('\\')) + "\\" + Guid.NewGuid().ToString();
==================================
however when I run the bulk load utility I get the error
=======================================
Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 1, column 3 (NumberOfMultipleMatches).
==========================================
the bulk insert statement is as follows
=========================================
BULK INSERT Temp
FROM '<file name>' WITH
FIELDTERMINATOR = ','
, KEEPNULLS
==========================================
Does anybody know what is happening and what needs to be done ?
PLEASE HELP
Thanks in advance
VikramTo load that file with BULK INSERT, use this format file:
9.0
4
1 SQLCHAR 0 0 "\"" 0 "" ""
2 SQLCHAR 0 0 "\",\"" 1 col1 Latin1_General_CI_AS
3 SQLCHAR 0 0 "\",\"" 2 col2 Latin1_General_CI_AS
4 SQLCHAR 0 0 "\"\r\n" 3 col3 Latin1_General_CI_AS
Note that the format file defines four fields while the fileonly seems to have three. The format file defines an empty field before the first quote.
Or, since you already have a .NET program, use a stored procedure with table-valued parameter instead. I have an example of how to do this here:
http://www.sommarskog.se/arrays-in-sql-2008.html
Erland Sommarskog, SQL Server MVP, [email protected] -
AddCurrentValue date paramater Type Mismatch Error
Post Author: brentlaw
CA Forum: Other
I am using vb6 and CR XI. I have Component "Crystal ActiveX Report Viewer Library 11.0" loaded and Reference to "Crystal Reports ActiveX Designer RunTime Library 11.0". I can successfully use AddCurrentValue and AddDefaultValue for all values except date or datetime datatype. Here is how I am doing it: Assume cReport is my report object
With cReport For X = 1 To .ParameterFields.Count .ParameterFields(X).ClearCurrentValueAndRange If InStr(UCase(.ParameterFields.Item(X).Name), "BEGDATE") Or InStr(UCase(.ParameterFields.Item(X).Name), "BEGINNINGDATE") Then If .ParameterFields(X).ValueType = crDateField Then .ParameterFields.Item(X).AddDefaultValue (BegDate$) '//where BegDate$ = "Date(2008,3,22)" <TYPE MISMATCH ERROR HERE> ElseIf .ParameterFields(X).ValueType = crDateTimeField Then .ParameterFields.Item(X).AddDefaultValue (dtBegDate$) '//where BegDate$ = "DateTime(2008,3,22,00,00,00)" <TYPE MISMATCH ERROR> End If End If Next 'xEnd With
I have tried many combinations of the value of BegDate$ and still I get the Type Mismatch Error. I have run out of ideas, please help inspire me.Post Author: Ted Ueda
CA Forum: Other
Here's a snippet from working code with the RDC:Session("oRpt").ParameterFields.GetItemByName("ExampleDateParameter").AddCurrentValue(CDate("2001/Jan/02"))Session("oRpt").ParameterFields.GetItemByName("ExampleTimeParameter").AddCurrentValue(CDate("3:45:00 PM"))Session("oRpt").ParameterFields.GetItemByName("ExampleDateTimeParameter").AddCurrentValue(CDate("2001/Jan/02 3:45:00 PM"))i.e., they're using Date objects and not String.Sincerely,Ted Ueda -
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"/> -
Hi all,
My project manager shown screen shot like data mismatch from r/3 side and bw report, Now i have to analysis where it is
strucked give me steps to follow find that error, you guys surely have idea where and all possible to get stuck please give yr
suggestion, then i can easy find that problem.
thanks & regards,
R. SaravananHi Saravanan,
Goto R3 side--> RSA3 Transaction > Enter the DS name> Give some restriction w.r.t some Characteristics --> Extract the data
Come to BW side> RSA1 trans> you can start checking with the either Infocube content/ MP contents> right click> Display data> Give the same restrictions as you gave in the R3 RSA3 trans> Execute
Compare the field values whether you are getting the same data or not.
if the data is matching here, then there might be some filtering in the Query--> check that filtering & check the data accordingly
If it is not matching at Cube/MP level--> Then compare the data at PSA level before which check all the Routines/Update rules/ Transformations because there is a possibility that the data might be filtered in any of these levels.
Hope it helps!
Regards,
Pavan -
Characterset mismatch error while export
Hi,
I am getting characterset mismatch error while exporting a schema.
select * from nls_database_parameters where parameter in('NLS_LANGUAGE','NLS_TERRITORY','NLS_CHARACTERSET')
PARAMETER
VALUE
NLS_LANGUAGE
AMERICAN
NLS_TERRITORY
AMERICA
NLS_CHARACTERSET
AL32UTF8
i have set nls_lang on OS level
NLS_LANG = AMERICAN_AMERICA.AL32UTF8
C:\oracle\ora92\bin>
C:\oracle\ora92\bin>
C:\oracle\ora92\bin>exp hrtemp_v6/hrtemp_v6@testdb file=c:\hrtemp_v6 statistics=
none
Export: Release 9.2.0.1.0 - Production on Mon May 14 11:55:58 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
server uses AL32UTF8 character set (possible charset conversion)
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user HRTEMP_V6
. exporting PUBLIC type synonyms
EXP-00008: ORACLE error 6552 encountered
ORA-06552: PL/SQL: Compilation unit analysis terminated
ORA-06553: PLS-553: character set name is not recognized
EXP-00000: Export terminated unsuccessfully
please suggest , whats wrong here
thanks & regardsi have set nls_lang on OS level
NLS_LANG = AMERICAN_AMERICA.AL32UTF8How and where?
C:\oracle\ora92\bin>At this command prompt, what do you get back from "set nls"
You can use
c:\> set nls_lang=.al32utf8
...right before you issue exp command. -
How to solve the "type mismatch" error in jCOM early binding program?
I got a "type mismatch" error jCOM early binding program.
I use the VB as the jCOM client to access the EJB deployed on WLS7. While using the
object parameter like "java.lang.Integer" in EJB method call, I got that error message
and my VB client had to be stopped?
The same situation, the VB program work perfect when using the "int" as the parameter.
And I try to instance the "myTLB.JavaLangInteger" in my VB program, but how ? The
"New", "CreateObject" and "GetObject" all failure, I don't know what to do next ???Hi,
This problem Could happen when you referesh quality or test system.
Your delta setup for the related master and transaction data needs to be reinit.
What happens is when you init. the delta and subsequent delta is all maintained in your source system
please check Notes 852443,424848,834229
Hope this helps
Thanks
Teja
Message was edited by:
Teja badugu -
Data Mismatch while selecting from External Table
Hi I am not able create an external table,I am trying to create and test table and able to create but when i selecting the data it showing data mismatch.I tried for an test data but it returned error.I want to load from an excel file saved as test.csv
CREATE TABLE Per_ext
CITY VARCHAR2(30),
STATE VARCHAR2(20),
ZIP VARCHAR2(10),
COUNTRY VARCHAR2(30)
ORGANIZATION EXTERNAL
TYPE ORACLE_LOADER
DEFAULT DIRECTORY dataload
ACCESS PARAMETERS
MISSING FIELD VALUES ARE NULL
LOCATION ('test.csv')
REJECT LIMIT UNLIMITED;
test.csv file contents
city ---------- state---------Zip------------country
Bombay----- MH------------34324-------india
london-------London------1321---------UK
Pune---------MH------------3224---------india
Banglore---- Karnataka---11313-------india
rgds
soumyaHi Justin
I am getting following error when i trying from toad
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-00554: error encountered while parsing access parameters
KUP-01005: syntax error: found "comma": expecting one of: "badfile, byteordermark, characterset, column, data, delimited, discardfile, exit, fields, fixed, load, logfile, language, nodiscardfile, nobadfile, nologfile, date_cache, processing, readsize, string, skip, territory, variable"
KUP-01007: at line 1 column 29
ORA-06512: at "SYS.ORACLE_LOADER", line 19
rgds
soumya -
Has the mapping format changed in system 11 changed from system 9?
One of my users who is responsible for uploading maps is trying to upload his Excel mapping document (which he used in version 9) into FDM 11.1.2.1 and is receiving a Type mismatch error.
Error Log
ERROR
Code: 13
Description: Type mismatch Row=3 SrcDec=(000-General Cash) TargKey=(10000) ChangeSign=(False) WhereClauseType=(Error 2029)
Procedure: clsUtility.mRecordsetFromExcel
Component: upsWDataWindowDM
Version: 1112
Thread: 185652
Any assistance would be appreciated.Well, as you can see I am having a bit of trouble with this user. I finally got him to send me the files he was attempting to load and not the test file. I received the error.
Here is the only log entry for this error:
** Begin FDM Runtime Error Log Entry [2011-08-12 16:44:41] **
ERROR:
Code............................................. 13
Description...................................... Type mismatch
Row=3 SrcDesc=(000-General Cash) TargKey=(10000) ChangeSign=(False) WhereClauseType=(Error 2029)
Procedure........................................ clsUtility.mRecordsetFromExcel
Component........................................ upsWDataWindowDM
Version.......................................... 1112
Thread........................................... 13988
IDENTIFICATION:
User............................................. <withheld>
Computer Name.................................... <withheld>
App Name......................................... <withheld>
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... <withheld>
Database Name.................................... <withheld>
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... <withheld>
Location ID...................................... 873
Location Seg..................................... 19
Category......................................... WLActual
Category ID...................................... 14
Period........................................... Jul - 2011
Period ID........................................ 7/31/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False -
Resource mismatch error in Acrobat Pro 6.0
Since I installed the newest version of Acrobat Reader, my Acrobat (version 9) my Acrobat Pro 6.0 no longer works!! Upon launch I get a "Resource Mismatch" error. There is no other explanation or information as to why the program won't run.
<< IMPORTANT INFORMATION! >>
This is an automated message.
The message you sent (attached below) requires confirmation
before it can be delivered. To confirm that you sent the
message below, just hit the "R"eply button and send this
message back (you don't need to edit anything). Once this is
done, no more confirmations will be necessary.
<< INFORMACION IMPORTANTE >>
Este es un mensaje automatico.
El mensaje que usted ha enviado (mostrado mas abajo)
necesita su confirmacion antes de ser entregado. Para
confirmar que usted ha enviado el mensaje, solo presione
el boton de "R"eply y envie éste mensaje (no es necesario
editar el mensaje). Una vez realizado esto, no se
necesitarán mas confirmaciones.
<< INFORMAÇÃO IMPORTANTE >>
Esta é uma mensagem automática
A mensagem que você enviou (em anexo) requer confirmação
antes de ser entregue. Para confirmar o envio basta
pressionar o botão de "Reply" e enviar esta mensagem de
volta (não é necessário editar). Uma vez que isto seja
feito, novas confirmações não serão necessárias.
<< WICHTIGE INFORMATION >>
Dies ist eine automatisch generierte Antwort.
Ihre Mail (unten angehaengt) muss vor der Zustellung an mich
explizit bestaetigt werden. Um dies zu tun, beantworten Sie
einfach diese Mail mit der "Antworten" oder "Reply"-Funktion
Ihres Mailprogramms. Es sind keine Aenderungen am Text
noetig. Dies ist die einzige Bestaetigung die Sie je an mich
senden muessen; Ihre weiteren Nachrichten werden automatisch
akzeptiert. Diese Massnahme dient der Bekaempfung von Spam.
<< INFORMATION IMPORTANTE >>
Ceci est un message automatique.
Le message que vous avez envoye (dessous) demande
confirmation avant qu'il puisse etre envoye Pour confirmer
que vous avez bien envoye le message ci-dessous, simplement
appuyez sur la touche "R"eply, et renvoyez ce message (Vous
n'avez pas besoin d'editer quoique ce soit). Une fois que
ceci est fait, vous n'avez pas besoin d'autre confirmations.
<< INFORMAZIONE IMPORTATE! >>
Questo è un messaggio automatico.
Il messaggio che hai spedito (allegato sotto) richiede una
conferma prima che sia consegnato. Per confermare che sei
tu che hai spedito il messaggio, basta cliccare il tasto
"R"eply e rispedirlo nuovamente (non hai bisogno di scrivere
nessuna altra informazione aggiuntiva). Fatto questo,
nessuna altra conferma è richiesta.
--- Original Message Follows ---
Date: Fri, 18 Mar 2011 18:35:45 -0600
From: MichaelKazlow <[email protected]>
To: anders ekstromer <[email protected]>
Subject: Resource mismatch error in Acrobat Pro 6.0 -
Can't get my file to read correctly.. keep getting mismatch error
below will be my code and the file it is supposed to read.. I can't get it to
work. It keeps giving me a mismatch error.
import java.util.*;
import java.io.*;
public class TestStudent{
public static void main(String[] args){
try {
Scanner s = new Scanner(new File("StudentGrades.txt"));
if(s.hasNext()){
String title = s.next(); //throws away the title line
s.useDelimiter("[,\\n+]");
while(s.hasNext()){
String name = s.next();
int id = s.nextInt();
double attGr = s.nextDouble();
double hwGr = s.nextDouble();
double e1Gr = s.nextDouble();
double e2Gr = s.nextDouble();
double fExGr = s.nextDouble();
System.out.println(name+attGr+hwGr+e1Gr+e2Gr+fExGr);
//Construct the Student object based on the above data
catch(Exception e){
System.out.println(e);
file:: Studentgrades.txt has this info in it
Name,id,attGr,HkGr,E1Gr,E2Gr,FExGr
Alex Smith,111111,75,80,75,78,73
Mary Alexander,222222,95,90,87,93,85
Johnson White,333333,80,80,75,67,73
Andrew Black,44444,95,85,86,93,95
Gary Shippment,55555,86,78,87,72,68
Walter Green,666666,67,90,90,95,85
Mario Winter,777777,95,90,95,87,92
Henry Summer,888888,87,100,85,83,72
Michel Spring,999999,56,100,75,78,85
April May,112222,40,85,65,55,65
May Spring,113333,25,65,50,45,50
Helen Hunter,114444,79,88,66,73,67
Ammy Gram,115555,87,90,90,87,95
Bill Bonnet,223333,95,100,95,82,95
Larry Smith,224444,100,87,73,80,76
Julia Winter,334444,35,75,55,63,70
Suzan Snow,335555,67,65,40,65,60
Gary Carpenter,336666,98,80,65,78,83
Last Not Least,337777,97,90,87,94,88Hi,
forget my previous answer.
You have mistake in your pattern, so I do it by different way. Instead of doubles I put ints, because all your numbers are int. However you can put doubles there as well.
So the code:
import java.util.*;
import java.io.*;
public class TestStudent{
public static void main(String[] args){
try {
Scanner scanner = new Scanner(new File("StudentGrades.txt"));
if(scanner.hasNext()){
String title = scanner.next(); //throws away the title line
scanner.useDelimiter(System.getProperty("line.separator"));
while (scanner.hasNext()) {
parseLine(scanner.next());
catch(Exception e){
System.out.println(e);
private static void parseLine(String line) {
Scanner lineScanner = new Scanner(line);
lineScanner.useDelimiter(",");
String name = lineScanner.next();
int id = lineScanner.nextInt();
int attGr = lineScanner.nextInt();
int hwGr = lineScanner.nextInt();
int e1Gr = lineScanner.nextInt();
int e2Gr = lineScanner.nextInt();
int fExGr = lineScanner.nextInt();
System.out.println(name+attGr+hwGr+e1Gr+e2Gr+fExGr);
}L.P. -
IDOC failed due to date mismatch
Hi Experts,
I am facing a problem in IDOC.
I IDOC is sent through a one SAP to another system.
In target system ,It was failed ,the reason being the date mismatch.
When I check through WE02 ,it was failed becoz a TODATE and FROMDATE got wrong ,i.e it got swapped..
So is there any way to process this error out IDOC?
Is it possible to change the dates and then process it manually?
Pls let me know as its on high priorty.
Note : BOTH SAP system are Production .
thanks in advanceHi Hemant,
Please find the following steps to edit IDOC segment after you find the error using WE02.
The example codes can be found in website
http://www.sapgenie.com/sapedi/idoc_abap.htm
STEP 1 - Open document to edit
CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_EDIT'
EXPORTING
document_number = t_docnum
IMPORTING
idoc_control = itab_edidc
TABLES
idoc_data = itab_edidd
EXCEPTIONS
document_foreign_lock = 1
document_not_exist = 2
document_not_open = 3
status_is_unable_for_changing = 4
OTHERS = 5.
STEP 2 - Loop at itab_edidd and change data
LOOP AT itab_edidd WHERE segnam = 'E1EDKA1'.
e1edka1 = itab_edidd-sdata.
IF e1edka1-parvw = 'LF'.
e1edka1-partn = t_eikto.
itab_edidd-sdata = e1edka1.
MODIFY itab_edidd.
EXIT.
ENDIF.
ENDLOOP.
STEP 3 - Change data segments
CALL FUNCTION 'EDI_CHANGE_DATA_SEGMENTS'
TABLES
idoc_changed_data_range = itab_edidd
EXCEPTIONS
idoc_not_open = 1
data_record_not_exist = 2
OTHERS = 3.
STEP 3a - Change control record
CALL FUNCTION 'EDI_CHANGE_CONTROL_RECORD'
EXPORTING
idoc_changed_control = itab_edidc
EXCEPTIONS
idoc_not_open = 1
direction_change_not_allowed = 2
OTHERS = 3.
STEP 4 - Close Idoc
Update IDoc status
CLEAR t_itab_edids40.
t_itab_edids40-docnum = t_docnum.
t_itab_edids40-status = '51'.
t_itab_edids40-repid = sy-repid.
t_itab_edids40-tabnam = 'EDI_DS'.
t_itab_edids40-mandt = sy-mandt.
t_itab_edids40-stamqu = 'SAP'.
t_itab_edids40-stamid = 'B1'.
t_itab_edids40-stamno = '999'.
t_itab_edids40-stapa1 = 'Sold to changed to '.
t_itab_edids40-stapa2 = t_new_kunnr.
t_itab_edids40-logdat = sy-datum.
t_itab_edids40-logtim = sy-uzeit.
APPEND t_itab_edids40.
CALL FUNCTION 'EDI_DOCUMENT_CLOSE_EDIT'
EXPORTING
document_number = t_docnum
do_commit = 'X'
do_update = 'X'
write_all_status = 'X'
TABLES
status_records = t_itab_edids40
EXCEPTIONS
idoc_not_open = 1
db_error = 2
OTHERS = 3.
Other alternative is to use WE19 with reference to the error IDoc number.
After you change the incorrect segment(s), you can post to the application.
As of result, new IDoc will be created.
You can use FM EDI_DOCUMENT_DELETE to delete the incorrect/errror IDoc number.
Also you can use WE02 to change the incorrect segment.
Double click on the incorrect segment to get the detail info. Then go to Data Record (menu) -> Change -> make neccessary changes -> Save.
Then you can use this program RBDINPUT to reprocess the error IDoc.
Hope this will help.
Regards,
Ferry Lianto -
WLC 5508 duplex mismatch error
Hi I've got a WLC 5508 connected to a Catalyst 6000 switch. In the switch I've get a CDP duplex mismatch error every 30 min.
%CDP-4-DUPLEXMISMATCH:Full/half duplex mismatch detected on port 3/23
with the show port command I can see this:
Port Name Status Vlan Duplex Speed Type
3/23 WLC connected trunk full 1000 10/100/1000
With the show CDP neigh I see a duplex mismatch
C6K9> (enable) sh cdp neig 3/23 detail
Port (Our Port): 3/23
Holdtime: 142 sec
Capabilities: HOST
Version:
Manufacturer's Name: Cisco Systems Inc. Product Name: Cisco Controller Product Version: 7.0.116.0 RTOS Version: Erro Bootloader Version: 1.0.1 Build Type: DATA + WPS
Platform: AIR-CT5508-K9
Port-ID (Port on Neighbors's Device): GigabitEthernet0/0/1
VTP Management Domain: unknown
Native VLAN: unknown
Duplex: half (Mismatch)
But in the WLC console there is not half duplex
(WLC5508) show>port 1
STP Admin Physical Physical Link Link
Pr Type Stat Mode Mode Status Status Trap POE SFPType
1 Normal Forw Enable Auto 1000 Full Up Enable N/A 1000BaseTX
I don't have errors in the port counters
How I can resolve this duplex mismatch?Try upgrading the firmware of the WLC to 7.0.230.0.
-
Data Mismatch problem in Production system
Dear Experts,
We have been encountering serious data mismatch problems with our source system since 29th Dec 2010.
We have realized this mismatch only on 11th Jan 2011. So, we have deleted entire data from 29th Dec 2010 onwards to 11th Jan 2011. Then we tried to load delta again as per our Process Chain sequence. Since then, our production system has become very inconsistent. We found that the entire data from 29th Dec 2010 to till date is started giving mismatch.
Our system got damaged in terms of data drastically. If I delete any bad requests from our Cubes & Data Store Objects, the next time when we try to load data, cube & Data Store Objects is showing the deleted request no. is not updated properly. Because of this, our Process chain is daily failing to complete and giving so many technical errors. We are totally confused to restore our data from 29th Dec 2010 to till date.
Can any one please help us to restore our data fully and Process Chain to run successfully...............?
Thanks in Advance,
SumanHi Suman,
I understood that you are using 3.x version of BW
such kind of issues occurs if you distrub the delta sequence by deleting the requests without making them red.
you can resolve this two ways......
1) Go to reconstruction tab of the DSO and CUBE, select all the req from 29th Dec 2010 thru 11th Jan 2011 and reconstruct them. once they appear in the request tab. make all the requests to red (set the QM status to RED) one by one and delete them from the CUBE and DSO.
This should set the delta status back to 29th and you will be able to run a repeat delta from then in your next delta.
2) Go to RSRQ and give the SID or the Request ID one by one that it is giving you ( request no. which is not updated properly)
Mke the QM status as RED for all of them.
Since you have already deleted them from the targets, just changing the QM status to RED will be sufficinet.
You have make the QM status to RED inorder to inform the system that the requset is incorrect one and has been deleted.
Once it is set to RED, system will not prompt any req and say "request no.# not updated properly".
i suggest you the second option.
Once you resume the delta load, it should run successfully.....and if you feel some data is still missing from 29th Dec 2010 thru 11th Jan 2011, just run a full repair load the get the data back.
If your Datasource is of LO extraction u may need to fill the setup tables to perform full repair.
Please let me know if the Datasource is of LO extraction. Also let me know once the issue is resolved.
Regards,
Sudheer.
Edited by: Sudheer Kumar Kurra on Jan 22, 2011 7:58 AM
Edited by: Sudheer Kumar Kurra on Jan 22, 2011 8:03 AM -
Argument count mismatch error: Expected 1, got 0.
I am writing a datagridcolumn array to the cookie, and upon retreiving the user data it immediately throws "argument count mismatch error: Expected 1, got 0" on MediaGridColumnInfo(). I assume there is a disconnect between what I am saving and what is expected to receive.
this is how I am saving the array:
public function Save():void
user.data.MediaListGridColumnsArray = new MediaGridColumnInfo(this.datagrid.columns);
user.flush();
when I put a trace on user.data.MediaListGridColumnsArray.columnObject after saving, it shows the correct type [object datagridcolumn].
This is the entire MediaGridColumnInfo class (got this from another thread for solving storing typed object issue):
package digitalmedia.components.entities
import flash.display.Sprite;
import flash.events.*;
import flash.net.SharedObject;
import flash.net.registerClassAlias;
import flash.utils.IDataInput;
import flash.utils.IDataOutput;
import flash.utils.IExternalizable;
public class MediaGridColumnInfo implements IExternalizable
public var columnObject: Array;
public function MediaGridColumnInfo(columnObject: Array)
this.columnObject = columnObject;
public function writeExternal(output:IDataOutput):void
output.writeObject(columnObject);
public function readExternal(input:IDataInput):void
columnObject = input.readObject();
any ideas? thanksI think you can't have required constructor parameters in objects that get
serialized.
Maybe you are looking for
-
Need help on assessment of security upgrade to ECC .0
Hi, I am a security guy and am involving in security upgrade from 4.6c to ECC6.0. I want your suggestions & contribution on preparing the assement of security upgrade. So can anybody guide me to follow the security strategies <removed_by_moderator>
-
Hi, I was created Universe level Prompts like below. Example: Date Between @Prompt(Sysdate) and @Prompt(Sysdate-60) I was created one report by using Date object which is having prompts and in the report properties i have checked REFRESH ON OPEN. whe
-
Hello Experts , I am passing data from ABAP to BRF plus and i am retrieving the equipment id ( Result ) Do i need to create a seperate master data form Equipment details in BRF plus ,or can i refer them from already existing m
-
I have just updated my iPhone and now none of the apps will open!
I just updated my iPhone 3GS to the most recent update but now when I try and open any apps that I have purchased they only open for a brief moment before returning to the starter screen. I would just restore the factory setting but I don't want to l
-
Hi, I have installed Design studio recently, created just two applications. Yesterday I tried to open my already created applications and tried to cretae new application, but when I open any application I am getting blank page...there is no layout fo