Error on activating the table "DB length of the key of table too large"
Hi Experts,
I am getting the error while activating my table PSM_REQ_BO_ELM_NAME. Activation error log is as follows
"DB length of the key of table PSM_REQ_BO_ELM_NAME is too large (>900)"..
I have a table which has 4 filed as key one with char 6 and rest 3 with char 120 each.
Could you please help me to get rid of this error.
Thanks in advance.
Regards,
Pradeep
When ever we create a table in Data dictionary, a corresponding database table will be created in Data base server. For the primary key we maintained in Data Dictionary, another data base table will be created seperately where as the table length should not exceed some limit set by the Administrator.
So, Reduce the length of the primary key in the table by deleting the field as key field/ reducing the size of the field.
In your case, maintain the primary key field length not more than 400.
***Length if the Primary key should not exceed 120. other wise performance will be low while fetching the data.
Similar Messages
-
Error The even-numbered length of the DEC field LC_SRV_DURATION can lead t
Hi Guys,
When I activate or generate Datasource '0CRM_SRV_PROCESS_H' it gives me following warning
'The even-numbered length of the DEC field LC_SRV_DURATION can lead to problems'.
Actually , the field LC_SRV_DURATION is type DEC and lenght 10,
I know this is only waring but still it is not allowing me to activate.
I have seen some threads regardin this , but none of them have solution .
Can you please throw some light on this ?
Thanks
JimmyHi jimmy,
The reason for the error will be clear for you when you check the following link
http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21f2f2446011d189700000e8322d00/content.htm
And check your table if you put the even number for the decimal field.
With regards
Chandru -
What is the maximal line length of type any internal table
Dear all,
who can tell me what is the maximal line length of type any internal table.
Thanks!There is no limit to the record length of an internal table.
There is overall memory limit for every program (as setup by your basis). So, depending on the width of the ITAB, the number of records in ITAB is limited by the assigned memory. -
How to fix the excel cell length in the sap
hi
i want to fix the excel cell length in the sap. how to fix
perform fill_cell1 using l_row l_col 1 wa_cat-seltext_l.
i want to fix the fill_cell1 how to do.
Regards,
sivakumarhi
good
go through this
The following thread has the code which will put data into multiple sheets
Download to multiple sheets in Excel
FOR COLOR LOGIC JUST REFER THIS PROGRAM
*& Report ZNEGI17 *
REPORT ZNEGI17 NO STANDARD PAGE HEADING.
this report demonstrates how to send some ABAP data to an
EXCEL sheet using OLE automation.
INCLUDE OLE2INCL.
handles for OLE objects
DATA: H_EXCEL TYPE OLE2_OBJECT, " Excel object
H_MAPL TYPE OLE2_OBJECT, " list of workbooks
H_MAP TYPE OLE2_OBJECT, " workbook
H_ZL TYPE OLE2_OBJECT, " cell
H_F TYPE OLE2_OBJECT. " font
TABLES: SPFLI.
DATA H TYPE I.
table of flights
DATA: IT_SPFLI LIKE SPFLI OCCURS 10 WITH HEADER LINE.
*& Event START-OF-SELECTION
START-OF-SELECTION.
read flights
SELECT * FROM SPFLI INTO TABLE IT_SPFLI UP TO 10 ROWS.
display header
ULINE (61).
WRITE: / SY-VLINE NO-GAP,
(3) 'Flg'(001) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(4) 'Nr'(002) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(20) 'Von'(003) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(20) 'Nach'(004) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(8) 'Zeit'(005) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP.
ULINE /(61).
display flights
LOOP AT IT_SPFLI.
WRITE: / SY-VLINE NO-GAP,
IT_SPFLI-CARRID COLOR COL_KEY NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CONNID COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CITYFROM COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CITYTO COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-DEPTIME COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP.
ENDLOOP.
ULINE /(61).
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-007
EXCEPTIONS
OTHERS = 1.
start Excel
CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.
PERFORM ERR_HDL.
SET PROPERTY OF H_EXCEL 'Visible' = 1.
CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'c:\kis_excel.xls'
PERFORM ERR_HDL.
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-008
EXCEPTIONS
OTHERS = 1.
get list of workbooks, initially empty
CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
PERFORM ERR_HDL.
add a new workbook
CALL METHOD OF H_MAPL 'Add' = H_MAP.
PERFORM ERR_HDL.
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-009
EXCEPTIONS
OTHERS = 1.
output column headings to active Excel sheet
PERFORM FILL_CELL1 USING 1 1 1 'Flug'(001).
PERFORM FILL_CELL1 USING 1 2 0 'Nr'(002).
PERFORM FILL_CELL1 USING 1 3 1 'Von'(003).
PERFORM FILL_CELL1 USING 1 4 1 'Nach'(004).
PERFORM FILL_CELL1 USING 1 5 1 'Zeit'(005).
LOOP AT IT_SPFLI.
copy flights to active EXCEL sheet
H = SY-TABIX + 1.
PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
ENDLOOP.
changes by Kishore - start
CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
CALL METHOD OF H_EXCEL 'Worksheets' = H_MAPL." EXPORTING #1 = 2.
PERFORM ERR_HDL.
add a new workbook
CALL METHOD OF H_MAPL 'Add' = H_MAP EXPORTING #1 = 2.
PERFORM ERR_HDL.
tell user what is going on
SET PROPERTY OF H_MAP 'NAME' = 'COPY'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-009
EXCEPTIONS
OTHERS = 1.
output column headings to active Excel sheet
PERFORM FILL_CELL1 USING 1 1 1 'Flug'(001).
PERFORM FILL_CELL1 USING 1 2 0 'Nr'(002).
PERFORM FILL_CELL1 USING 1 3 1 'Von'(003).
PERFORM FILL_CELL1 USING 1 4 1 'Nach'(004).
PERFORM FILL_CELL1 USING 1 5 1 'Zeit'(005).
LOOP AT IT_SPFLI.
copy flights to active EXCEL sheet
H = SY-TABIX + 1.
PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
ENDLOOP.
changes by Kishore - end
disconnect from Excel
CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'C:\SKV.XLS'.
FREE OBJECT H_EXCEL.
PERFORM ERR_HDL.
FORM FILL_CELL *
sets cell at coordinates i,j to value val boldtype bold *
FORM FILL_CELL1 USING I J BOLD VAL.
data : color(5) type x value 'H80000008'.
CALL METHOD OF H_EXCEL 'Cells' = H_ZL EXPORTING #1 = I #2 = J.
PERFORM ERR_HDL.
SET PROPERTY OF H_ZL 'Value' = VAL .
PERFORM ERR_HDL.
GET PROPERTY OF H_ZL 'Font' = H_F.
PERFORM ERR_HDL.
SET PROPERTY OF H_F 'Bold' = BOLD .
PERFORM ERR_HDL.
SET PROPERTY OF H_F 'ColorIndex' = 3 .
PERFORM ERR_HDL.
ENDFORM.
*& Form ERR_HDL
outputs OLE error if any *
--> p1 text
<-- p2 text
FORM ERR_HDL.
IF SY-SUBRC <> 0.
WRITE: / 'Fehler bei OLE-Automation:'(010), SY-SUBRC.
STOP.
ENDIF.
ENDFORM. " ERR_HDL
*& Form FILL_CELL1
text
-->P_H text
-->P_1 text
-->P_0 text
-->P_IT_SPFLI_CARRID text
form FILL_CELL using I J BOLD VAL.
CALL METHOD OF H_EXCEL 'Cells' = H_ZL EXPORTING #1 = I #2 = J.
PERFORM ERR_HDL.
SET PROPERTY OF H_ZL 'Value' = VAL .
PERFORM ERR_HDL.
GET PROPERTY OF H_ZL 'Font' = H_F.
PERFORM ERR_HDL.
endform. " FILL_CELL1
thanks
mrutyun^ -
"The even-numbered length of the DEC field I_DFZ_EX can lead to problems"
Hi All,
I am getting the following warning message while activating the PP datasources,
2LIS_04_P_MATNR
2LIS_04_P_ARBPL
Warning Message: "The even-numbered length of the DEC field I_DFZ_EX can lead to problems"
"The even-numbered length of the DEC field I_DLZ_EX can lead to problems"
"The even-numbered length of the DEC field S_DFZ_EX can lead to problems"
"The even-numbered length of the DEC field S_DLZ_EX can lead to problems"
Checked in SDN, but no answer.
Need your expert solution, to resolve.
With Regards,
SekharThank you Des, for immediate response.
But i have already gone through the Note.
As we are using ghe standard datasources, can you suggest which option should i use to resolve.
Solution
If the field is not manipulated in the customer exit or elsewhere, no
processing is required.
If you change the field, the following possible solutions are available:
1. You can make sure that the number of the characters does not
increase after the manipulation.
2. If you can change the extract structure of the DataSource without
affecting other scenarios (for example, if it was generated in
transaction RSO2), you can increase the length of the DEC field (or
CURR, QUAN) there to the next odd character (in the example above:
from DEC 4 on DEC 5).
3. If neither of these solutions are possible, you can use a customer
append that contains a relevant DEC field (or CURR, QUAN) with the
next highest odd length. This can be used for the result of the
calculations. This means that you do not have to manipulate the
previous field.
With Regards,
Sekhar -
Hello,
I want to now the max. cable length that the Differential TTL signals can run in both at high and low frequencies.That is very dependant on the type of cable, its construction, and inherent impedance and capacitance. This may be of use:
http://beiied.com/PDFs2/SSI_14-15-bit-encoder_addendum.pdf
-AK2DM
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~ -
"The document can't be opened because it's too large."
I just copied a Numbers '09 file I just made at work (and can still open there) to my MBP and when I try to open it, I get a "The document can’t be opened because it’s too large." error. It's only 1.4MB. I tried reinstalling iWork and re-saving and copying the file to no avail. Has anyone seen this or have any ideas?
I am having a similar problem. I am evaluating Numbers 09 for the first time and would like to get rid of Excel, which seems incredibly slow to open. I'm ready for a change and I like the look and feel of Numbers.
I am working with an export file of data from FileMaker Pro - 3900 rows by 336 colums, so over 1.3 million potentially filled cells. My MacBook Pro has 2 gb of RAM and currently shows 185 free, 495 inactive, 557 wired, and 804 active.
When I try to open the txt file (8.3 mb), I get the error message referred to above. When I open it in Excel, it immediately opens. I can then save it as an Excel file. When I try to open this Excel file in Numbers, it will open but I get a message stating that only 255 or fewer columns are supported.
Could this possibly be right? Granted, who in their right mind would create a data table with that many columns, but when working with legacy data (which is why I have a job) this is often the case and it's my job to clean it up.
Any assistance in both of my errors would be appreciated . . . even if the advice is to stick with Excel -
Hi,
I've already archived a lot of assets in my final cut server but since one week there is a message appearing when I click on an asset and choose "Archive". The pop-up says: "ERROR: Could not read block 64439 of relation 1663/16385/16658: Result too large"
Does anyone know what's the problem and/or have any suggestions to solve my problem?! I can't archive anymore since the first appearance of this message.
What happened before?
-> I archived some assets via FCS and then transfered the original media to an offline storage media. That system worked fine for the last months and my normal server stays quit small in storage use. But now, after I added some more new productions and let FCS generate the assets, it doesn't work anymore...
It's not about the file size - I tried even the smallest file I found in some productions.
It's not a particular production - I tried some different productions.
It's not about the storage - there's a lot of storage left on my server.
So, if someone knows how get this server back on the road - let me know.
THNX!
ChrisI would really appreciate some advice re: recent FCS search errors.
We're having similar issues to C.P.CGN's 2 year old post, it's only developed for us in the last few weeks.
Our FCS machine is running 10.6.8 mac os and 1.5.2 final cut server with the latest
OS 10.6.x updates.
FCS is still usable for 6 of 8 offliners, but on some machines, searching assets presents "ERROR: could not read block 74012 of relation1663/16385/16576: Input/output error."
Assuming the OS and/or data drives on the FCS machine were failing, I cloned the database drive today and will clone the OS drive tomorrow night, but after searching the forums and seeing similar error messages I'm not so sure.
FCS has been running fine for last 4 years, minus the recent Java security issues.
Thanks in advance, any ideas appreciated!
cheers,
Aaron Mooney,
Post Production Supervisor.
Electric Playground Daily, Reviews On The Run Daily, Greedy Docs.
epn.tv -
Localizing "The file could not be uploaded because it is too large"
When uploading file af:inputFile in case of larger file as limited in web.xml then this message appears:
Warning: The file upload failed
The file could not be uploaded because it is too large
How to localize this message (maybe some from http://docs.oracle.com/cd/E15523_01/apirefs.1111/e15862/toc.htm?) or how to catch this error to show custom message?
JDev version: 11.1.2.1.0
Regards,
SašoHi,
Do you want to try to override the error message as mentioned here?
http://docs.oracle.com/cd/E14571_01/apirefs.1111/e15862/toc.htm
af_inputFile.MSG_UPLOAD_ERROR Summary error text used to generate a faces message on a failed file upload.
af_inputFile.MSG_UPLOAD_ERROR_DETAIL Detailed error text used to generate a faces message on a failed file upload.
Thanks,
Srini. -
Hi All,
I am having a hard time finding any info on this activation error, and I really can't get to the bottom of it. When I enter my companie's activation code for the BES 10 network, it gives me the following message:
" Device activation can't be completed because the setup process or a training tutorial is running on your device. Try again later."
It would be nice if the msg could be a little more specific! But anyway, I have tried all the traditional fixes, battery pulls, re&re to BES, etc. but still nothing. My last option is to wipe and see if that works but curious to see if anyone has run into this before.
PS I have a Z10 STL100-3
Thanks in advance!
cheersGood. excellent solved service blackberry
Thanks. aspataro
Please thank those who help you by clicking the button.
If your issue has been solved, please resolve it by marking "Accept as Solution" -
Dynamically Changing the Name and length of the Selection Screen Fileld
Dear Friends,
I want to incorporate a filtering option in my program,when the user selects the
column of a table control and clicks on filter option it has to open up a
new selection screen in which the selection option would be the selected
column.
for e-g if the user selects material the selection option would have the
characteristics of mara-matnr.
answers will be rewarded.
Thx.
SreeniHi,
Check this link, very useful and good one too.
http://sap.ittoolbox.com/code/archives.asp?i=10&d=2919&a=s
this will help you i guess.
Feel free to revert back.
--Ragu -
I purchased a complete album, but most songs are only about a minute in duration rather than their actual lengths. The times showing indicate the full song was downloaded, but in reality, its like listening to a sample. I want to get entire songs, but the itunes list shows it as downloaded, so it does not seem to give me the option to download again. I sure would like to get what I paid for. Any suggestions?
If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
Otherwise, I'd report the problem to the iTunes Store.
Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items. -
BizTalk Map error. Can you please suggest what could be the reason for this.
Hi,
You can also use the Map TestTool to test your maps. It uses the BizTalk engine to execute the map. You can select a map that is deployed to the GAC en execute it.
You can download the sample tool with the source code here:
TestTool for BizTalk 2013
http://code.msdn.microsoft.com/Execute-BizTalk-2013-maps-e8db7f9e
TestTool for BizTalk 2010
http://code.msdn.microsoft.com/Execute-a-BizTalk-map-from-26166441
Kind regards,
Tomasso Groenendijk
Blog
| Twitter
MCTS BizTalk Server 2006, 2010
If this answers your question please mark it accordingly -
How can I increase the viewable filename length on the desktop?
Is it possible to increase the character length of the viewable filename items on the desktop? For example, if I create a screenshot, the filename for the generated image is: "Screen shot yyyy-mm-dd at XX.XX.XX AM.png" but the desktop shows "Screen shot yyyy...M.png." I would like to increase the filename character count so that more of the filename appears before it is trimmed with the ellipses.
Can this be done?
Update: I have alredy increased the grid spacing. That helps but only exposes 2-3 more chars.Periclytes wrote:
doesn't do anything to the filename
Yeah, you're right. But font size definitely does something for me. Here's a comparison between 12 and 10 point.
Matt -
Please give the query to find out primary key in table in Sql plus
Dear friends,
Please give me the query to find out the primary key in Sql plus.hi
SQL> DESC user_constraints
Name
OWNER
CONSTRAINT_NAME
CONSTRAINT_TYPE
TABLE_NAME
SEARCH_CONDITION
R_OWNER
R_CONSTRAINT_NAME
DELETE_RULE
STATUS
DEFERRABLE
DEFERRED
VALIDATED
GENERATED
BAD
RELY
LAST_CHANGE
INDEX_OWNER
INDEX_NAME
INVALID
VIEW_RELATED
SQL> SELECT constraint_name,table_name,r_constraint_name,status
2 FROM user_constraints WHERE constraint_type='P';
CONSTRAINT_NAME TABLE_NAME R_CONSTRAINT_NAME STATUS
SYS_C003141 CUSTOMERS ENABLED
PK_DEPT DEPT ENABLED
SYS_C003139 SALESREPS ENABLEDKhurram
Maybe you are looking for
-
How do I set up my new Time Capsule just to back up not as a wireless?
Can anyone tell me how to use my new Time Capsule just for back up not as a wireless router? I have an ATT Uverse for my wireless service and have not been able to get the two to work together. I just want to plug my Time capsule in and connect it to
-
How to connect to my provider SMTP server?
hi, i traying to connect to SMTP of my net provider, but i have problem like this: DEBUG: setDebug: JavaMail version 1.4ea DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc] DEBUG
-
Suggesting features for iTunes
I'll start this post by telling readers a little about my computing background. I used to be a PC nerd who hated Macs and would never consider buying one. iTunes came out, I gave it a try to prove to myself that Apple made crappy software. To my surp
-
How to use the Control lines of a parallel port as Input lines to be read using Labview ?
The details are : NI Software : LabVIEW Version : 5.0 OS : Windows 95 NI Hardware : N/A Drivers : N/A CPU : Pentium RAM : 48 Vendor : darcom Customer Information : SPEL TESTING SPEL, INDIA [email protected] Ph: (91) 4114 53818 We do not have any DAQ
-
The 'Cube' with 'ID' = 'Capex' doen't exist in the Collection
Dear All, When I am processing all the dimension at that time system is showing me the following error; The 'Cube' with 'ID' = 'Capex' doen't exist in the Collection Please help me to come our from this issue and Thanks Regards, SANJY