To increase the length of a vanilla column
Hello Everyone,
I have a situation, where I have to increase a length of a vanilla column in siebel.
I have to increase the length of a base column CORP_STOCK_SYMBOL of a vanilla table S_ORG_EXT. From the tools level I can't do this as it does not allow me to.
If I can make the change from the backend, it won't reflect the same in the tools(Logical Level). But in the DB level you can see that the length has altered. But when u try to update a value and then open the application it throws an SQL error. What I am thinking is, though the length is altered at the physical level, in logical level it has not changed therefore i guess the SQL error is popping.
Or can I alter the S_COLUMN table itself? If it is done, I fear the problem while migrating this to different environment.
Please let me know the solution for this if any of you people have encountered the similar situation.
If you insist on increasing the length of the column, I would get Oracle involved.
Another option might be to use a different column or create a new column.
Similar Messages
-
How do I increase the length in data file
I have been getting this error, can anyone tell me why I'm getting the error below and help me fix the the error( increase the length of data file.
This is my Control file
LOAD DATA
INFILE Job.dat
APPEND INTO TABLE job
FIELDS TERMINATED BY x'09'
(PositionID, jobID, title, code, family)
This is my data in my data file
PositionID JobID Title Code family
50003490 1 NULL 001610 NULL
50004865 1 NULL 001615 NULL
ERROR
SQL*Loader: Release 10.2.0.1.0 - Production on Fri Jul 13 10:17:33 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Control File: Position1.ctl
Data File: Job.dat
Bad File: Job.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table JOB, loaded from every logical record.
Insert option in effect for this table: APPEND
Column Name Position Len Term Encl Datatype
POSITIONID FIRST * WHT CHARACTER
JOBID NEXT * WHT CHARACTER
TITLE NEXT * WHT CHARACTER
CODE NEXT * WHT CHARACTER
FAMILY NEXT * WHT CHARACTER
Record 1: Rejected - Error on table JOB, column POSITIONID.
Field in data file exceeds maximum length
Record 2: Rejected - Error on table JOB, column POSITIONID.
Field in data file exceeds maximum length
Record 3: Rejected - Error on table JOB, column POSITIONID.
Field in data file exceeds maximum length
Record 4: Rejected - Error on table JOB, column POSITIONID.this is the structure of my table
create table job (PositionID number(20) not null,
jobID number(20) not null, title nvarchar2(255), code nvarchar2(255), family nvarchar2(255),
constraint job primary key (PositionID, jobID))
organization index
Tablespace Position
pctthreshold 20
overflow tablespace users;
comment on table job is 'This table defines the job(s) associated with the position. There can be multiple jobs allowed although the preferred business rule is for one job per position.';
alter table job add constraint FKjob373174 foreign key (PositionID) references Position; -
How to increase the length of a columnin existing publication item
We need to urgently increase the length of three columns in one of the tables that is sent offline as a publication item. I have searched everywhere to see if there is a procedure to see this. I only found process to add/drop columns but not modify to JUST increase the length.
Can we just alter the tables on the server and republish the application? Will that cause any data loss on the client end?
Any help is greatly appreciated.
Thanks
SireeshaI totally forgot about this method. Metalink had it in the headlines today and remembered your question.
This should work for you.
Applies to:
Oracle Lite - Version: 10.2.0.1.0 to 10.2.0.2.0
Information in this document applies to any platform.
Goal
The Goal of this Document is to show the right steps when it is necessary to increase the Column Size for a table
which is used for the Synchronization with Oracle Lite 10GR2
BECAREFULL, it is not supported to change the Column Size or make any Schema Evolution on the Primary key
as The Synchronization Algorithm is based on Primary key
Solution
Create table test_sec (col1 number(10); varchar2(10));
alter table test_sec add primary key (col1));
Create Publication: PUB_TEST_SEC
Create Publication: PI_TEST_SEC: select COL1, COL2 from scott.TEST_SEC fast
Refresh, server wins, weight = 1 and add it to the Publicatio PUB_TEST_SEC
Synchronize this PUB_TEST_SEC
On the Server: increase the col2 WHICH IS NOT A PK, from 10 to 15
alter Table scott.TEST_SEC modify (col2 (varchar2(15));
To get the new Column Size on the olite DB, you need to alter the Publication item too using for example this code:
import java.sql.*;
import java.io.*;
import oracle.lite.sync.Consolidator;
import oracle.lite.sync.ConsolidatorManager;
import oracle.mobile.admin.*;
public class PublicationChange {
public static void main(String argv[]) throws Throwable
DriverManager.registerDriver ((Driver)Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance());
ConsolidatorManager consolidatorManager = new ConsolidatorManager();
consolidatorManager.openConnection("mobileadmin","manager","JDBC:ORACLE:thin:@suppolite1.fr.oracle.com:1521:PROD");
System.out.println("Connected");
try
/*You need to put a Select Statment lightly different from the Publication item,
if you will use the same select statment, it won't take in Account
if you used: select * from owner.table to create the Publication Item
you need to use: select * from owner.table for the alterPublicationItem API
consolidatorManager.alterPublicationItem("PI_TEST_SEC","SELECT * FROM SCOTT.TEST_SEC");
System.out.println("Pub Item recreated");
catch (Throwable e) {
e.printStackTrace();
try
consolidatorManager.closeConnection();
System.out.println("The installation is done!");
} catch (Throwable e) {
Compile and run this java code.
Synchronize
Check your table Description on Oracle Lite Database to verify that this Schema Evolution has worked as expected. -
How to increase the length of the identifier?
I want to create a table with a column name as:
"domainnameregistrationassistance"
oracle 9i does not allow me to do this.
as the identifier length is fixed to 30 characters.
how do i increase the length of the identifier?
any help on this will be great!Don't forget that there is a comment space for each table
and column, so calling the column DNR_ASSIST doesnt
revent you from doing ...
COMMENT ON TABLE M_SCHEMA.DNR_ASSIST IS '
Domain Name Registration Assistance'; -
Can I increase the size of a Long column to 4000 characters?
Can I increase the size of a Long column to 4000 characters?
maximum sizeof 4 GB -1 byte RTFM there: Datatypes(click)
extracted: LONG: Character data of variable length up to 2 gigabytes, or 231 -1 bytes.
Not 4Gb. Or also, read Paul M post.
Regards,
Yoann. -
How to find out the length of a LONG column?
How can I find out the length of a LONG column, I should write a stored procedure which will return me the length of a LONG column passed as an argument to it!
any ideas or suggestions? please respond, i need this urgently, or you can mail me at [email protected]
thanks,
sriniActually a LONG variable in PL/SQL maxes out at 32K, so this would not be accruate. If you are running Oracle 8+, you could do a conversion to LOB which will give you an accurate length. Note, this example needs a table created to hold the converted lob value, you can't do it directly in pl/sql:
create table lobhold
(templob clob);
declare
mylength number;
begin
execute immediate 'insert into lobhold select to_lob(text) from equipment_notes where equipment_id=1448';
select dbms_lob.getlength(templob) into mylength
from templob;
dbms_output.put_line(mylength);
execute immediate 'truncate table lobhold';
end; -
If we can increase the length of the Short Text field in a purchase order?
Hi Experts,
Please suggest if we can increase the length of the Short Text field in a purchase order?
If yes, How? and what will be the impact?
Thanks
GavarDear Arpit,
You can use PO Text field for long description of the material.
Regards,
Manish Jain -
Increasing the width of Pivot table Columns
Hi Gurus,
Small pivot table --> ( ie having less no of columns which generally can be seen in a single page without scrolling to the right)
If i have a small pivot table , then in the column properties through additional formatting options i can increase the width of an individual column.
However if the pivot table is Big,I am not able to increase the width of the individual column .
I tried setting width in the additional formatting options in the Content Properties( just above Rows and below Section there is a small grey box containing finger).
Now the Content Properties indeed increases the width of the column, but it also increase the width of the whole Pivot Table.
See...If i have a fixed number of columns in a PIVOT Table that do not change with prompt, then this solution work fine...
but the problem comes when the no of columns in pivot Table reduces based on the prompt selected.
In this case the less no of columns tries to occupy the whole width set in the content properties.
In short, with Content Properties the width of the PIVOT Table becomes fixed, irrespective of the no of columns coming.
Also after setting content properties, I am not able to print the report to PDF.
So the Question is... Can we increase the width of a Big Pivot Table whose no of columns keeps on changing based on the prompt....
Big pivot table -->
(ie table having no of columns which exceeds a single window frame and have to scroll to right to see the rest of the columns)
I hope i have not made things messy...
Thanks
AshishAshish,
Yes, you can set a fixed size for these. I'm sure you are fixing these because of PDF issue which might be irregular in sizes. Just play arnd with Custom CSS options. -
How to increase the length of a message in message class
Hi Friends,
Is there any way to increase the length of a message in a message class as the maximum length is 72 chars.
My requirement is I cannot use the Long text option.
Thank YouHI,
We cannot change the message length in the message class
but you can do one thing ,
while giving the message in your msg class write till which you are allowed to and then you put '&'
eg : this is message &
now goto text elements and create a text element suppose T00
and write the remaining text in that text element.
and when you want to display the message do it like
message i00(zmsg_class) with text-T00.
it ll work.
*****Reward if useful,
Thanks & Regards,
Sunny Suren .C. -
How to increase the length of charcteristics
Hi all
I want to concatenate four characteristics into one, but the problem is that when i m doing the same, the length of my concatenated (resulted) char is excceded 60 char. Is there any other way to do the concatenation or can i increase the length of resulted characteristics by any means.
Regards
RiteshHi Ritesh,
You can not increase size of infoobject more than 60 chars.
Have a look, it may helps
/people/sap.user72/blog/2006/05/27/long-texts-in-sap-bw-modeling
Srini -
How to increase the length of the subject line in email using FM
Hi
we have maintained 50 characters for the subject line initially, but some subjects are having more than 50 characters. how can we increase the length of the subject line in email.
urgent.
points will be rewarded generousely.Hi Rana,
In this case, you have to create a user defined field of required length under Journal Transactions Header to fill the data.
Regards,
Vijay Kumar
SAP Business One Forums Team -
How to increase the length of message in status bar
Hi all,
I need to show an error message in the status bar of the ABAP editor when an error occurs in the program. But the error message is not fully getting displayed, it is getting truncated. Is there any way to increase the length of the message in the status bar.You can display upto 73 charcters ,if you need more than this then create one text element .
here you can have 132 charcters.
parameters p_matnr like mara-matnr.
start-of-selection.
message s999(z01) with text-005.
Create message class with & & & & & & ( Message short text ).
This way you can show maximum 132 charcters.
Thanks
Seshu -
How to increase the length of Remarks in Journal Vouchers
Hi SAP Guru,
I am new in SAP Business One. Normally our Narration which we feed in Details of Journal Voucher is longer than the space provided. Is there any way to increase the length of Details field in Journal Voucher or Some other way we can cater this requirement.
Thanks for answers in advance
J.S.RanaHi Rana,
In this case, you have to create a user defined field of required length under Journal Transactions Header to fill the data.
Regards,
Vijay Kumar
SAP Business One Forums Team -
How to Increase the Length of Condition table in OV20
While creating a condition table in T.code OV20 if fields length is more that 50 bytes table is not getting generated.it gives error as Too Many Fields Selected(More than 50 Bytes).
Actually i need to create a tabel with Basic Material(WRKST) which has length of 48 bytes.
Is there a solution on how to increase the length so that error is avoided.
There is no such error occuring while crating condition table in V/03Hi,
You can try to use the type string:
form like zscr_data_hdr-form,
werks like zscr_data_hdr-werks,
matnr like zscr_data_hdr-matnr,
verid like zscr_data_hdr-verid,
lot like zscr_data_hdr-lot,
lot_qty like zscr_data_hdr-lot_qty,
udate like zscr_data_hdr-udate,
utime like zscr_data_hdr-utime,
zuser like zscr_data_hdr-zuser,
processed like zscr_data_hdr-processed,
defect like zscr_defect_data-defect,
vornr like zscr_route_data-vornr,
fieldxx type string,
dayst like zscr_data_hdr-dayst,
end of t_data.
So you can save you informations of every fld<n> concatenating their values into fieldxx.
Regards -
How to increase the length of description
Dear Guru's
we want to increase the length of Decription field in thBOM Item line 1 item line 2.can we increase the length.presently its having 40 characters capacity.
Thanks & Rgds
Pankaj Agarwal1.I dont think this is possible as this is a standard SAP requriement.
2.check the data eleaement -which has the 40 as character lenth.
so it is not recomended to change it.
Solution
3.You can use the ItemLongTEXT - which doesnt have any restriction in the lenght.
so dont change the standard setting use the itmelONGTEXT this should solve ur issue
Reg
Dsk
Edited by: SatheeshkumarD on May 8, 2008 11:01 AM
Maybe you are looking for
-
How many users can 1 Xserve support?
I have one Xserve (10.5.2, 2x3GHz, 5GB RAM, 1.34TB RAID 5) that I want to support the following services for my SMB: DNS, DHCP AFP, NFS, SMB Open Directory Print Software Update I also want to have mobile sync'd network home folders, but only for ~/D
-
My iphone won't connect into itunes
So when i use a usb cord to connect my phone to my toshiba windows laptop the message asking to trust the computer keeps popping up on my phone. When i hit trust things go slightly back to normal, where my phone opens up the photo app on my computer
-
I play KABAM / Hobbit app on an I-pad and I-phone daily. Mid game gold purchase on I-pad the app crashed (diff issue) and purchase transaction did not go through. Now, every time I open the game I'm asked for my apple I'd and password... then iget me
-
Hi, I am creating a java bean in a jsp file. I want to pass this bean to a java class in the same jsp file. eg: A1.jsp <jsp:useBean id="customer" class="com.Customer" scope="session"/> <jsp:setProperty name="customer" property="*"/> <% Teller teller=
-
Import same documents for content server
Good afternoon , I need import same documents for the content server , I have one cd wich 400 imagens in pdf all on contrat , i want import all for the content server. how i get this ? att Angelo