Changing message text for short dumps
Hi, we have users running open transactions and finally core dumps with message:
TSV_TNEW_PAGE_ALLOC_FAILED
Short text
No more storage space available for extending an internal table.
What happened?
You attempted to extend an internal table, but the required space was
not available.
Is there a way to customize the message a bit to give more helpful information?
Thanks,
Jonathan.
Jonathan,
I am not an expert in BASIS, so I cannot say if it is possible to change the texts for these messages. I am a bit surprised that you think " No more storage space available for extending an internal table" is not adequate. In addition, I am a more than a bit surprised that you are implicitly expecting to get dumps, so much so that you want to make the messages more user-friendly.
Runtime errors are not a tool to remind users that they have performed an impermissable activity. When a dump occurs, you pray that SAP will properly roll back all data to a consistant, pre-error state. I assure you, that this will not always happen in a complex environment. A runtime error is normally considered a very serious event. In most companies, it is the goal to never have a runtime error, and someone is usually charged with running these down and eliminating them. And that 'someone' is not a user.
Anyhow, you might want to try one of the many ABAP forums, one of the experts there may be able to assist you in changing these texts.
Sorry I couldn't be of more assistance,
DB49
Similar Messages
-
Changing message text for univariate discrepancies
Is it possible to edit the message text for univariate discrepancies? As per my knowledge, they are generated at the system level and programmers cannot change them. I was wondering if there is a workaround.
ThanksHi,
You could try going to Installation Codelists>> "Discrepancy Messages" and change the respective message for each of the univariate discrepancies(Data Type, DVG, Length ...etc).
Note: Installation codelists control Oracle Clinical behavior installation-wide; that is, across an installation of multiple Oracle Clinical databases, so tread wisely after due consultation with your department.
Regards,
Naveen -
Hi ABAP-community,
i want to put an own text to short-dump message.
E.g. in a defined situation a message type 'X' will be processed in my application. In the created short dump i want to show additional info like relevant order numbers. WRITE command before processing the X-Message does not work!
Does anyone have a better idea, hint?
Looking forward to your reply! Thanks in advance!
Helpful answers will be rewarded!
GuntherLooks like my idea worked.
- In SE24 created a new excpetion class ZCX_MAXWELL_A_EXCEPTION
- Inherits from CX_NO_CHECK (so that it can be thrown without having to be caught)
- Included a new paramter called MyString (Can contain any additional information I want in the dump)
- Included a textID called FOOBAR (Can include various text IDs for different issues
The constructor of the excpetion object has it's code automatically updated to include the new attribute:
>method CONSTRUCTOR.
>CALL METHOD SUPER->CONSTRUCTOR
>EXPORTING
>TEXTID = TEXTID
>PREVIOUS = PREVIOUS.
>me->MYSTRING = MYSTRING .
>endmethod.
- Wrote a test program with the lines:
raise exception type ZCX_MAXWELL_A_EXCEPTION
exporting
TextID = ZCX_MAXWELL_A_EXCEPTION=>FOOBAR
MyString = 'BLAH'.
When exeucting the text program it creates a short dump that displays:
>Error analysis
> An exception occurred which is explained in detail below.
> The exception, which is assigned to class 'ZCX_MAXWELL_A_EXCEPTION', was not
> caught and
> therefore caused a runtime error.
> The reason for the exception is:
> Something went wrong! FOOBAR!!!
At the top of the short dump screen there is a button that says "Exception Object". Pushing this button takes me to the specific fields that I've set in the exception:
> Level 1 Class ZCX_MAXWELL_A_EXCEPTION
> Program Z_MAXWELL_B Include Z_MAXWELL_B Row 15
> Short Te Something went wrong! FOOBAR!!!
>KERNEL_ERRID
>MYSTRING BLAH
The aboove shows for the exception in the short dump bother the TextID that has been set as well as any other attributes that I've set (in this case MYSTRING = "BLAH")
~Ian -
Change Message Control for Customer Master data
Hi Friends,
I have to choose/populate a message when the user is about to create an already existing customer.
In SPRO --> Financial Accounting --> Accounts Receivable and Accounts Payable --> Customer Accounts --> Master Data --> Preparations for creating customer master data --> "change message control for customer master data" ...
OK...
When u click this it goes into Change View "message control by User" Overview screen wherein u can insert new messages and texts and the type of message ....
Now .....
I want to display the 145th message (F4 help of the Message column) ..... it picks up the text "Customer found with same address;check"..... with Online mesasage type 'I' and batch type 'I' and with standard type '-' ..
I want to have the same message with message types 'E','E', and 'I' respectively.......
How is this possible (or) what should i do to meet my requirement :-|
Expecting ur answers
Thanks in advance ........
Cheers,
R.Kripa.Hey yes it is not possible (as of now
I ve met the requirement by just using message statement in the program itself ............
My requirement is met but still if anyone knows about this do answer / reply
Thanks
Cheers,
R.Kripa. -
Programme going for short dump
HI FRIENDS
WHENEVER OUR PRG TRIES TO RETRIEVE MORE THAN 20000 RECORDS ITS GIVING DUMP WITH
Storage_parameters_wrong_set
abap/heap_area_dia/ndia value 2gb.
APPRECIATE YOUR RESPONSE.
Regards,
Mir.Hi Tim,
The short dump info is :
Runtime Errors STORAGE_PARAMETERS_WRONG_SET
Date and Time 23.05.2006 17:11:25
ShrtText
&INCLUDE INCL_INSTALLATION_ERROR
What happened?
The current program had to be terminated because of an
error when installing the R/3 System.
The program had already requested 456137504 bytes from the operating
system with 'malloc' when the operating system reported after a
further memory request that there was no more memory space
available.
What can you do?
Make a note of the actions and input which caused the error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Set the system profile parameters
- abap/heap_area_dia
- abap/heap_area_nondia
to a maximum of 456137504. Then reduce the value by 10.000.000 to be on the
safe side.
Then restart the SAP System.
abap/heap_area_nondia and abap/heap_area_dia:
Set smaller than the memory achieved for each process
with 'malloc' and smaller than abap/heap_area_total
You should also check whether the available memory (file system
swap and main memory) is sufficient for the started program
and its data.
Error analysis
When the program was running, it was established that more
memory was needed than the operating system is able to provide savely.
To avoid a system crash, you must prevent this
situation.
Last error logged in SAP kernel
Component............ "EM"
Place................ "SAP-Server hstnd1_DV1_00 on host hstnd1 (wp 2)"
Version.............. 37
Error code........... 7
Error text........... "Warning: EM-Memory exhausted: Workprocess gets PRIV "
Description.......... " "
System call.......... " "
Module............... "emxx.c"
Line................. 1878
How to correct the error
Report the error to the group responsible for installing your
R/3 System.
System environment
SAP Release.............. "640"
|
Operating system......... "Windows NT"
Release.................. "5.2"
Hardware type............ "4x Intel 801586"
Character length......... 8 Bits
Pointer length........... 32 Bits
Work process number...... 2
Short dump setting....... "full"
|
Database type............ "MSSQL"
Database name............ "DV1"
Database owner........... "dv1"
Character set............ "English_United State"
SAP kernel............... "640"
Created on............... "Nov 4 2004 23:26:03"
Created in............... "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
Database version......... "SQL_Server_8.00 "
Patch level.............. "43"
Patch text............... " "
Supported environment....
Database................. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
SAP database version..... "640"
Operating system......... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
Memory usage.............
Roll..................... 700176
EM....................... 385999584
Heap..................... 456137504
Page..................... 57344
MM Used.................. 729325096
MM Free.................. 108201024
Appreciate your help..
Regards,
Mir. -
Change the Text for a Perspective in Balance Scorecard
I am trying to change "Short Text" and "Long Text" for an existing perspective in our Strategy Management system [SEM-BW 6.0 and BI 7.0]. I get the following error "Invalid call sequence for interfaces when recording changes". I have looked up OSS and found 533611 to be relevant, but it is for SEM-BW 3.1B and we are on 6.0. Does anyone else have this problem?
Detailed "Long Text" for the error:
Message no. TK425
Diagnosis
The function you selected uses interfaces to record changes made to your objects in requests and tasks.
Before you save the changes, a check needs to be carried out to establish whether the objects may be changed. This check must be performed before you begin to make changes.
System Response
The function terminates.
Procedure
The function you have used must correct the two Transport Organizer interfaces required. Contact your system administrator.Hello Arun,
U could do the translation in Tcode Se63.
U follow the procedure
Translation >Shorttext>Screen Painter--> Screen Painter Text.
There u will see the all the text use for that transaction.
You can make the traslation there.
If useful reward.
Vasanth -
I am trying to load the trandsaction data from DSO to INFOCUBE.
I am getting the following error message: "Error while updating to target Z_INFCUBE".
Because of no proper error message I am not able to resolve the issue.
Please suggest any solution for this and tell me if there is ant tcode for checking the short dump of error messages.Hi Vivek,
Check the error AT below places:-
1) SM37 by your id- cancelled job..
2) short dumps can be analysed at ST22.
3) doble clicking the error messgae you will get help -node in monitor screen.
Hope it helps....
Regards,
HIrdesh -
Internal Order status issue Error - Message Class X short dump
Hi All Experts,
I am creating internal order with CRTD status. However when I am trying to post transaction through MIRO , I am getting ABAP short dump mseeage class X. So I changed the CRTD to REL manually and able to solve the error.
But could any expert help me what is the logic behind this CRTD , REL, LKD etc ?
Since I am reading help.sap.com also as well but simple word help will be appreciable !
One more can we,
1 ) Create Internal Order with the REL status directly ?
2 ) If YES where configuration needs to be done
3 ) Will it hamper any business process ?
Exprts guidance will be appreciable.
Regards,
Sharvari Joshi.Hi,
All Masters,
Eli - Thank you for your answers.
Lawrence - Thank you for simple word that is what I was looking for.
Can anybody tell me how can we create IO directly in LKD status ? Or it is manual acitivity by clicking on Set / Rest button and then check LKD and save. I tried in KOT2_OPA but not no any option found. If any experts can guide for the following configuration would be great.
1 ) Is it possible to create IO with LKD status directly ?
2 ) Where that configuration needs to be done ?
3 ) What is significance of JEST Table relating to Internal Order ?
Exprerts help would be great !
Regards,
Sharvari Joshi.
Edited by: Sharvari Joshi on Dec 3, 2010 11:52 AM -
IW32: Error getting message (Text for order header not maintain in lang.EN
Hello All,
We just starting getting this message in IW32 and IW33 stating (Text for order header not maintained in language EN) then all the pre-existing description test disappeared.
We have not done any configuration change in this particular system.
Can anyone help to resolve this.
ThanksHi,
As with most SAP messages it is always a good idea to trust what it is saying.
The system is telling you that KG has not been created in the English language.
Go to transaction CUNI to check the settings.
Select the Unit of measure for "MASS" (from the drop down list) and check the entries for UOMs.
KG should be there and should have an English description (the message said it was not there for EN)
If it is there and set up correctly then there might have been something else in the UOM field? You didn't enter " KG" did you (a blank character then KG?)
Steve B -
How to change Alt text for the Popup Key LOV Image in Apex 3.2.1.00.10
we are using Application Express version is 3.2.1.00.10
There is an icon to click on to popup the lov search box, the alt text for that image is currently "popup Lov"
would it be possible to change the text to something more meaningfull e.g. "Lookup Person name" or "search Directory for Person names" .
I have tried by updaing them
from
Shared Components>Templates> Popup List of Values Template > Popup Icon Attr --> width="13" height="13" alt="Popup Lov"
(under Popup List of Values)
to
alt="#CURRENT_ITEM_NAME#"
it didn't work.
your respone will help getting accessability sign offVenu,
Try adding title = "Lookup Person name" to the Image Attributes of your icon or button.
Jeff -
How to change message text encoding in multiple e-mail messages?
Hello!
I'm newcomer in AppleScript. I have imported a lot of email messages from mbox.
The problem is that some of messages are displayed in correct russian encoding (KOI8-R) but
other messages displayed with incorrect encoding. So i need manually set their encoding
via mail menu to Cyrillic (Windows) to be able to read them. I got about 1000 of those messages.
Is there any possibility to mark those messages in mail and then run AppleScript to change
their encoding automatically?
something like that (that script is not working one):
tell application "Mail"
set selectedMessages to selection
if (count of selectedMessages) is equal to 0 then
display alert "No Messages Selected" message "Select the message you want to get the raw source of before running this script."
else
set message text encoding to "Cyrillic (Windows)"
end if
end tell
Thanks!I was able to get it to work on all selected emails using this script:
(Note I changed the encoding to "Simplified Chinese (EUC)")
using terms from application "Mail"
tell application "Mail"
set theMessages to selection
tell message viewer 1
repeat with themessage in theMessages
set selected messages to {themessage}
activate application "Mail"
tell application "System Events" to ¬
tell menu item "Simplified Chinese (EUC)" of menu 1 of ¬
menu item "Text Encoding" of menu 1 of ¬
menu bar item "Message" of menu bar 1 of ¬
application process "Mail" to if (exists) then click
end repeat
end tell
end tell
end using terms from -
How to change the text for the tabs of a tabstrip control dynamically
Hi Guys,
I am having two screens in a transaction.
1. 1st screen has material number as an input and submit push button
2. 2nd screen has two tabs in a tabstrip control.
I want to display material description and plant number as heading for the two tabs based on the material number entered by the user in the 1st screen. Means i want to change the text dynamically. Is there any possible way? If it is there please help me. Very urgent...
Thanks in advance
James.Hi,
If you set the "Output field" attribute for a pushbutton/tab, you can also set its text dynamically in the ABAP program. To do this, you must create a field in the ABAP program with the same name as the pushbutton/tab. You must then assign the required text to the field before the screen is displayed.
For example define a global field in your program called MATNUM(20) and use this as the name for the material number tab on the tabstrip. Then you can assign a text MATNUM = 'Material Number' and this will appear as the tab title. Don;t forget to set the "Output field" attribute on the tab.
Hope it helps -
Display a warning message (text) for document up/download in cFolders
Hello,
We are working in the development system of cProjects Suite 3.1 on the cFolders application. Lets say there is a collaboration which contains a folder which in turn contains a document. On clicking the document name the document details are displayed. Under the window "Current
Version" the following text message is displayed:
"To display the file of the current version, click the hyperlink. To edit the file of the current version, choose "Checkout" if you want to change it online, or download if you want to change it locally"
We want to change the message text as follows:
"To display the file of the current version, click the hyperlink. To edit the file of the current version, choose Checkout. Using the "Upload" button will result in overwriting the latest version"
Kindly suggest the means to achieve this.
Best Regards
Deepak Umrankarif the doc is checked out
Then
it will use this OTR text
CFX_UI/INFO_DOC_DE_CONTINUE_EDIT_APP
ELSE
CFX_UI/INFO_DOC_DE_EDIT_APP -
Change message text generated from Sourcing Cockpit
Hi,
This is the scenario where the Buyer completes the Shopping Cart (complete requirement) from the Sourcing Cockpit. After this, the Shopping Cart is removed from the Sourcing Cockpit and also the system sends an email notification to the requestor of the Shopping Cart stating that the purchase department cannot procure the item.
We changed the text (Template with headers) to meet our business requirement using the transaction SE61 and document BP_SOCO_APP_ITEM_COMPL_MAIL while keeping the variables &SC_ITEM& and &SC& in the text.
Now we notice that the changed text is appearing in the notification ,but the variables are not appearing now ( i.e the Shopping Cart number and the Shopping Cart line item are missing in the new message). These variables were appearing in the standard .
Do we have to anything else.
Thanks
SukumarHello Ahmad
I think you need to modify the standard FM CRM_INCOMPLETENESS_CHECK to archive the requirement.
In this FM line 301, the field name which is used in the message is filled.
I hope this could be helpful.
Best regards,
Maggie -
How to show the message text for constraint violations
Hi all,
In a batch procedure a primary key is violated (ORA-00001). For the primary key, a message is recorded in the TAPI and the message table.
How to show the enduser a proper message text instead of the ORA-00001.
We are using Designer 6 with Headstart 2.1.2.
Thanks in advance,
JoepJoep,
If you try to insert the record by calling the ins procedure of the Table API, you will see that it will result in an ORA-20998 message, which means that the error message details reside in the CG$ERRORS plsql message table. These messages can be extracted e.g. with the messages.sql script, shipped with headstart.
If you do not want to rewrite your direct DML (insert into [table name] ...) in the complexer calls to the TAPI services, you might want to user VAPI's for it. In fact, this is one of the major advantages of using VAPI's.
The CDM guidelines volume, chapter 6 states that:
<I>The front end no longer needs to trap declarative constraint
errors (Primary Key, Unique Key, Not Null and Check
Constraint violations) and replace them with a user-friendly
error. The View API issues DML statements through the TAPI
and the TAPI traps all declarative constraint errors, and puts
user-friendly message on the stack, in the preferred language of
the user! Fore more information, see the section, Completeness
of Rule Violations Reported in Front End, in this chapter.</I>
So the only thing you need to do is generate VAPI's, and trap the ORA-20998 message (qms$errors.qms$exception) in an exception handler, where you retrieve the user friendly messages from the message stack!!
Regards, Marc
Maybe you are looking for
-
Copy/Paste function in Safari
I copied and pasted a web address in Safari so I could send (via social media) a website link. Since doing this, every time I perform the same operation, the web address I'm copying never actually copies - i get the original link, rather than the new
-
need help in user exit coding i.e. the requirement is like this. Exit is V09A0004. After entering the sold to party in VA01,one pop up comes when we press enter. In that pop up we can see SH,BP,PY.From that if we select SH and that SH having account
-
Hi chaps I'm using swing and the awt to make a gui for a sensor network simulation i've made. problem is i've got two JLabels and two JTextAreas on the same line as it were, i'd like them to be centre aligned, on separate lines, one under another. i'
-
Hard Drive for Mac Pro Questions
Hi, I have 2, 600GB hard drives (Approximately) in my Mac Pro. 1 is for Windows Vista, the other is for Leopard. I'm running low on storage space on the Mac Side. I customized my Mac Pro when I bought it off the Apple Site. I would like to add anothe
-
Track Will Not Burn From i Tunes
- I have one track on an album in iTunes that will not burn to cd because it is not authorized. The rest of the album will burn fine. The track will not play on iTunes or my iPod. - My computer is authorized and long has been. - I did not buy the t