Field UMSA1 cannot be converted in type CURR - long Text
Hi All,
I am getting the following error
Error records written to application log
Error in an arithmetic operation in record 489
Record 489:Contents 四川省长江滥曝扇备总 from field UMSA1 cannot
Record 489 :Contents 四川省长江滥曝扇备总 from field UMSA1 cannot be converted in type CURR ->lo
This happened for the customized master data Z********(customer number). Data source; 0CUSTOMER_ATTR
I have undertaken the following actions but all failed.
1. Replicated the data source, activated the transfer structure through a program and the load was run but the load failed with the same issue.
2. Pushed the data till PSA and tried to edit it in the PSA, but here too the load failed with the same issue.
It is understood that the data source 0CUSTOMER_ATTR is obtained from the Funtion Module: MDEX_CUSTOMER_MD
Out of 5 data packages, I could find only 3 data packages in PSA which are successful, the remaining had error and could not be found in PSA. Checked in R/3 but could not catch the correct record, since, did not had proper info. UMSA1 refers to Annual Sales, which are empty in R/3 and BW as well.
The UMSA1 field in data source 0CUSTOMER_ATTR in BW.
Data Type: CURR, Length: 15, Decimal: 2, curr/unit: UWAER
The UMSA1 field in R/3
Data Type: CURR, Length: 15, Decimal: 2
Request your timely suggestions.
Raj
Dear Veerandra,
I have already checked in R/3 as you had mentioned. But as I said earlier, could not catch the correct record, since, did not had proper info. UMSA1 refers to Annual Sales, which are empty in R/3 and BW as well.
I have undertaken the following actions but all failed.
1. Replicated the data source, activated the transfer structure through a program and the load was run but the load failed with the same issue.
2. Pushed the data till PSA and tried to edit it in the PSA, but here too the load failed with the same issue.
It is understood that the data source 0CUSTOMER_ATTR is obtained from the Funtion Module: MDEX_CUSTOMER_MD
3. Error Handling option.
Regards.
Raj
Similar Messages
-
Cannot be converted in type DEC,CURR - longtext
Dear,
When we are loading the data to the targets, we are getting the errors in the Transfer rules like mentioned bellow
Info source 0EC_CS_1 (Transaction Data for Consolidation)
Status (tab) :
Technical : Collection in source system ended
Processing Step : Processing End
Details (tab):
Processing end : Errors occurred
Error records written to application log
Error in an arithmetic operation in record 1
Record 1 :Contents 00 0.0000000 from field PCNT1 cannot be converted in type DEC ->longtext
Info source 0CO_OM_CCA_9 (Cost Centers: Actual Costs with Delta E)
Record 39952:Contents 048624.95- 1 from field SWF cannot be converted in type CURR ->longtext
Kindly help.
Thanks & Regards,
Kiran A
Edited by: Kiran A on Mar 21, 2010 10:23 AM
Edited by: Kiran A on Mar 21, 2010 11:36 AMHi,
It is sure some where in transferrules the mapping wasdone wrongly , like char --char of info object but in ur case some where data element is not same for field and info object.
check throughly transfer rules correctly field level and infoobject mapping and activate.
it is some where currency and unit fields the difference is there for data elements
Thanks&Regards,
Sathish
Edited by: sathish kakumudi on Mar 21, 2010 4:01 PM -
Record 1 :Contents PC from field G_UABSMG cannot be converted in
Hi Experts,
When iam trying to load transaction data i'm gettting fallowing error.
Pls suggest.
Record 1 :Record 1 :Contents PC from field G_UABSMG cannot be converted in type QUAN ->longtext.
Sirican you please answer some one this is very imporant for me..
Siri -
Re:Contents L001 from field /BIC/NTrtc cannot be converted in type QUAN
Hi ,
When loading from Flat file I am getting the following error in the developement.
Message no. RSAR198
Diagnosis
The value 'L001' from field /BIC/NTrtc cannot be converted into the DDIC data type QUAN of the InfoObject in data record 1. The field content could not be transferred into the communication structure format.
System response
The data to be loaded has a data error or field /BIC/NTrtc of the transfer structure is mapped to an unsuitable InfoObject.
The conversion of the transfer structure into the communication structure was cancelled. The processing of data records with errors was continued with respect to the settings in the error handling of the InfoPackage (Tab Page: Update Parameters).
Please suggest some the resolution.
Thanks and Regards,
Ravi.
Assigning points is the way to say thanks in SDN.
Edited by: Ravi Bw on Dec 21, 2007 1:45 PM
Edited by: Ravi Bw on Dec 21, 2007 1:53 PM
Edited by: Ravi Bw on Dec 21, 2007 2:41 PMcan you please answer some one this is very imporant for me..
Siri -
Hello,
I'm having a problem when I try to load the WSDL file for the "Invoke Web Service" activity.
I'm trying to create a connection between Orchestrator 2012 R2 and Cisco Unified CM through a Web Services. When I click the WSDL file and I click the "Format Hint" button appears the following error "Object of type 'System.Int32' can not be
converted to type 'System.UInt64'."
The WSDL file that Cisco Unified CM I exported another work tools, tested and working well. In Orchestrator just gives the error.
Can anyone help with this?
Thank you
RuiHi,
You're going to have to use Get-AzureVM to get your specific VM object and then pipe it into Add-AzureDataDisk. See the examples here:
http://msdn.microsoft.com/en-us/library/windowsazure/dn495298.aspx
Don't retire TechNet! -
(Don't give up yet - 12,575+ strong and growing) -
Text field data in the Interactive adobe form to long text
Hi Expert,
I have a text field(allow multiple line) in the interactive adobe form which has been binded to table type(char132) field of the context element.
Now I want the save text field data as a long text using SAVE_TEXT.
When I enter some value in the text field and trigger SUBMIT event then it is going to dump.
I am unable to trace out what is wrong, since control is not reaching to INIT method of the view.
please help.
Regards,
Rajesh.Hi,
what is in ST22 for this problem?
Regards Jiri -
Hi All,
I am reading notepads files and inserting data in sql tables from the notepad-
while performing sql bulk copy on this line it throws exception - "bulkcopy.WriteToServer(dt); -"data type related(mentioned in subject )".
Please go through my logic and tell me what to change to avoid this error -
public void Main()
Dts.TaskResult = (int)ScriptResults.Success;
string[] filePaths = Directory.GetFiles(@"C:\Users\jainruc\Desktop\Sudhanshu\master_db\Archive\test\content_insert\");
for (int k = 0; k < filePaths.Length; k++)
string[] lines = System.IO.File.ReadAllLines(filePaths[k]);
//table name needs to extract after = sign
string[] pathArr = filePaths[0].Split('\\');
string tablename = pathArr[9].Split('.')[0];
DataTable dt = new DataTable(tablename);
|
string[] arrColumns = lines[1].Split(new char[] { '|' });
foreach (string col in arrColumns)
dt.Columns.Add(col);
for (int i = 2; i < lines.Length; i++)
string[] columnsvals = lines[i].Split(new char[] { '|' });
DataRow dr = dt.NewRow();
for (int j = 0; j < columnsvals.Length; j++)
//Console.Write(columnsvals[j]);
if (string.IsNullOrEmpty(columnsvals[j]))
dr[j] = DBNull.Value;
else
dr[j] = columnsvals[j];
dt.Rows.Add(dr);
SqlConnection conn = new SqlConnection();
conn.ConnectionString = "Data Source=UI3DATS009X;" + "Initial Catalog=BHI_CSP_DB;" + "User Id=sa;" + "Password=3pp$erv1ce$4";
conn.Open();
SqlBulkCopy bulkcopy = new SqlBulkCopy(conn);
bulkcopy.DestinationTableName = dt.TableName;
bulkcopy.WriteToServer(dt);
conn.Close();
Issue 1:-
I am reading notepad: getting all column and values in my data table now while inserting for date and time or integer field i need to do explicit conversion how to write for specific column before bulkcopy.WriteToServer(dt);
Issue 2:- Notepad does not contains all columns nor in specific sequence in that case i can add few column ehich i am doing now but the issue is now data table will add my columns + notepad columns and while inserting how to assign in perticular colums?
sudhanshu sharma Do good and cast it into river :)Hi,
I think you'll have to do an explicit column mapping if they are not in exact sequence in both source and destination.
Have a look at this link:
https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlbulkcopycolumnmapping(v=vs.110).aspx
Good Luck!
Kaur.
Please mark as answer if this resolves your issue. -
Processing1 finished--Record 692 :Contents 0.0 0 from field NAVHW cannot be
Hi friends ,
i got the error :Record 692 :Contents 0.0 0 from field NAVHW cannot be converted in type CURR ->longtex when iam loading thru process chains at process load IP.
how can i rectify it?
pavanHi, Siddartha,
I Got same error message like you, how you solved the problem? -
Problem viewing text in long text field
Hi,
I have a long text in the screen and it takes 65 characters per line in the long text field. iam able to populate data in the long text field but the text in the long text field is truncating in between the words as shown below.
SAP Business One users can access and ru
n reports by using the UI API provided as
part of the SAP Business One SDK and the
Crystal Reports .Net Winform viewer. Rea
d the new ---
Could any one suggest how to rectify this, my requirement is to end the lines at spaces like
SAP Business One users can access and run
reports by using the UI API provided as
part of the SAP Business One SDK and the
Crystal Reports .Net Winform viewer. Read
the new ---
Appriciate your time.
Reward points for useful answer.
Thanks,
Sreeni.here is how I would do it:
1) convert the input (short text) table to string
2) apply this code to the string:
DATA: lv_text TYPE text40,
lv_length TYPE i.
WHILE lv_string IS NOT INITIAL.
lv_length = 39.
lv_text = lv_string.
WHILE lv_text+lv_length(1) NE space AND lv_length GE 0.
lv_text = lv_text(lv_length).
lv_length = lv_length - 1.
ENDWHILE.
IF lv_length GE 0.
APPEND lv_text TO lt_short_text.
ENDIF.
lv_length = lv_length + 1.
SHIFT lv_string LEFT BY lv_length PLACES.
ENDWHILE. -
Long text field required in customer field
HI everybody,
We are in the implementation of SRM 5.0. Here requirement is using z include structure, the customer fields have to be added.
In structure, i can add my own fields. But customer wants long text in customer fields.
If i maintain a field with 300 character means, screen displayed as single field as lengthy one.
But customer wants long text.Main worry from customer side is, they want to able to copy and paste paragraph into SRM customer field.
So please suggest me that how can i acheive this issue.
Txns in advanceHi.
You call read/write this field with FM REAd_TEXT of WRITE_TEXT, check this example:ù
ztdline TYPE tline OCCURS 0 WITH HEADER LINE,
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = 'F01'
language = 'I'
name = ekko-ebeln
object = 'EKKO'
TABLES
lines = ztdline
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
the table ztdline have the long text. -
Cannot convert ÿØÿà of type class java.lang.String to class BFileDomain.
Hi All,
I am using Jdeveloper 11.1.2.3.0.
I have a scenario of making an ADF page where I have a IMAGE field to show on the page. So,I have a table called "PRODUCT" with fields called photo with BFILE type. Now when I the data i have inserted using the DML command and i can see the path at the backend.
However,when i am runnig my ADF page in the Filed called "PHOTO" I can only see a junk character stating 'yoyo'.
When I click on it, it says ERROR "Cannot convert ÿØÿà of type class java.lang.String to class oracle.jbo.domain.BFileDomain".
Your help will be appreciated ASAP.
Regards,
ShahnawazHi,
did you show the id-value in the user interface as a input-component, and did the input-component include a converter?
If yes, show the id as output-text and remove any existing converter-components.
Best Regards -
BAdI error : type of EXIT_REF1 cannot be converted to the type of EXIT_REF
Hi all,
The below was the posted earlier for BAdI. Ihave followed all the steps. And i have written the below code. Syntactically it is not showing any errors, but when i am activating i am getting error
like " The type of EXIT_REF1 cannot be converted to the type of EXIT_REF". where i am doing the mistake..??
1) execute Tcode SE18.
2) Specify a definition Name : ZBADI_SPFLI
3) Press create
4) Choose the attribute tab. Specify short desc for badi.. and specify the type :
multiple use.
5) Choose the interface tab
6) Specify interface name: ZIF_EX_BADI_SPFLI and save.
7) Dbl clk on interface name to start class builder . specify a method name (name,
level, desc).
Method level desc
Linese;ection instance methos some desc
8) place the cursor on the method name desc its parameters to define the interface.
Parameter type refe field desc
I_carrid import spfli-carrid some
I_connid import spefi-connid some
9) save , check and activate adapter class proposed by system is
ZCL_IM_IM_LINESEL is genereated.
IMPLEMENTATION OF BADI DEFINITION
1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.
2) Specify aname for implementation ZIM_LINESEL
3) Specify short desc.
4) Choose interface tab. System proposes a name fo the implementation class.
ZCL_IM_IMLINESEL which is already generarted.
5) Specify short desc for method
6) Dbl clk on method to insert code..(check the code in AAA).
7) Save , check and activate the code.
REPORT ZBADI_TEST .
tables: spfli.
data: wa_spfli type spfli,
it_spfli type table of spfli with key carrid connid.
*Initialise the object of the interface.
data: exit_ref type ref to ZCL_IM_IM_LINESEL,
exit_ref1 type ref to ZIF_EX_BADISPFLI1.
selection-screen begin of block b1.
select-options: s_carr for spfli-carrid.
selection-screen end of block b1.
start-of-selection.
select * from spfli into corresponding fields of table it_spfli
where carrid in s_carr.
end-of-selection.
loop at it_spfli into wa_spfli.
write:/ wa_spfli-carrid,
wa_spfli-connid,
wa_spfli-cityfrom,
wa_spfli-deptime,
wa_spfli-arrtime.
hide: wa_spfli-carrid, wa_spfli-connid.
endloop.
at line-selection.
check not wa_spfli-carrid is initial.
create object exit_ref.
exit_ref1 = exit_ref. "" The type of EXIT_REF1 cannot be converted to the type of EXIT_REF"
call method exit_ref1->lineselection
EXPORTING
i_carrid = wa_spfli-carrid
i_connid = wa_spfli-connid.
clear wa_spfli.
Thanks in advance
krupali.Hi,
Both are of different types
data: exit_ref type ref to ZCL_IM_IM_LINESEL,
exit_ref1 type ref to ZIF_EX_BADISPFLI1.
Assiging one type another type is not allowed.
Rhea. -
Table in Smartforms cannot use data type CURR
Hello everyone,
I have trouble with Smartform
in Main window , I want to show data in table.
in main area of table .
I want to show data of amount in document (BSEG-DMBTR)
in text of main area. I add work area W_LINE_ITEM-DMBTR.(declare W_LINE_ITEM TYPE BSEG in Global definitions)
but when i execute report program I got error message "W_LINE_ITEM-DMBTR Unknown in form"
it's appear error for data type CURR only, for data type CHAR. it is OK.
Is Smartform can show data type Curr ?
what should i do to solve problem ?
Please help.Hi,
The best way wud be just to use the "Currency/Quan. Fields" tab...
In Global definition,, go in "Currency/Quan. Fields" tab -> declare the the field as below for W_LINE_ITEM-DMBTR,,
Field Name Reference Field Data type
W_LINE_ITEM-DMBTR BSEG-DMBTR CURR
Rgs,
Lokesh. -
Cannot implicitly convert type 'System.Data.SqlClient.SqlDataReader' to 'Microsoft.ReportingServices.DataProcessing.IDataReader'. An explicit conversion exists (are you missing a cast?)
I am getting the above error in c#. Please help me. Thanks in advance
public IDataReader ExecuteReader(CommandBehavior behavior)
string query = "select * from Sales.Store";
SqlConnection readerconn = new SqlConnection("Data Source=localhost;Initial Catalog=AdventureWorks2000;Integrated Security=SSPI");
SqlCommand readercmd = new SqlCommand(query);
try
readerconn.Open();
readercmd = readerconn.CreateCommand();
readercmd.CommandText = query;
readercmd.CommandType = System.Data.CommandType.Text;
SqlDataReader TestReader = readercmd.ExecuteReader();
return TestReader; //Getting error at this line
readerconn.Close();
catch (Exception e)
throw new Exception(e.Message);Hi,
Please firstly take a look at the documentation:
IDbCommand.ExecuteReader
Method
Users do not create an instance of a
DataReader class directly. Instead, they obtain the
DataReader through the
ExecuteReader method of the Command object. Therefore, you should mark
DataReader constructors as internal.
You need to use this method to get the IDataReader object, all the IDbCommand and IDataReader are in the Microsoft.ReportingServices.DataProcessing namespace. There's another IDataReader object which is in System.Data namespace, but they're actually two different
objects, that's why you got the exception.
For how to properly implement this Microsoft.ReportingServices.DataProcessing.IDataReader, please check this documentation:
Implementing a DataReader Class for a Data Processing Extension
It also provides code samples there.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to convert char to curr ?
Hi gurus.
Forgive me for the silly question.
I have a problem with data conversion from char to curr with 2 decimal places.
This is the scenario, I have a Z transaction which receives an excel file containing data from invoices and when the field contains a value such as 35,0 the program records the value 3.50 in the destination variable. But when the value is 35,45, it works.
Here is the piece of code:
WHEN '0007 '.
TRANSLATE USING ITAB-VALUE. " '.
ITAB-VALUE USING TRANSLATE',.'.
CONDENSE ITAB-VALUE NO-GAPS.
WA_OPER_MENORES-VL_BRUTO = ITAB-VALUE.
If I format the column in the excel file for numeric value with 2 decimal places also works, because when the value is formatted 35,0 change to 35,00. But I can not tell all the users hey formatt your files before upload to SAP.
To test I generate a simple report that reads the excel file and makes the conversion of the columns, like the code above, so I had no problems. I think there should be some configuration that has been changed in the transaction, but I'm new in ABAP, I come from "Java World" and I have no idea that could be.
I could just use a quick and dirty solution, adding a zero at the end of the column, when there is the 2 decimal places, but I prefer a clean solution.
Guys, is there any function module or class that does that kind of data conversion? If not, you could tell me what is the best practice to solve this problem?
thank you very much,
Ronaldo S. VieiraFollow this example to convert Char to Curr and Vice-Versa
DATA iamnt(17) TYPE c VALUE '243567.00'.
DATA eamnt TYPE p DECIMALS 2.
DATA oamnt(17) TYPE c.
MOVE iamnt TO eamnt.
WRITE eamnt TO oamnt.
WRITE oamnt.
Maybe you are looking for
-
Hi, When my system boots up the following error message is prompted: WARNING:IP: Hardware address '02:bf:0a:d0:00:2a' trying to be our address I perused documentation and it states that this occurrs when the ATM lane device is set to promiscuous mode
-
I've been asked to check if HASH JOIN is more suitable than NESTED LOOP(which CBO chose by default) for the following query. SELECT CM_DETAILS.TASK_ID FROM GEN_TYPE, CM_DETAILS WHERE ( ( ( ( ( CM_DETAILS.STAT_CODE < 8 ) AND ( GEN_TYPE.TASK_ID = CM_DE
-
AD Resource forest access with user from different forest
I am trying to access a AD resource forest using a user from a different forest. The "different forest" is the main forest used to contain all user accounts etc. This domain is trusted by the resource forest (which contains things like outlook distri
-
I Try to update aps and load new with OS 8.1.2 but will not. Starts process and stops in 5 min or so
-
How do i import yahoo bookmarks
I have my bookmarks in yahoo bookmarks, not internet explorer. How do I get the yahoo toolbar to show in mozilla?