Unable to change the length of field in idoc segment
Dear all,
My requirement is to change the length of a field(Z field) in a segment (Z Segment). I tried the following but in vain
1)Tried to Cancel the release and then change the length of the domain. Unfortunately it is givin an error saying "Error while resetting release of segment ZC9DEMARA01".
I also tried cancelling hte release of extension and then cancelled the release of segment
2) Created a new version, but in new version the earlier fields are diabled. So I am unable to edit.
I have gone through some of the links available in SDN but I could not solve as I am unable to cancel the release in the first step.
[Idoc segment field length changes]
Could you please help me.
Thanks in advance!
regards,
Aravind
Hello Aravind,
I Have created one Segment type with some fields, changed the field length also its working.
just try to cancel the release and change the length of the filed and do it set release again.
Try it .
Thanks,
santhosh
Similar Messages
-
Can we change the length of fields appearing in the ALV layout
Hi All,
We are using the FM 'REUSE_ALV_LIST_DISPLAY' to display the output.We have a column Clearing agent status in the output which has 3 lights(Red,Green,Yellow).After getting the output if i change the layout, the output of this column is appearing as description instead af light.
Eg:For green light,it is 'All approvals are issued'.
When checked in debugging, I could find out that there is one subroutine 'Column_width_optimize' in which the output length of the columns are getting changed.Initially the output length would be same as data elements length.But once this subroutine runs,the lengths are getting changed.(Clearing agent status if of length : 60,but it is getting changed to 30 which is the length of its description.)
Now,I want to know if we can change the output length so that i obtain the required output.
Thanks
PrathimaHi,
You can change the length in th eoutput by using
outputlen in fieldcat.
You can use like this
w_fieldcat-outputlen = '20'.
If you want 20 char lenght in the output.
I think it is useful for you. -
Changing the length of a key field in a table
Hi,
I want to increase the length of the field from 2 to 4 in a standard SAP table and deliver it to the customers. This field is a key field in table. This field from this table is also used in view and view clusters.
What is the implication of changing the length to the customers. The customers would have already data in this field and they should not loose any data. Will the existing data for customers remain at length 2 or do they have to do some conversion?
Regards,
Srini.
Edited by: Srinivasa Raghavachar on Feb 7, 2008 12:45 PMhi,
The database table can be adjusted to the changed definition in the ABAP Dictionary in three different
ways:
By deleting the database table and creating it again. The table on the database is deleted, the inactive
table is activated in the ABAP Dictionary, and the table is created again on the database. Data
existing in the table is lost.
By changing the database catalog (ALTER TABLE). The definition of the table on the database is
simply changed. Existing data is retained. However, indexes on the table might have to be built again.
By converting the table. This is the most time-consuming way to adjust a structure.
If the table does not contain any data, it is deleted in the database and created again with its new
structure. If data exists in the table, there is an attempt to adjust the structure with ALTER TABLE. If the
database system used is not able to do so, the structure is adjusted by converting the table.
Field 1 Field 2, Field 3
NUMC,6 CHAR 8 CHAR, 60
Field 1 Field 2 Field 3
NUMC,6 CHAR, 8 CHAR,30
The following example shows the steps necessary during conversion.
Starting situation: Table TAB was changed in the ABAP Dictionary. The length of field 3 was reduced
from 60 to 30 places.
The ABAP Dictionary therefore has an active (field 3 has a length of 60 places) and an inactive (field 3
still has 30 places) version of the table.
The active version of the table was created in the database, which means that field 3 currently has 60
places in the database. A secondary index with the ID A11, which was also created in the database, is
defined for the table in the ABAP Dictionary.
The table already contains data.
Step 1: The table is locked against further structure changes. If the conversion terminates due to an
error, the table remains locked. This lock mechanism prevents further structure changes from being
made before the conversion has been completed correctly. Data could be lost in such a case.
Step 2: The table in the database is renamed. All the indexes on the table are deleted. The name of the
new (temporary) table is defined by the prefix QCM and the table name. The name of the temporary
Step 3: The inactive version of the table is activated in the ABAP Dictionary. The table is created on the
database with its new structure and with the primary index. The structure of the database table is the
same as the structure in the ABAP Dictinary after this step. The database table, however, does not
contain any data.
The system also tries to set a database lock for the table being converted. If the lock is set, application
programs cannot write to the table during the conversion.
The conversion is continued, however, even if the database lock cannot be set. In such a case
application programs can write to the table. Since in such a case not all of the data might have been
loaded back into the table, the table data might be inconsistent.
You should therefore always make sure that no applications access the table being converted
during the conversion process.
Step 4: The data is loaded back from the temporary table (QCM table) to the new table (with MOVECORRESPONDING).
The data exists in the database table and in the temporary table after this step.
When you reduce the size of fields, for example, the extra places are truncated when you reload the
data.
Since the data exists in both the original table and temporary table during the conversion, the storage
requirements increase during the process. You should therefore verify that sufficient space is available in
the corresponding tablespace before converting large tables.
There is a database commit after 16 MB when you copy the data from the QCM table to the original
table. A conversion process therefore needs 16 MB resources in the rollback segment. The existing
database lock is released with the Commit and then requested again before the next data area to be
converted is edited.
When you reduce the size of keys, only one record can be reloaded if there are several records whose
key cannot be distinguished. It is not possible to say which record this will be. In such a case you should
clean up the data of the table before converting.
Step 5: The secondary indexes defined in the ABAP Dictionary for the table are created again.
Step 6: The temporary table (QCM table) is deleted.
Step 7: The lock set at the beginning of the conversion is deleted.
If the conversion terminates, the table remains locked and a restart log is written.
Caution: The data of a table is not consistent during conversion. Programs therefore should not access
the table during conversion. Otherwise a program could for example use incorrect data when reading the
table since not all the records were copied back from the temporary table. Conversions therefore
should not run during production! You must at least deactivate all the applications that use tables to
be converted.
You must clean up terminated conversions. Programs that access the table might otherwise run
incorrectly. In this case you must find out why the conversion terminated (for example overflow of the
corresponding tablespace) and correct it. Then continue the terminated conversion.
Since the data exists in both the original table and temporary table during conversion, the storage
requirements increase during conversion. If the tablespace overflows when you reload the data from the
temporary table, the conversion will terminate. In this case you must extend the tablespace and start the
conversion in the database utility again.
If you shorten the key of a table (for example when you remove or shorten the field length of key fields),
you cannot distinguish between the new keys of existing records of the table. When you reload the data
from the temporary table, only one of these records can be loaded back into the table. It is not possible
to say which record this will be. If you want to copy certain records, you have to clean up the table
before the conversion.
During a conversion, the data is copied back to the database table from the temporary table with the
ABAP statement MOVE-CORRESPONDING. Therefore only those type changes that can be executed
with MOVE-CORRESPONDING are allowed. All other type changes cause the conversion to be
terminated when the data is loaded back into the original table. In this case you have to recreate the old
state prior to conversion. Using database tools, you have to delete the table, rename the QCM table to
its old name, reconstruct the runtime object (in the database utility), set the table structure in the
Dictionary back to its old state and then activate the table.
If a conversion terminates, the lock entry for the table set in the first step is retained. The table can no
longer be edited with the maintenance tools of the ABAP Dictionary (Transaction SE11).
A terminated conversion can be analyzed with the database utility (Transaction SE14) and then
resumed. The database utility provides an analysis tool with which you can find the cause of the error
and the current state of all the tables involved in the conversion.
You can usually find the precise reason for termination in the object log. If the object log does not
provide any information about the cause of the error, you have to analyze the syslog or the short dumps.
If there is a terminated conversion, two options are displayed as pushbuttons in the database utility:
After correcting the error, you can resume the conversion where it terminated with the Continue
adjustment option.
There is also the Unlock table option. This option only deletes the existing lock entry for the table .
You should never choose Unlock table for a terminated conversion if the data only exists in the
temporary table, i.e. if the conversion terminated in steps 3 or 4. table for table TAB is therefore QCMTAB.
Hope this is helpful,Do reward. -
Unable to change the item category in existing Scheduling Agreement
HI,
I have a schedule agreement where there are already list of line items but saved without the appropriate item category field in all of the line items. Now I see that the Item category column is greyed out & unable to edit or change thru ME32 T.code.
I am already aware that deleting the item codes & adding again with resolve the issue. But when try to delete, those codes shows that they have GR & PO not completed one.
My question is :
Is there a way to edit/change the Item category field without deleting the item?
Whethere is it possible to do it in bulk update for group of items in SA?
If it is possible, pls provide how to do it with steps.
Kindly advice.
Thanks. in advance!
-UmeshPlease try using MASS tcode with object BUS2013
or MEMASSSA
Its a direct table update where you can select the Table Item and Field Item category and input the document number to change the value os item category and try with one sample data then do it in mass.
Before cahngin the item categry Please make sure all the dependancies are met then nly the system will allow you to save.
Refer for Mass upload function it is common for all
[Mass update|http://www.sapkshare.com/user/image/mass-maintenance---mm17.pdf]
Edited by: Karthik on Jul 29, 2011 2:44 PM -
Unable to change the data in PSA
Hello All,
I have a delta failure because of invalid characters in one of the field and now i wanted to change the PSA. I have deleted the request from all data targets and started changing the error record, it is not showing all columns from PSA hence i am unable to change the data in required field.
Could you please let me know how will i see all columns from PSA. Thanks
Regards,AshokHi Ashok,
To increase/decrease the number of columns that are displayed on the menu from the Settings option select Change display variants
Also if you want to see say all the failed records you can sort the order of the data using the Status column -
How to change the length of a JTextField?
Hello,
I am trying to shorten the length of a JTextField with the following code :
// up to this point, getColumns() returns a value of 35.
jTextField1.setColumns(20);
(jTextField1.getParent()).invalidate();
(jTextField1.getParent()).validate();
When I ran this code, it does not change the length of the text field at all.
I wonder if I am writing my code correctly or is there a better/more correct
way to do this?
Thank you for your help.
Akino.Packing a frame works:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class ShortText implements ActionListener {
JTextField txtF;
JFrame frame;
public ShortText() {
frame = new JFrame();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
txtF = new JTextField(30);
JButton btn = new JButton("Shorten");
btn.addActionListener(this);
frame.add(txtF, BorderLayout.NORTH);
frame.add(btn, BorderLayout.SOUTH);
frame.pack();
frame.setVisible(true);
public static void main(String[] args) {
new ShortText();
public void actionPerformed(ActionEvent e) {
System.out.println("Old Columns: " + txtF.getColumns());
txtF.setColumns(20);
frame.pack();
System.out.println("New Columns: " + txtF.getColumns());
} -
How to change the lengths of the layout
Hi ,
I am executing one report, output is coming fine but next if i go to print preview for PO number only 9 digits are appearing one digit is missing, actually column is trucated, there in print preview there is one tab called Change Layout, there if i see length of the PO no is 9, so its showing only 9 digits, actually length of the PO no should be 10.in change layout the length is editable i can change from 9 to 10, after that there is a button called copy, then it will show correctly, it works only one time, so each and every time user has to change the length, so can any one suggest how to change that length in the layout permanently, bcos there is no save button there.
Can any one tell me from where all these lengths are coming which are appearing in change layout.Surely its not coming from the report.Hi friend,
That depends upon the space provided by the ALV column for that variable or the heading size its not based on the data element size.
If you want to be more clear lust count the space available for each field available at the print preview.
The details for that are stored in table T180S just see the documentation available for that table.
And see when the table is getting filled like that so that you will be able to find a solution where and how it is getting populated.
Use column width optimization for getting the correct output.
If you have any queries in this please revert back to me i will help you.
Thanks,
Sri Hari
Edited by: srihari.kumar on Jan 5, 2012 4:01 PM -
Changing the Length of the Label
Hi friends,
How do I change the Length of the Label in Select-options Component, by default it is taking only
20characters i.e, medum from dataelement.say I want display more than characters i.e Long Text of Data element.
How can I access the Long Text of dataelement in Webdynpro select-options component?
Regards,
Xavier.PI think, in select-options component we will be adding the fields to selection screen using the method
add_selection_field of if_wd_select_options. no where we will be placing the UI elements in view.
Regards,
Xavier.P -
Error when changing the length of IO
Hi Experts,
I have changed the length of one of my Info-Object from NUMC-2 to NUMC-3. While trying to activate it it is giving the error "Structure Change at field Level(change Table)".
But When i changed the length of one more IO before from Char-1 to Char-3, it successfully got activated.
Please help me out.
Regards,
PavanHi Ananda,
We cannot delete the master data.
Can Anyone pleasetell me why this IO is not getting activated when i change length from NUMC2 to NUMC3
I didn't face any problem when i changed the length of one of my IO from Char-1 to Char-3. It successfully got activated
But im facing this problem when I try to change the length of another IO from NUMC-2 to NUMC-3.
If anyone any any solution for this otherthan deleting the existing data, please do let me know.
Regards,
Pavan -
Change the Accounting document fields cost center and profit center
Dear Experts,
User has posted document with wrong profit center
For that we subjected that he can go to the profit center actual posting T.Code 9ke0 but with that he can only change the Profit center document with that there is no accounting side updating
I have tried with Document Change Rules, Line Item for fields cost center and profit center in that while configuring I did not get any error message,
But in the document I am unable to changing the same fields cost center and profit center
Can any body please guide me to resolve the issue?
Essentially I want to change the Accounting document fields cost center and profit center
Thanks in Advance,
WiswanathHello,
Once the documents are posted in FI module, the system doesn't allow anybody to change the cost objects (cost center, profit center, internal order). The only fields you can change through FB02 transaction are the Line item text (BSEG-SGTXT) and the assignment (BSEG-ZUONR).
If you want to get a change to the cost object to be reflected from FI to CO, you should reverse the FI documents with wrong cost objects and post new documents with correct cost center, profit center.
Hope it helps you.
Cheers,
Daniel. -
Masked Input Plugin - Cannot change the length
I use the masked plugin alot. But the strange thing is that it does not have a length field so it defaults to 30. In order to change the length, I have to change it to a Text Field, then change the length (e.g., to 15 for phone number) and then change the type back to Masked Input. The length is then shorten.
Can't the masked input plugin be changed to include the length field? It seems to still use it.
Robert
http://apexjscss.blogspot.comHi Robert,
are you talking about the display length of the field or the number of characters which can be entered.
Don't have access to the source code now from my iPad, but in the plugin definition you could check if the checkbox for field width (don't remember the exact name) in the standard attributes region is checked.
Have you downloaded the plugin from http://apex.oracle.com/plugins or do you use the copy from the sample app?
Regards
Patrick -
Unable to change the data source of SAP system
Dear all,
We have install SAP netweaver EHP1 standalone java on oracle 10.2.0.5 on windows 2008 R2.
while installation i have given the central SLD system as solman,
By mistake i have deleted the system from SMSY.. now when i createed the system manually i am unable to change the data resource as SLD due to this i can start my SMD configuration
Request please let me know how to resolve this issue.
Thanks
PareshHi Paresh,
You can proceed with deleting your SAP system from SMSY (along with connected technical content such as AS Java definition) and the run the LANDSCAPE FETCH through transaction SMSY_SETUP to have the correct definition of your SAP system in SMSY.
Following this, you could use the addon Landscape Verification (a new thing I learnt today!!!) to check the correctness of transaction SMSY. The following link details the Landscape verification 1.0 for SolMan:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e093b3ce-c034-2d10-01bc-b51f1691d3da?quicklink=index&overridelayout=true
Hope this helps sort out your issue. -
I go to "clip adjustments" and change the length of a clip. It reverts back to original length. I've also tried to shorten it by moving the yellow "box" around a specific clip to shorten. It still reverts back to original length. Why?
Welcome to iMovie Discussions.
See my 2nd reply to 'getzcreative', here. -
i have the 2.5GHz i5 macbook pro that came out in june of 2012, i updated to OSX version 10.8.1 and now i am unable to change the 3.5mm headphone output into an input.
i have the 2.5GHz i5 macbook pro that came out in june of 2012, i updated to OSX version 10.8.1 and now i am unable to change the 3.5mm headphone output into an input.
-
How can I change the length of multiple lines at the same time?
This just seems like it should be a no-brainer, but obviously for me it isn't. I'm trying to change the length of multiple lines, that are at different angles, at the same time, in CS4. Basically, I design the face of dials used for airplane instrument gauges (like RPM, Torque, etc), and they have gradiation marks (lines) located all around, similar what a clock looks like with the hour and minute gradiation marks (lines). Is there a way to select all the lines, that I know are the same length, and change it to a different length, that's accurate to the 1/100th of an inch? It would just be like selecting multiple lines that have all the same stroke, then using the stroke box to change the stroke weight from .025in to .030in.
I've used the transform box to change the 'height' of a line before, but the line has to be at 90 degrees (straight up and down), and that won't work for the lines that are at, say, a 45 degree angle.
I hope i'm explaining this in a way that someone will understand. If not, I can sure try to clarify more, or insert the picture so you could see what i'm talking about.
Thanks for any help you can give!OK, after fiddling around with everyone's ideas, I think I finally got it. I knew there had to be something with proportions between W and H, but couldn't figure out the math, until Jacob answered with:
"If each line must be strecthed from the inner/outer end, you may select each and use the Transform palette, choosing the right Reference Point, multiplying by the proportion in W or H (1.75/1.5), and Ctrl/Cmd clicking."
Now, I basically did everything above, (but I couldn't figure out what you were talking about with the Ctrl Clicking thing), except after figuring out the right proportion (which ends up being so small you guys would die if I told you the number; the numbers I gave earlier were just an example and much larger than what i'm really working with) I just clicked the little chain next to the W and H boxes to constrain the proportions. I then put the new number (multiplied proportion by whatever was in W) in the W box. The line lengthened perfectly toward the center of the dial, keeping the correct angle!
And Harron-Thanks for the link to Teri's, It is going to help with some things I do, but most of the dials I design don't have equal distances between each gradiation mark, and the blueprints I work off of usually have exactly what distances that the grad. marks are supposed to be. So, after selecting one of my grad marks that is already at it's correct place, I then use the rotate tool and Alt-Clicking the very center of the dial, I can then put in exactly what distance I want the next grad. mark to be at, I hit copy (instead of OK) and there will be a new grad. mark exactly the correct distance from my original. Then if I want to have the 3rd grad. mark I just hit Ctrl-D and it will copy another mark to the next position. I don't know if you necessarily wanted to know all that, but i thought i'd explain why I like doing it that way.
A BIG thanks to everyone! I'm really a AI newbie and am the only one at my company that knows how to use it, so I don't have anyone close to ask stupid questions to. So I appreciate all your help!
Maybe you are looking for
-
How do I unlock the passcode on iPhone 5s?
It's an iPhone 5s but I forgot the passcode , how do I get in ?
-
How do I change to a new Apple ID on iPhone4 (need to keep old ID usable aswell)
How do I change my Apple iPhone4 - Apple ID from the ID it is set up with, to a new one. I need to keep the current Apple ID as it is used by another family member on their iPhone. At present both phones are using the same Apple ID.....
-
HRMS:PTO : Special Holiday Accruals
Hell Gurus, We have a Accrual Special Holiday Setup which will give all the employees 32 hours at the anniversary date. If the Employee is a new hire it will be prorated. This is working as expected. The Users have the ability to add the Special Holi
-
Removing Gnome 2.30's keyboard indicator
Hi. I've just upgraded to Gnome 2.30 and now there always is this annoying keyboard layout indicator in the tray. I use two layouts between which I switch using a keyboard shortcut. I can't find a way to remove the indicator and it's really getting o
-
Automatic uninstallation of Microsoft Teredo Tunneling Adapter
Hi, I am attempting to uninstall the Microsoft Teredo Tunneling Adapter by using a script, on a Windows 8 Enterprise x64 OS. The device is installed incorrectly by default: This device cannot start. (Code 10) {Operation Failed} The requested operatio