Empty System Fields after error creates a short dump
Hello!
Could someone please help me?
After calling a function, I catch errors with sy-subrc NE 0.
Handling this error the "normal" way throws a short dump (I marked the row bold), because all the system fields are empty!
Could someone please give me a hint, how to handle this situation?
Many thanx in advance!
Perhaps some code:
CALL FUNCTION 'Z_CONFIRM'
EXPORTING
is_bdnum = is_bed-bdnum
TABLES
et_return = lt_return
EXCEPTIONS
error_occured = 1
lock_error = 2
OTHERS = 3.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
I get a short dump with this:
Content of the system fields
Name
Wert
SY-SUBRC
1
SY-INDEX
1
SY-TABIX
1
SY-DBCNT
0
SY-FDPOS
0
SY-LSIND
0
SY-PAGNO
0
SY-LINNO
1
SY-COLNO
1
SY-PFKEY
SY-UCOMM
SY-TITLE
HTTP-Steuerung
SY-MSGTY
SY-MSGID
SY-MSGNO
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO
0
SY-DATUM
20080117
SY-UZEIT
080907
SY-XPROG
SY-XFORM
Hi,
You need to capture the message like this way
IF sy-subrc eq 1.
message e999(your mesage class) with 'Error Occured'.
endif.
IF sy-subrc eq 2.
message e999(your mesage class) with 'Lock error'.
endif.
IF sy-subrc eq 3.
message e999(your mesage class) with 'Other Errors'.
endif.
a®
Similar Messages
-
Why can't I create a document in my Facebook group on my iPad. It won't let me input any text into the text box field after I create a new document. Thanks.
Just thought I'd add my solution, I decided to go with WebDAV and I think it actually works better than the iTunes way, the steps are pretty much the same but avoiding the iTunes interface just makes things easier and faster.
I followed this guide but it does have a small mistake in the httpd-dav.conf file, on line 2, where it's WebServer/WebDAV">, it should be <Directory "/Library/WebServer/WebDAV">.
The tricky part is setting permissions which if wrong will give you errors when connecting with the iPad, I opted to set all to Read&Write since my home network has a hardware firewall. Another convenience was to add an alias to the webdav share on the Desktop.
I'm still expecting the call from Apple but even if they fix the iTunes I'm sticking with WebDAV, atleast until I see what's new with iOS5 and iCloud this fall which should bring true sync for documents (I'm hoping that they will offer encryption with my own keys, if not, then I'll probably keep using WebDAV). -
How to make non editable field after requestor created the shoping cart
Hi,
i need to make non editable field (Price field) after requester created the shooping cart.The field should be non editable only for requster .
this i need to make when workflow triggers when the buyer sends back the shopping cart to requester.
one solution which i found:depend on the status of the shoping cart
but i dont know whether it is correct way.
if not please suggest me the solution.Hi,
You can implement the BADI" BBP_UI_CONTROL_BADI".
You can check for the role of the user who has logged in(e.g. for user REQUESTER,there will be a distinct role to idnetify that the user is a requester) and then acc set the display properties for the field PRICE.
For sample code pls refer the foll links:
Sample code for BBP_UI_CONTROL_BADI
Re: Hiding Shopping Cart Fields in SRM 3.0
Re: How to Hide the attributes from template BBPSC01?
Re: How to validating total value in shopping cart
Re: Price filed in Shopping cart should be in display mode
BR,
Disha. -
How to troubleshoot runtime error (termination with short dump)
hi all,
i'm new comer on crm. and i got a problem when i accessed tx: segment builder (runtime error: termination with short dump).
i've tried to troubleshoot this problem by set the java2 SDK GUI path on the client side.but it still didn't work.then i tried to activate the automation trace (just perform the procedure which wrote down on error analysis), but i confused when tried to read the trace file and still didn't get the point. FYI, i 'm using sap logon 710 and SAP crm 5.0.
what i've should to do?
should i have to re install my sap logon?
i really need ur assistance!
best regards,
agungHi Agung,
Please refer the following SAP Note for your information:
<b>SAP Note: 990263</b>
Best Regards,
Johnny.
Reward with points if it helps. -
SRM Create Confirmation - Short Dump while adding Approver
Dear Experts.
Currently I am facing following issue.
Issue:
In SRM “Create Confirmation” Screen, when user click on check button and after that if user tries to add approver in approval tab then it is going to short dump. Please find the short dump info:
Category ABAP Programming Error
Runtime Errors UNCAUGHT_EXCEPTION
Except. CX_OS_OBJECT_NOT_FOUND
ABAP Program /SAPSRM/CL_WF_PROCESS_MANAGER=CP
Application Component SRM-EBP-WFL
I had analyzed this issue and following points are my findings.
We have written code in BBP_DOC_CHECK_BADI to check the approver is added or not in approval tab. For this purpose we are using METHOD lo_conf_adv->/sapsrm/if_pdo_do_apv_ext~get_process_info (Here lo_conf_adv is object of interface /sapsrm/if_pdo_bo_conf_adv) and the instance of lo_conf_adv is getting from METHOD /sapsrm/cl_pdo_fact_conf_adv=>get_buffered_instance By pasing Doc GUID.
As per my analysis, the above code only causing the short dump while adding the approver in aproval tab. More importantly the CHECK BADI (BBP_DOC_CHECK_BADI) is not triggered while adding the approver.
If I comment this code (which is mentioned in point 1), then the application is not giving any short dump and adding approver successfully.
I tried to find SAP notes but there are no SAP notes related to this issue. Also, I tried to find alternate METHOD to replace lo_conf_adv->/sapsrm/if_pdo_do_apv_ext~get_process_info but I have not got relevant method. Please let me know if there is any solution for this issue.
Thanks & Regards,
Sasidhar VHi Ritesh,
Thanks for the fast response.
We are using Process Controlled Workflow. In Doc Check BADI, we are checking the respective approver is added or not in approval tab in "Create Confirmation" Screen. While creating confirmation, when user click on "CHECK" button and If respective approver is not added then throwing error message.
We are using Method "GET_PROCESS_INFO" to get approval information only. when this method is triggered in Check BADI then it is doing respective validations and displaying messages. After that when we try to add approver then the system trying to read entry from table "/SAPSRM/D_WF_003" by passing OID to LEVEL_GUID. But there is no entry in this table and that's why it is giving short dump.
Can you please let me know why it is reading entry in that table and why entry is not exist.
FYI, If I don't use method "GET_PROCESS_INFO" in check BADI then respective code where short dump happening is not triggering (System is not trying to read entry from /SAPSRM/D_WF_003 table) and so it is not giving short dump.
Thanks & Regards,
Sasidhar V. -
Error in HRPAD31 ( Short dump Analysis )
Hi friends,
When i am changing the existing qualification or adding new qualification it is showing this error in short dump
Pls advise me if there is some relationship i am missing in 031 ?
here is the description of short dump
Runtime Error DBIF_RSQL_SQL_ERROR
Exception CX_SY_OPEN_SQL_DB
Occurred on 10.09.2008 at 10:48:39
An SQL error occurred when accessing a table.
What happened?
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.
Error analysis
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', wasneither
caught nor passed along using a RAISING clause, in the procedure"ADATA_DB" "FORM)"
Since the caller of the procedure could not have expected this exception to occcur, the running program was terminated.
The reason for the exception is:
How to correct the error
The exception must either be prevented, caught within the procedure "ADATA_DB"
"(FORM)", or declared in the procedure's RAISING clause.
To prevent the exception, note the following:
Database error text........: "ORA-01653: unable to extend table SAPR3.HRPAD31 by 80 in tablespace PSAPSTABD"
Internal call code.........: "RSQL/INSR/HRPAD31"
Please check the entries in the system log (Transaction SM21).
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself, use the following search criteria:
"DBIF_RSQL_SQL_ERROR" CX_SY_OPEN_SQL_DBC
"SAPLRHAP" or "LRHAPF1K"
"ADATA_DB"
System environment
SAP Release.............. "620"
Application server....... "Development"
Network address.......... "200.200.200.10"
Operating system......... "Windows NT"
Release.................. "5.2"
Hardware type............ "2x IA64 Level 3"
Character length......... 8 Bits
Pointer length........... 64 Bits
Work process number...... 1
Short dump setting....... "full"
Database server.......... "Development"
Database type............ "ORACLE"
Database name............ "VC3"
Database owner........... "SAPR3"
Character set............ "English_United State"
SAP kernel............... "640"
Created on............... "Aug 16 2007 23:23:39"
Created in............... "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
Database version......... "OCI_920_SHARE "
Patch level.............. "196"
Patch text............... " "
Supported environment....
Database................. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE
User, transaction...
Client.............. 600
User................ "HUSER"
Language key........ "E"
Transaction......... "PP01 "
Program............. "SAPLRHAP"
Screen.............. "MP100100 6000"
Screen line......... 16
Information on where terminated
The termination occurred in the ABAP program "SAPLRHAP" in "ADATA_DB".
The main program was "MP100100 ".
The termination occurred in line 57 of the source code of the (Include) program LRHAPF1K"
of the source code of program "LRHAPF1K" (when calling the editor 570).
Processing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in
the procedure "ADATA_DB" "(FORM)" but was not handled locally, not declared in the RAISING clause of the procedure.
The procedure is in the program "SAPLRHAP ". Its source code starts in line 8 of the (Include) program "LRHAPF1K ".
PLS LET ME KNOW IF I NEED TO CHECK ALL MY CONFIGURATION ?Hi Ted,
It is working, i just logged off and logged in. Now there is no error.
Thanks for all your support. I am struggling on this isse from 3 days and could not sort it out.
I appreciate on more time for your knowledge.
I have rewarded the points also....
Regards
HR user -
Empty Spotlight field after done searching?
Hi, so I've been having this trouble.
Spotlight seems to continue searching even after I have finished searching. For example, I type in "Photo" then click on Photo Booth. After clicking, Spotlight continues to search, so I have to manually clear the Spotlight field so that it would stop searching. I even hear the hard drive being busy due to Spotlight so I know this can't be good for battery life. Is there a way to automatically clear the Spotlight field when you are done?AFAICT, clicking once on an item that shows up in the search window causes that item to launch (if using the CMD+spacebar window) and closes the search window. If you're using CMD+F and click on a return from a search, it just highlights. I'm not sure I understand what you mean by continuing to search or wanting the search field to empty. If the search field emptied, all your search results would go away.
-
Date / Time System fields - inconsistent
This is a weird one...please bear with me
Before I begin...note that this is not a problem that is difficult to fix, I'm just interested in better understanding why the system fields are behaving the way they are.
We have 20 or so programs that use a function module to create a file header that includes a date/time stamp. The programs also place a trailer with a date/time stamp that should match the one in the header. However, the programmer used different system fields (after a GET TIME statement) to create the date/time stamp in the trailer. On occasion, the date/time stamp comes out different.
Here's the code (sry about all caps):
GET TIME.
CONCATENATE SY-DATUM SY-UZEIT INTO BATCHID.
CALL FUNCTION 'Z_YADAYADA'
EXPORTING
FILE_ID = P_FILEID
REFRESH_TYPE = P_REFTYP
START_PERIOD = START_PER
END_PERIOD = END_PER
IMPORTING
STRING255 = OUTPUTSTRING
EXCEPTIONS
INVALID_REFRESH_TYPE = 1
INVALID_BATCH_ID = 2.
...sy-subrc check...
TRANSFER OUTPUTSTRING TO P_FILE1. <--header output
CONCATENATE L_TRL BATCHID COUNT T_TOTAL SPACE
INTO OUTPUTSTRING SEPARATED BY L_DEL.
CONDENSE OUTPUTSTRING NO-GAPS.
TRANSFER OUTPUTSTRING TO P_FILE1. <--trailer output
inside function module *****
CONCATENATE: SY-DATLO SY-TIMLO INTO DATESTAMP,
SY-SYSID SY-MANDT INTO MACHINE_NAME.
CONDENSE: DATESTAMP, MACHINE_NAME NO-GAPS.
CONCATENATE C_HDR DATESTAMP FILE_ID MACHINE_NAME
SY-CPROG ' ' REFRESH_TYPE START_PERIOD
END_PERIOD DATESTAMP
INTO STRING255 SEPARATED BY '~'.
CONDENSE: STRING255 NO-GAPS.
You can see that the function uses SY-DATLO and SY-TIMLO for creation of the header, while SY-DATUM and SY-UZEIT are used for the trailer. What's wierd is that sometimes the trailer has a date/time stamp that is 1 second <b>greater</b> than the header, despite the fact that it is stored in the BATCHID variable <b>before</b> the header is created.
Any help, references, explanations greatly appreciated (and rewarded with points)
BMVHi Brian
Here is the related part from the weblog of ABAP expert Horst Keller. Hope it may help. For the full document, you can visit <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.wcm.compound.docs/library/uuid/f1391fc3-0301-0010-d384-fccd036f1c67">here</a>.
The values of all system fields in this table are implicitly set when the program is started, every time a screen layout of a screen is sent, and when the internal mode is set. The GET TIME command explicitly updates the system fields, except for sy-dayst, sy-fdayw and sy-tzone.
With the exception of sy-datlo and sy-timlo, all system fields refer to the local date and time of the current SAP system. The ABAP runtime environment clock is synchronized with the database server clock at regular intervals in order to calculate the local time of the SAP system. During the synchronization process, the ABAP runtime environment clock is set to the database server clock. Because this happens on all application servers in an SAP system, the ABAP runtime environment clock is synchronous with the clocks on all other application servers and with the database system clock, and thus shows the local time of the entire SAP system. The time zone on which the local time of an SAP system is based is the only entry in the database table TTZCU.
The content of sy-zonlo is taken from the user master record of the current user. The values of sy-datlo and sy-timlo are calculated from sy-datum and sy-uzeit and from the time zone of the SAP system for the time zone in sy-zonlo. If the user master record does not contain a time zone, or if it contains an invalid or an inactive time zone, sy-datlo and sy-timlo are set to the values of sy-datum and sy-uzeit. All valid time zones are defined in table TTZZ.
Is't the naming of sy-datum and sy-uzeit really geeky?
Time Stamps
The above system fields for date and time are not sufficient for many requirements of determining unique points in time: They represent local times and the values are measured in seconds. For more exact date and time determination, you use time stamps.
A time stamp represents date and time in the form YYYYMMDDHHMMSS. YYYY is the year, MM the month, DD the day, HH the hour, MM the minutes and SS the seconds. There is a short form and a long form. In the long form, the format specified above additionally contains 7 decimal places for fractions of seconds, which allows for an accuracy of up to 100 ns. The maximum time resolution depends on the operating system of the application server and may be less.
A valid time stamp must contain values whose date and time specifications before the decimal separator correspond to valid values for the data types d and t. Time stamps in this form are always considered as UTC (Universal Time Coordinated, basis for calculating worldwide time specifications; the UTC reference time is based on Greenwich Mean Time, GMT, but is not a time zone; it has no daylight saving time or summer time) time stamps when processed with the corresponding statements. You use the statement GET TIME STAMP to create a time stamp that represents the current UTC reference time.
Regards
*--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a> -
Hi,
please correct me where i went wrong...
RANGES: r_daterange FOR vbak-audat.
RANGES:GRG_DATERANGE FOR VBAK-AUDAT.
PERFORM CHECK_SELECT_OPTIONS USING DATE_FROM
DATE_TO
CHANGING R_DATERANGE[].
if sales order number is the selection criteria
if not salesorder_no is initial.
clear :wa_vbak, wa_vbfa, wa_costlist_in.
refresh:t_vbak, costlist_in.
select avbeln aauart bposnr bnetpr
into table t_vbak
from vbak as a
inner join vbap as b
on avbeln = bvbeln
where a~vbeln = salesorder_no
and a~audat in r_daterange
and a~kunnr = partner_number
and b~abgru NE ' ' .
***INCLUDE /VWNA/LINSD_BAPI_INV_GET_INF01 .
*& Form CHECK_SELECT_OPTIONS
text
-->P_DATE_FROM text
-->P_DATE_TO text
<--P_R_DATERANGE[] text
FORM CHECK_SELECT_OPTIONS USING P_DATE_FROM LIKE VBAK-AUDAT
P_DATE_TO LIKE VBAK-AUDAT
CHANGING PRG_DATERANGE LIKE GRG_DATERANGE[].
DATA: WA_DATERANGE LIKE GRG_DATERANGE.
CLEAR WA_DATERANGE.
REFRESH PRG_DATERANGE.
WA_DATERANGE-SIGN = 'I'.
iF ( P_DATE_FROM IS INITIAL ) AND ( P_DATE_TO IS INITIAL ).
ELSEIF P_DATE_FROM IS INITIAL.
WA_DATERANGE-OPTION = 'LE'.
MOVE P_DATE_TO TO WA_DATERANGE-LOW.
ELSEIF P_DATE_TO IS INITIAL.
WA_DATERANGE-OPTION = 'GE'.
MOVE P_DATE_FROM TO WA_DATERANGE-LOW.
ELSE.
WA_DATERANGE-OPTION = 'BT'.
MOVE P_DATE_FROM TO WA_DATERANGE-LOW.
MOVE P_DATE_TO TO WA_DATERANGE-HIGH.
ENDIF.
APPEND WA_DATERANGE TO PRG_DATERANGE.
clear wa_daterange.
When i execute the code its creating a short dump and the message is :
The current ABAP/4 program attempted to execute an ABAP/4 Open SQL
statement in which the WHERE condition contains an IN itab operator.
The IN itab operator is used with internal tables which
have the following structure:
SIGN(1) OPTION(2) LOW LIKE db_field HIGH LIKE db_field
The OPTION column should contain only one of the following values:
"EQ LE GE CP BT NE LT GT NP NB"
The value " " is not allowed here. Please help me in resolving the error..
Thanks,
ChallaHi
This will happen when P_DATE_FROM IS INITIAL AND P_DATE_TO IS INITIAL.
You are populating the range table with just sign as 'I' and option is not populated.
change your code to:
WA_DATERANGE-SIGN = 'I'.
iF ( P_DATE_FROM IS INITIAL ) AND ( P_DATE_TO IS INITIAL ).
ELSEIF P_DATE_FROM IS INITIAL.
WA_DATERANGE-OPTION = 'LE'.
MOVE P_DATE_TO TO WA_DATERANGE-LOW.
APPEND WA_DATERANGE TO PRG_DATERANGE.
ELSEIF P_DATE_TO IS INITIAL.
WA_DATERANGE-OPTION = 'GE'.
MOVE P_DATE_FROM TO WA_DATERANGE-LOW.
APPEND WA_DATERANGE TO PRG_DATERANGE.
ELSE.
WA_DATERANGE-OPTION = 'BT'.
MOVE P_DATE_FROM TO WA_DATERANGE-LOW.
MOVE P_DATE_TO TO WA_DATERANGE-HIGH.
APPEND WA_DATERANGE TO PRG_DATERANGE.
ENDIF.
*APPEND WA_DATERANGE TO PRG_DATERANGE.
clear wa_daterange.
Regards
Navneet -
Reg : Short Dump While Activating Workflow
Hi All,
This morning I added a condition step in my workflow and created two custom methods in the corresponding BO and used them in the task. Initially when i made the changes in the workflow and tested it, it was working fine. But after sometime, when I did the necessary binding and tried to activate the workflow, the workflow started resulting in short dump.
Below is the dump analysis.
SAPSQL_ARRAY_INSERT_DUPREC
The ABAP/4 Open SQL array insert results in duplicate database records.
000310 L_OTYPE EQ ORG_OBJTYPE_WORKFLOW.
000320 LOOP AT ACT_LINES.
000330 MOVE-CORRESPONDING ACT_WFDKEY TO ACT_LINES.
000340 MOVE ACT_CLIENT TO ACT_LINES-CLIENT.
000350 MODIFY ACT_LINES.
000360 ENDLOOP.
000370 ELSE.
000380 MESSAGE E280 WITH L_OTYPE RAISING INVALID_OBJECT_TYPE.
000390 ENDIF.
000400
000410 *- insert lines table
------> INSERT SWD_LINES CLIENT SPECIFIED FROM TABLE ACT_LINES.
000430 IF SY-SUBRC NE 0.
000440 MESSAGE E281 WITH SY-SUBRC 'SWD_LINES'
000450 RAISING INTERNAL_DATABASE_ERROR.
000460 ENDIF.
000470
000480 *- commit
000490 IF DO_COMMIT NE ' '.
000500 COMMIT WORK.
000510 ENDIF.
000520
000530 ENDFUNCTION.
I tried searching sdn. But all other posts were related to passing entries from internal table to DB. Also I'm not even sure if i can raise a OSS, because a few minutes back the system was working fine and all of sudden this started happening.
So can you please guide me what I am missing and how can i fix this?
Thanks & Regards,
RajHi Rick,
When I get acitvate the workflow, the workflow template is gettign active & saved and after that the system results into short dump. And also when i try creating a PR and test this workflow, in SWEL, i can see the below message in RFC status field.
The ABAP/4 Open SQL array insert results in duplicate database records..
I haven't done any duplicate binding. Also I checked what you suggested. Didn't work. Also checked my newly added code. But I'm not accessing database directly anywhere. All is done via SAP standard function module.
Even if i try to display this workflow in PFTC, the system is resulting in the same short dump.
What could be the reason?
Regards,
Raj
Edited by: Raj Karunanidhi on Feb 23, 2010 5:30 AM -
Short dump (DBIF_RSQL_INVALID_RSQL) during activating ODS
Hello Experts,
I found short dump during activating ODS.
The error message in short dump:
Runtime Error: DBIF_RSQL_INVALID_RSQL
Except.: CX_SY_OPEN_SQL_DB
The termination occurred in the ABAP program "GP7WIVS2MDWGSTMN3ICFDKNAH65" in "ACTIVATE_SIDS".
The main program was "RSODSACT1 ".
I add one InfoObject in the ODS. After activating related objects, I loaded data into the data target.
Data seemed to be loaded correctly, but couldn't be activated.
Any suggestion on this?
-WJ-Hi,
Please chekc the following SAP Notes you will find solution
Note 908599 - Runtime error SAPSQL_INVALID_FIELDNAME during activation
Note 612995 - P13:ODS:Data activation in bckgrnd always ends 'successfully
Note 1175860 - P19: DSO: SDL: Automatic update after activation
Note 1113603 - P17:DSO:Postprocessing ODS - activating and updating
Note 378447 - Correction: hierarchies do not become green
Note 1272738 - P21:DSO: Activation and automatic updating
Note 794584 - P26:Timestamp field empty in RS2NDPROCPROT after ODSACTIVATE
Note 800086 - P26: ODS activation: Status field in table RS2NDPROCPROT
Note 856292 - P28: Automatic functions: No lock obtained for ERSICENQ
Thanks
Reddy -
Caller 70 is missing time out (short dump)
when I was trying to load transaction data into cube , it was failed
the error message was :
short dump : caller 70 is missing
I checked in st22 , it shows that <b>time out</b> .
when check in r/3 side , extraction was over and job was finished.
data is coming upto PSA & is not updating into data target and geting failed after some time.
can any one give me suggestion.
thanks in advance
RamHi Ram.
We were getting the same message. SAP recently published note 631668. It suggests dropping the InfoCube indexes before the load and then rebuilding them afterwards.
I set our system up to do that last night. We didn't get the error last night, but a single set of loads is not enough to make me say that it works. But it might be worth trying in your case.
Regards,
Adam -
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 -
Short Dump when deleting CMR/DMR
Hi,
When I delete a CMR or DMR the system hangs and I get a Short Dump. I have traced the line where the dump is occuring, but cannot figure why the error/short dump occurs.
INCLUDE FV45KFKD_VBKD_FUELLEN_TEIL_2
FORM VBKD_FUELLEN_TEIL_2 USING VALUE(US_POSNR)
IF NOT DA_WARNUNG IS INITIAL AND
SVBKD-TABIX > 0.
CLEAR DA_WARNUNG.
IF VBKD-FKDAT EQ DA_FKDAT.
SET CURSOR FIELD 'VBKD-FKDAT'.
WRITE VBKD-FKDAT TO DA_DATUMC DD/MM/YYYY.
MESSAGE W221 WITH DA_DATUMC. <== The error is occuring when this statement is exceuted.
ENDIF.
ENDIF.
Although the short dump thing the error occurs when trying do the next ste PERFORM VBKD_FUELLEN_IAOM USING US_POSNR.
Thanks in advance
NaingI would check if you have any code in userexit_check_vbkd for example.
NOTE: sapmv45a processes not only sales orders but contracts, CMR/DMR,... so please be careful with your code in userexits and make sure you restrict it to proper document types/transactions.
Ideally you need to write your userexits in such a way that they all can be switched-off easily (like put all code in each userexit between if sy-uname = 'SAPLOOK' ... endif. for example) in this case when you are logged on with SAPLOOK ID - userexits are off.
The bottom line is - if you are able to perform any action (delete DMR/CMR) when your exits are OFF -> the problem is somewhere in your exits.
The problem may NOT be in the code where dump occurs, it can be well in advance
One small flag or incorrect read statement which re-sets workarea of internal table in one of your userexits may cause problems down the line. -
Short Dump: DBIF_RSQL_SQL_ERROR
Hello experts,
I am getting lot of dumps in my BI system (Windows+ Oracle 10.2)
How to correct part is :
Database error text........: "ORA-00600: internal error code,
[20084], [29798105], [7], [29798105], [7], [], [], []"
Internal call code.........: "[RSQL/FTCH/TBTCO ]"
Please check the entries in the system log (Transaction SM21).
And System log is :
Database error 600 requires database administrator to intervene
Database error 600 at FET access to table TBTCO
> ORA-00600: internal error code, arguments: [20084],
> [29798105], [7], [29798105], [7], [], [], []
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
> Short dump "081006 160347 NW04SBI7 B7I00 " generated
How will I proceed in this scenario ?
Waiting for your guidance!
Thanks in advance!
AbhilashAnd the trace file would be:
ACTION NAME:(55090) 2008-10-07 10:00:59.826
MODULE NAME:(SAPLBTCH ) 2008-10-07 10:00:59.826
SERVICE NAME:(SYS$USERS) 2008-10-07 10:00:59.826
SESSION ID:(58.401) 2008-10-07 10:00:59.826
2008-10-07 10:00:59.826
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [20084], [29798105], [7], [29798105], [7], [], [], []
Current SQL statement for this session:
SELECT "JOBNAME" , "JOBCOUNT" , "JOBGROUP" , "INTREPORT" , "STEPCOUNT" , "SDLSTRTDT" , "SDLSTRTTM" , "BTCSYSTEM" , "SDLDATE" , "SDLTIME" , "SDLUNAME" , "LASTCHDATE" , "LASTCHTIME" , "LASTCHNAME" , "RELDATE" , "RELTIME" , "RELUNAME" , "STRTDATE" , "STRTTIME" , "ENDDATE" , "ENDTIME" , "PRDMINS" , "PRDHOURS" , "PRDDAYS" , "PRDWEEKS" , "PRDMONTHS" , "PERIODIC" , "DELANFREP" , "EMERGMODE" , "STATUS" , "NEWFLAG" , "AUTHCKNAM" , "AUTHCKMAN" , "SUCCNUM" , "PREDNUM" , "JOBLOG" , "LASTSTRTDT" , "LASTSTRTTM" , "WPNUMBER" , "WPPROCID" , "EVENTID" , "EVENTPARM" , "BTCSYSREAX" , "JOBCLASS" , "PRIORITY" , "EVENTCOUNT" , "CHECKSTAT" , "CALENDARID" , "PRDBEHAV" , "EXECSERVER" , "EOMCORRECT" , "CALCORRECT" , "REAXSERVER" , "RECLOGSYS" , "RECOBJTYPE" , "RECOBJKEY" , "RECDESCRIB" , "TGTSRVGRP" FROM "TBTCO" WHERE "JOBNAME" LIKE :A0 ESCAPE '#' AND ( "STATUS" = :A1 OR "STATUS" = :A2 ) AND "STRTDATE" >= :A3 AND ( "STRTDATE" < :A4 OR "STRTDATE" = :A5 AND "STRTTIME" <= :A6 )
Call Stack Trace -
calling call entry argument values in hex
location type point (? means dubious value)
_ksedst38 CALLrel _ksedst10 0 1
_ksedmp898 CALLrel _ksedst0 0
_ksfdmp14 CALLrel _ksedmp0 3
_kgeriv+146 CALLreg 00000000 B5863A8 3
_kgeasi92 CALLrel _kgeriv0 B5863A8 76720C4 4E74 4
E80D310
_qerbtRop346 CALLrel _kgeasi0 B5863A8 76720C4 4E74 2 4 0
1C6AED9 0 0 7 0 0 1C6AED9 0 0
7 0
_qersoFetch+366 CALLptr 00000000
_qerbtFetch+607 CALL??? 00000000
_kdibr1sf+55 CALL??? 00000000 317EC790 0 0 1 317EC790
E80D498
_qerbaFndOl125 CALLrel _kdibr1sf0 EBC8198 317EC790 E80D498
DDC51C4
_qerbaStrmAnd145 CALLrel _qerbaFndOl0
_qerbaFetch121 CALLrel _qerbaStrmAnd0
_kdibr1sf+55 CALL??? 00000000 317EC61C 0 0 1 317EC61C 0
_qerbtFetch1448 CALLrel _kdibr1sf0 ECB3F54 317EC61C 0 ECB3F68
_qertbFetchByRowID+ CALL??? 00000000 317EC464 0 E80D828 1
475
_qeruaFetch+253 CALL??? 00000000
_opifch2+3115 CALL??? 00000000 317EC0FC 1E9B2F4 E80D9D8 18
_opiefn0348 CALLrel _opifch20 89 4 E80DB7C
_opiefn21 CALLrel _opiefn00 4E 4 E80F698 0 0 0 0 0 0 0
_opiodr+1099 CALLreg 00000000 4E 4 E80F698
_ttcpip+1273 CALLreg 00000000 4E 4 E80F698 C9
_opitsk+1017 CALL??? 00000000
_opiino1087 CALLrel _opitsk0 0 0
_opiodr+1099 CALLreg 00000000 3C 4 E80FC30
_opidrv819 CALLrel _opiodr0 3C 4 E80FC30 0
_sou2o45 CALLrel _opidrv0 3C 4 E80FC30
opimaireal112 CALLrel _sou2o0 E80FC24 3C 4 E80FC30
_opimai92 CALLrel opimaireal0 2 E80FC5C
_OracleThreadStart@ CALLrel _opimai+0
4+708
77E64826 CALLreg 00000000
Thanks,
Abhilash
Maybe you are looking for
-
Hi, When using a hierarchical column (parent-child type) in a prompt the underlying reports must have this column physically included and the hierarchy column must also be included in the graph/table or else it will not be filtered when a value is se
-
Hi, When I do JOptionPane.showOptionDialog(...); Can anyone tell me how to make the ok and cancel buttons appear at the bottom right of the dialog instead of the bottom center. Thanks, Jim
-
MacBook Pro Software Update 1.0
Each, who that found what's it did have to fixed? People saying that it runs cooler... (Before my MBP would get up to 68C while browsing the web without the fans going above 2K rpm. Now they kick in around 55C.
-
Hi everybody, I'm testing Leopard on one partition and so far it behaves well. I know that many things will be fixed/restored with the upcoming 10.5.2. One thing I'm missing is the possibility to have Finder's windows without the Sidebar but still wi
-
Zen Micro defect with Firmware upd
(Zen Micro version 2.00.2) I updated my Zen Micro's firmware/drivers/applications the other day and now the player is not detected by creative media source organizer or zen micro media explorer - I have to transfer my songs through Real Player or WMP