Change to larger data type
Good day,
I would like to ask if it is possible to increase the capacity of the "CheckNo" in the "Payment Means" when selected in both "Incoming Payments" and "Outgoing Payments" module.
Currently CheckNo has an "int" data type in the database. however the value I am inserting has a value greater than the maximum value "int" can hold.
Is it possible to change it into a "bigint" data type?
One workaround we had is to set it as "alphanumeric" however the issue is that it can accept non numeric characters.
Hi,
Maximum allowed size 11. More than that, system will not allow to add. It is not possible to change field size.
Thanks & Regards,
Nagarajan
Similar Messages
-
Dear Team,
Japanese characters alone are not passing correctly (passing like ??? or some unreadable characters) to Adobe application when we create input variable as XML data type. The same solution works fine if we change input variable data type to document type. Could you please do needful. Thank youHello,
most recent patches for IGS and kernel installed. Now it works. -
How to change the standard data type in xi
Hi,
presently we have SCM.i want to change the standard data type i.e" Replinishment order notification ".i want to change the length of the field .
but there is no edit option for that data type.
i even modified Software component version( http//sap.com/xi/scmbasis/global)with objects are original objects and objects are modifible(tick the check box)
thanks in advance.
atmakurHi Atmakur,
<i>i even modified Software component version( http//sap.com/xi/scmbasis/global)with objects are original objects and objects are modifible(tick the check box)</i>
After doing this have you activated the change list? If not please do it and refresh it..and try to open..it will work..
Regards,
Prasanthi. -
Change "String" into data type "Date"
Hi,
I have created a report containing several date fields for a plan/actual comparison. The connection is built up by using the jdbc connector.
My problem is that the date fields are only displayed as String, but I actually want them to be displayed as Date type.
Here an example:
Right now the date fields are displayed like this "20060411"
but I want them to be displayed like this ("11/04/2006", or similar).
I would appreciate any suggestions to solve this problem!
Cheers
ThomasHi Thomas,
Check out the following links :
http://help.sap.com/saphelp_nw04/helpdata/en/55/55a34098022a54e10000000a1550b0/content.htm
http://help.sap.com/download/netweaver/nw04/visualcomposer/VC_60_UserGuide_v1_1.pdf
Re: Custom message in VC
Thanks in advance,
Deep. -
Hi All,
Is there any FM to convert minutes into time format.
For example i have 103.8 i.e 103 minutes and 8 seconds and i wanna have as 01:43.80.
Regards.hi,
could not find any function module....
here is a very crude logic for this purpose (from a type p variable initially)
please help yourself in improving this logic in terms of performance.....:-)
DATA tm1 TYPE p VALUE '103.84' DECIMALS 2.
DATA : v_frac TYPE p DECIMALS 2 ,
v_trunc TYPE p DECIMALS 2,
v_str TYPE string,
v_int TYPE i,
v_mod TYPE i,
v_rem TYPE i,
v_mod_hrs TYPE i,
v_rem_hrs TYPE i.
WRITE :/ 'initial : ', tm1.
v_trunc = TRUNC( tm1 ).
v_frac = FRAC( tm1 ).
v_str = v_frac.
v_str = v_str+2(2).
WRITE :/ 'split : ', v_trunc, v_frac.
v_int = v_str.
v_mod = v_int / 60.
v_rem = v_int MOD 60.
WRITE :/ 'from decimals part : ', v_mod, 'minutes', v_rem, 'seconds'.
ADD v_mod TO v_trunc.
WRITE :/ 'new : ', v_trunc, 'minutes', v_rem, 'seconds'.
v_mod_hrs = FLOOR( v_trunc / 60 ).
v_rem_hrs = v_trunc MOD 60.
WRITE :/ 'final : ', v_mod_hrs, 'hours', v_rem_hrs, 'minutes', v_rem, 'seconds'.
rgds,
PJ -
Activation error while changing the data type of a field of a table
hi friends,
i am facing one problem while changing a data type of a field of a table.
i just created one table(Yqm32) .i have assigned charcter data type to one field(ztotal_count) .now i want to change this charcter data type to numeric data type.
while changing to NUMC data type activation error is comming as below.
Table is not yet classified
Field ZTOTAL_COUNT: Type change
ALTER TABLE is not possible
Structure change at field level (convert table YQM32)
Check on table YQM32 resulted in errors
Table YQM32 could not be activated
(E- Structure change at field level (convert table YQM32)
plz suggest.i need to change the data type from char to numc.
Thanks & RegardsHi Pabitra......
From the SE11 change the table as u wanted and then from menubar select
UTILITIES--> DATABASE UTILITY
It will open database utility
there u select the Activate and adjust database button.
then the database table will get adjusted.
just try it once.........
Suresh...... -
Changing data types of fields in structures
Hello,
Currently we are working for upgrade to ECC 6.0 .
In some transactions we are using BAPI_MATERIAL_SAVEDATA to create material.
We have some additional fields in MARA and MARC table , which we fill using BAPI_TE_MARA and BAPI_TE_MARC structures.
In these structures we have different data types for fields earlier in 4.6C
Now this function module is only working if we change data types of fields in these structures only to char type. It is going for dump , if we maintain any other data type.
Could any body tell me why should we change for char data type ?
Regards,
SATYAHi,
Check enhancement category (Extras --> Enhancement Category) for structures before enhancement. For example, for BAPI_TE_MARA structure, enhancement category is given as character type or numeric type. That means you can add the fields of data type only C and N. No other data types are allowed. If you select as not classified then you can add any data type. This option plays important role while enhancement.
Regards,
Prasanth -
How to change data type of input parameter
Hi
In my procedure i declared the data type of "Value Date" Input parameter as Date where as in CR it is showing data type as "Date Time". Can any one please specify how to change to Date.
While prompting for input parameter in description it is showing message as
Please enter Date time in format"yyy-mm-dd hh:mm:ss" . To change the content selected "format field" option. But is there any way to change input parameter data type.
Please suggest how to change.
Thanks SruthiHi Sruthi,
all you need to do on this is open the report go to the parameters, select the parameter that you wish to change and click "Edit". This will allow you to change thefield to a date rather than a date time.
Regards,
Noel -
How to find the Column data type changes in table
Hi All,
I need to find out the column data type changes where made recently in table .
How do i check past changes in column data type. Any data dictionary are there to find out the data type changes in the column .
Thanks in advance..<FONT FACE="Arial" size=2 color="2D0000">
You have the answer on hand (user_arguments / all_arguments)!
SQL> desc user_arguments
Name Null? Typ
OBJECT_NAME VARCHAR2(30)
PACKAGE_NAME VARCHAR2(30)
OBJECT_ID NOT NULL NUMBER
OVERLOAD VARCHAR2(40)
ARGUMENT_NAME VARCHAR2(30)
POSITION NOT NULL NUMBER
SEQUENCE NOT NULL NUMBER
DATA_LEVEL NOT NULL NUMBER
DATA_TYPE VARCHAR2(30) --> Data Type
DEFAULT_VALUE LONG
DEFAULT_LENGTH NUMBER
IN_OUT VARCHAR2(9) -->Argument direction (IN,OUT,or IN/OUT)
DATA_LENGTH NUMBER
DATA_PRECISION NUMBER
DATA_SCALE NUMBER
RADIX NUMBER
CHARACTER_SET_NAME VARCHAR2(44)
TYPE_OWNER VARCHAR2(30)
TYPE_NAME VARCHAR2(30)
TYPE_SUBNAME VARCHAR2(30)
TYPE_LINK VARCHAR2(128)
PLS_TYPE VARCHAR2(30)
CHAR_LENGTH NUMBER
CHAR_USED VARCHAR2(1)
Look for Data_Type where IN_OUT say OUT. That will be the data type retruned by that function.
Edited :
or POSITION in argument list,or null for function return value
-SK
</FONT> -
Change characterestic data type Length
Hi All,
Can anyone tell me, how i can change the caracterestic data type length. My characterestic got saved and activated. i can delete and recreate, but i would like to check whether there is any other way.
Regards,
Suresh Patipati.Hi,
Unfortunately, a characteristic can be created with a maximum length of 18 characters. The only workaround would be to create an user-defined characteristic of length CHAR18, and then fill it with the first 18 positions of the source field by derivation.
regards
Waman -
Hi Expert.
Please help me, I have create Z table here create one Field like Below.
APPROVED_STATUS
CHAR
1
0
Source
then i was change pre-define data type length CHAR 1 to 10. as below
APPROVED_STATUS
CHAR
10
0
Source
Now When We save data through program 10 char is saved properly.
Problem : When I Use SE16N t-code for changes related field data. At that time only 1 char inserted.
Also Use SE14 for Regenerate Table Structure. but Result is none.
Thanks & Regards.
Pradip Patel.Hi Sachin Dandekar.
I have already do this and also check Z table is Active.
but result none.
Thanks.
Pradip Patel. -
Local Currency - Translation Date Type
Hi:
We are on ECC 6.0 with New GL.
I wanted to check if we can change the Translation Date Type for 1st local currency (10) from Translation date to document date? There are three options in this field - Posting date, document date and translation date. But when we maintain it (under additional local currencies for a company code), local currency has this grey out and comes default to translation date. Not sure where it is defined that local currency can be translated only based on translation date.
However for 2nd and 3rd currencies this field is open and allow to choose any date type.
Please advise.
Thanks,
RahulHello Rahul,
For the local currency, it is hard-coded in the system to
choose the translation date as the transalation date (type 3). If you
change this translation date when you enter a document, the system will
use this new date. However, if you don't change this, the system will
always use the posting date as translation date for the local currency.
hope thic clarifies
Ray -
Hi
In my procedure i declared the data type of "Value Date" Input parameter as Date where as in CR it is showing data type as "Date Time". Can any one please specify how to change to Date.
Thanks in advance.
Thanks,
SruthiWhile prompting for input parameter in description it is showing message as
Please enter Date time in format"yyy-mm-dd hh:mm:ss" . To change the content selected "format field" option. But is there any way to change input parameter data type.
Please suggest how to change.
Thanks ,
Sruthi -
Timestamp data type on S[range C on E] constant value-based range windows
Hello,
My questiong is about how can we use timestamp value on S[range C on E] constant value-based range windows.
I have a LotEvent which i should collect and sum lastQty data for last ten minutes of market time (sendDate)
A normal [range 600] query does not work for me because i would like to use the exact time which data has been generated by the market (sendDate).
Here is the event;
public class LotEvent{
private Double totalQty;
private float lastQty;
private String symbol;
private String messageType;
private Integer dataInterval;
private String sendDate;
send date is always in "MM-dd-yyyy HH:mm:ss" format.
I have tried to use the following query but this gives an error;
Invalid statement: "select symbol, sum(lastQty) as lastQty, 10 AS dataInterval
+from lotInputChannel [range INTERVAL "0 0:0:15.0" DAY TO SECOND on >>sendDate<<]+
group by symbol"
Cause: Datatype char is not valid for value based windows
Action: Use a valid datatype for value based windows>
Here is the CQL;
<?xml version="1.0" encoding="UTF-8"?>
<wlevs:config xmlns:wlevs="http://www.bea.com/ns/wlevs/config/application">
<processor>
<name>lotProcTenMin</name>
<rules>
<query id="tenMin"> <![CDATA[select symbol, sum(lastQty) as lastQty, 10 AS dataInterval
from lotInputChannel [range INTERVAL "0 00:10:00.0" DAY TO SECOND on sendDate]
group by symbol]]> </query>
</rules>
</processor>
</wlevs:config>
i have tried this cql after changing the sendDate data type to long which is the time in milliseconds value but it did not work.
select symbol, sum(lastQty) as lastQty, 10 AS dataInterval
from lotInputChannel [range INTERVAL "0 00:10:00.0" DAY TO SECOND on to_timestamp(sendDate)]
group by symbol
The query above does not work also when sendDate is a String in "MM-dd-yyyy HH:mm:ss" format
At last i tried the following query with sendDate as time in milliseconds (long) value. It works! but i still would like to know how to use timestamp in S[range C on E] queries
select symbol, sum(lastQty) as lastQty, 10 AS dataInterval
from lotInputChannel [range *600000* on sendDate]
group by symbol
public class LotEvent{
private Double totalQty;
private float lastQty;
private String symbol;
private String messageType;
private Integer dataInterval;
private long sendDate;
Could anybody please help me with this issue?
Edited by: user8830791 on 01-Aug-2011 06:39It seems that you should configure the channel "lotInputChannel" as an application timestamped channel.
You can do that as follows -
- Have "sendDate" as a long and let its unit be milliseconds
- Use the following child elements of <channel> for the "lotInputChannel"
<wlevs:application-timestamped is-total-order="true">
<wlevs:expression>sendDate*1000*1000</wlevs:expression>
</wlevs:application-timestamped>
The multiplication by 10^6 is required since the units need to be converted into nanos
With this, you could use the query -
select symbol, sum(lastQty) as lastQty, 10 AS dataInterval
from lotInputChannel [range 10 minutes]
group by symbol
Of course, for the above to work, a requirement is that the value of "sendDate" is non-decreasing.
That is if e1 is before e2 in the "lotInputChannel" then e1.sendDate <= e2.sendDate
Edited by: Anand Srinivasan on Aug 2, 2011 6:57 AM -
How to use clob or blob data type in OWB
how to use clob or blob data type in OWB?
if OWB not surport these data type,how can i extract the large data type from data sourceThe same question was asked just two days ago No Data Found: ORA-22992
Nikolai Rochnik
Maybe you are looking for
-
Bind variable and parse_call
if i use a bind variable in sql will it reduce the values of column parse_calls in v$sqlarea? i am using bind variable in the following statement declare y number; begin :x:=101; select salary into y from hr.employees where employee_id=:x; end; but s
-
Let me know what is the use of "Open Item Management" in GL creation. I read abt it by clicking F1. But i didn't got clarity. I just came to know that it should be used for balance sheet items. That too there are many balancesheet items like bank acc
-
I am going to a holiday soon and I heard that electronic items get faulty when they go through the scanner at the airport also my brother had a android tablet (and I know android tablets are super faulty and bad quality unlike apple tablets) and when
-
I'm unable to use my credit balance
although I have a credit via a gift certificate, I'm still asked for a payment method
-
I went to manage my storage and saw my exs iPad on there? could he be seeing my photo
I am filling up on storage and went to manage my storage settings when it had my exs iPad in there. shortly after we broke up I changed my icloud/ Apple store/itunes PW (he'd have no way of getting it) and I was afraid that might happen so I've looke