Handling an empty table exception condition
Hi,
I am very new to java and i am using sysbase as my backend, where in i am executing a stored procedure. I have written a program to connect to sybase and execute my stored procedure which returns a result set. Can any body tell me how to handle an exception condition when the table is empty. Or any one please give me a refrence or a program which handles all the exception conditions. It will very helpfull for me. I hope some body helps me.
Thanks & Regards
-Sandeep
Normally, people iterate over the ResutSet with ResultSet.next(); that method returns a boolean when there is no next, so many people design their code so that either it just does the right thing when iterating 0 times, or they count the number of iterations and do something special after iterating when the count is 0.
I'm sure there's other ways to structure it, but that's what I see a lot.
Similar Messages
-
Show or Hide empty table based on If condition
I want to show or hide empty table based on condition. The table will be empty with 5 rows,2 cols and should display if <?Rout_Information1_id1?> is blank or null or when XML field is not present. Actually the JDEdwards report will generate XML file. In the XML file if <?Rout_Information1_id1?> is present it will have definitely value like 'PULL' or 'Cut' otherwise sometimes XML field itself will not be present. Need to display the empty table when the <?Rout_Information1_id1?> is not present. I am trying to do as below but the table is not displayed. Can someone tell me how to resolve this.
<?if:Rout_Information1_id1=' '?>
5 rows,2 cols table
<?end if?>
Thanks,
Vijay VattiproluOk. I used the below syntax from other post and it resolved displaying empty table issue.
<?if:not(XML_TAG_NAME)?>
<?end if?>
Thanks,
Vijay -
How to handle message "Exception condition "CNHT_ERROR_PARAMETER" raised"?
Hi,
Whenever I try to open Web Dynpro Comp./Intf->Views using transaction SE80, I am getting a short dump showing message "Exception condition 'CNHT_ERROR_PARAMETER' raised'. In the analysis, I have found that A RAISE statement in the program "CL_GUI_HTML_VIEWER============CP" raised the exception condition "CNHT_ERROR_PARAMETER". Since the exception was not intercepted by a superior program, processing was terminated. Can anyone help to get rid of this problem?
Thanks & Regards.
Deepjyotihi,
Looks like, ITS services are not fully active or not compeltely published.
Check whether webgui services are active in SICF.(test service).
Also, check all the ICM parameters.
Regards
Srinivas -
Exception condition "INVALID_POS" raised
I have thousands of entries stuck in the outbound queue of my ERP system everyday. This is due to a failed transaction. SAP Support told me there is a problem with the P.O. associated with this transaction and that it is OK to delete the offending entry. Once that is done the remaining entries in the queue process until the queue is empty. My question is: "How do I identify the PO transaction that is not working correctly so I can fix the root cause of this problem? Can I correlate the TID from the SMQ1 tcode to a PO number in SRM?
The entry below shows the error from SQM1 in the ERP system.
Client User Queue Destination Date Time Status TID
123 Batch QUEUE1 TARGET1 04/10/2015 18:05:19 Exception condition "INVALID_POS" raised. A20915474B805528491F978BD
Host Program
ADBD123 RSM13000
Next is the partial contents of the corresponding short dump in the SRM system
Category ABAP Programming Error
Runtime Errors RAISE_EXCEPTION
ABAP Program SAPLSXAB
Application Component BC-MID-RFC
Short text
Exception condition "INVALID_POS" raised.
Information on where terminated
Termination occurred in the ABAP program "SAPLBBP_PDH_NOTIFY_FOLLOWON" -
"BBP_NOTIFY_FOLLOWON_INBOUND".
The main program was "SAPMSSY1 ".
In the source code you have the termination point in line 66
of the (Include) program "LBBP_PDH_NOTIFY_FOLLOWONU01".
Source Code Extract
Line SourceCde
36 i_with_itemdata = ' '
37 IMPORTING
38 e_header = ls_po_header.
39 * check for existence and type of PO (extended)
40 IF ls_po_header IS INITIAL
41 OR ls_po_header-be_log_system IS INITIAL.
42 DELETE lt_purch_orders.
43 lv_invalid_pos = gc_yes.
44 CONTINUE.
45 ENDIF.
46
47 ls_document_tab-reqno = <fs_purch_orders>-po_
48 ls_document_tab-logsys = ls_po_header-be_log_s
49 ls_document_tab-core_key = lv_tst.
50 ls_document_tab-doc_type = gc_doc_be_po_call_off
51 ls_document_tab-guid = ls_po_header-guid.
52 ls_document_tab-entrydate = sy-datum.Hello Timothy,
I am dealing with the same issue as I reply to your query using a workaround we got from SAP.
In addition to what Raghu has added, I want to share that apart from stuck outbound queue in ECC, we also see consistent periodic ABAP dumps in SRM for program SAPLBBP_PDH_NOTIFY_FOLLOWON.
When I do a search in the ST22 ABAP dump in SRM system, I can find the PO number under the "Chosen Variable" section under the ABAP Developer view.
When I display the SRM PO in BBP_PD transaction, I see that field BE_LOG_SYSTEM - Table BBP_PDBEH is blank and does not have the ECC system value.
Executing function module BBP_PD_PO_TRANSFER_EXEC by entering SRM PO Header GUID not only updates the missing value in following fields in table BBP_PDBEH
BE_LOG_SYSTEM
BE_OBJECT_TYPE
BE_OBJECT_ID
but also starts to clear the stuck out bound queue in ECC.
I am still not sure about the root cause but I know that the problem is because the BE_LOG_SYSTEM field value in SRM table BBP_PDBEH is not updated.
Regards,
Mehul -
Exception condition "FAILED" raised.
My TRM functional consultant has been trying to run end of day processes in the Transaction RKLNACHT but the following dump appears:
Runtime Errors RAISE_EXCEPTION
Date and Time 16.05.2008 10:33:21
Short text
Exception condition "FAILED" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
A RAISE statement in the program "CL_POSITIONSERVICE_TRQ========CP" raised the
exception
condition "FAILED".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
How to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"RAISE_EXCEPTION" " "
"CL_POSITIONSERVICE_TRQ========CP" or "CL_POSITIONSERVICE_TRQ========CM00I"
"GET_POSITIONS_BY_DIFF"
or
"CL_POSITIONSERVICE_TRQ========CP" "FAILED"
or
"RKLNACHT " "FAILED"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
System environment
SAP-Release 700
Application server... "tetradev"
Network address...... "192.168.1.81"
Operating system..... "SunOS"
Release.............. "5.9"
Hardware type........ "sun4u"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 0
Shortdump setting.... "full"
Database server... "tetradev"
Database type..... "ORACLE"
Database name..... "DEV"
Database user ID.. "SAPSR3"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Aug 31 2006 20:59:23"
create on........ "SunOS 5.9 Generic_117171-13 sun4u"
Database version. "OCI_102 (10.2.0.2.0) "
Patch level. 75
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
SAP database version. 700
Operating system..... "SunOS 5.9, SunOS 5.10"
Memory consumption
Roll.... 16192
EM...... 16759392
Heap.... 0
Page.... 180224
MM Used. 10608952
MM Free. 1957592
User and Transaction
Client.............. 300
User................ "DARLINGTON"
Language key........ "E"
Transaction......... "KLNACHT "
Program............. "CL_POSITIONSERVICE_TRQ========CP"
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where terminated
Termination occurred in the ABAP program "CL_POSITIONSERVICE_TRQ========CP" -
in "GET_POSITIONS_BY_DIFF".
The main program was "RKLNACHT ".
In the source code you have the termination point in line 37
of the (Include) program "CL_POSITIONSERVICE_TRQ========CM00I".
Source Code Extract
Line SourceCde
7 l_selector TYPE REF TO cl_flow_selector_dif,
8 * workarea for table with positions
9 l_tab_position TYPE trqy_position_obj,
10 l_position TYPE REF TO if_position_trq,
11 l_count type i.
12
13 * initialization
14 CLEAR re_tab_position.
15
16 * Get positions for ranges
17 CALL METHOD ca_pos_identifier_dif=>agent->get_persistent_by_range
18 EXPORTING
19 im_context = trqco_con_trq
20 im_ranges = im_ranges
21 RECEIVING
22 re_identifiers = l_tab_identifier.
23 CHECK NOT l_tab_identifier IS INITIAL.
24
25 LOOP AT l_tab_identifier INTO l_identifier.
26
27 l_selector = l_identifier->derive_selector( ).
28
29 * get TRQ positions for selectors
30 CALL METHOD read_positions_by_selector
31 EXPORTING
32 im_selector = l_selector
33 RECEIVING
34 re_tab_positions = l_tab_position.
35 DESCRIBE TABLE l_tab_position LINES l_count.
36 IF l_count <> 1.
>>>>> raise failed.
38 ENDIF.
39 APPEND LINES OF l_tab_position TO re_tab_position.
40 ENDLOOP.
41
42 ENDMETHOD.
Contents of system fields
Name Val.
SY-SUBRC 0
SY-INDEX 0
SY-TABIX 2
SY-DBCNT 1
SY-FDPOS 0
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY
SY-UCOMM
SY-TITLE End-of-Day Processing
SY-MSGTY E
SY-MSGID 64
SY-MSGNO 030
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO 0
SY-DATUM 20080516
SY-UZEIT 103319
SY-XPROG SAPLSBAL_DB
SY-XFORM %_CONTROL_EXIT_DYNPRO
Does anyone have suggestions as to how I can solve this problem?
Assistance will be appreciated.bumping...any suggestions...welcome
-
Error in BEx Analyzer Exception condition "HIERARCHY_NOT_FOUND" raised.
When i run report 0FIAA_C02_Q1001 with input variable as "My controlling area" i get this error.
ERROR:
Exception condition "HIERARCHY_NOT_FOUND" raised.
ERROR Analysis:
A RAISE statement in the program "SAPLRRH1" raised the exception
condition "HIERARCHY_NOT_FOUND".
Since the exception was not intercepted by a superior
program, processing was terminated.
Please sugggest how to resolve this.
HOw to see which hierarachy it is talking about?
Thanks,
Harika.
Edited by: harikag on Oct 12, 2011 7:11 AM
Edited by: harikag on Oct 12, 2011 7:12 AMHI
FOr 0Costcenterinfoobject->attribute tab->no hierarhcies
->hierarchy tab->i see hierarchy tables are enabled.But when i click on
"MaintainHierachy" there are no hierrachies in it.
For 0CO_AREA infoobject->attribute tab->0CCA_HIENM,0PCA_HIENM hierarchies are there.
->hierarchy tab->nothing is there.
please help out.I didnt load 0COSTELMNT_0102_HIER master datasource in CO_IO.
Is that the reason? -
Exception condition "CNTL_ERROR" raised. in WDA : smartform to pdf
Hii,
I am using a webdynpro - abap application. I am showing a smartform as a pdf in one on the windows.
When the link in the main window is clicked, a secondary window. Instead of the pdf, I get following exception.Kindly help me understand, where would I be going wrong. Let me know if more details required.
*Exception condition "CNTL_ERROR" raised. *
Form: PBO_HTML_CONTROL of program SAPLSTXBC
Module: HTML_CONTROL of program SAPLSTXBC
Function: SSFCOMP_PDF_PREVIEW of program SAPLSTXBC
Method: DISPLAYPDF of program /1BCWDY/2TKFRFPNZA4CZYBGEB8F==CP
Method: IF_COMPONENTCONTROLLER~DISPLAYPDF of program /1BCWDY/2TKFRFPNZA4CZYBGEB8F==CP
Method: ONACTIONPDF of program /1BCWDY/2TKFRFPNZA4CZYBGEB8F==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/2TKFRFPNZA4CZYBGEB8F==CP
Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
The code in the DISPLAYPDF method is as follows:
method DISPLAYPDF .
DATA: I_RS38L_FNAM TYPE RS38L_FNAM.
DATA: CTRL TYPE SSFCTRLOP.
DATA: OUT TYPE SSFCOMPOP.
DATA: I_SSFCRESCL TYPE SSFCRESCL.
DATA: LT_OTFDATA TYPE TABLE OF ITCOO.
CTRL-GETOTF = 'X'.
CTRL-NO_DIALOG = 'X'.
CTRL-PREVIEW = 'X'.
OUT-TDNEWID = 'X'.
OUT-TDDELETE = ' '.
data: i_tsp03 type tsp03.
clear i_tsp03.
select single * from tsp03 into i_tsp03.
*OUT-TDDEST = i_tsp03-PADEST.
OUT-TDDEST = 'TEP1'.
********get context data
DATA lo_nd_zwebquestionaire TYPE REF TO if_wd_context_node.
DATA lo_el_zwebquestionaire TYPE REF TO if_wd_context_element.
DATA ls_zwebquestionaire TYPE wd_this->element_zwebquestionaire.
* navigate from <CONTEXT> to <ZWEBQUESTIONAIRE> via lead selection
lo_nd_zwebquestionaire = wd_context->get_child_node( name = wd_this->wdctx_zwebquestionaire ).
* get element via lead selection
lo_el_zwebquestionaire = lo_nd_zwebquestionaire->get_element( ).
* get all declared attributes
lo_el_zwebquestionaire->get_static_attributes(
IMPORTING
static_attributes = ls_zwebquestionaire ).
********get context data ends
data: itab1 type TCHAR255.
data: itab2 type TCHAR255.
data: itab type zprint. "addition by chandani
data fm_name type rs38l_fnam..
clear fm_name.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZCPESMARTFORM'
IMPORTING
FM_NAME = fm_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
CALL FUNCTION fm_name
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = CTRL
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
OUTPUT_OPTIONS = OUT
USER_SETTINGS = ' '
NAME = 'test'
ZWEBQUESTIONAIRE = ls_ZWEBQUESTIONAIRE
IMPORTING
* DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO = I_SSFCRESCL
* JOB_OUTPUT_OPTIONS =
TABLES "addition by chandani
itab = itab "addition by chandani
* EXCEPTIONS
* FORMATTING_ERROR = 1
* INTERNAL_ERROR = 2
* SEND_ERROR = 3
* USER_CANCELED = 4
* OTHERS = 5
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH LT_OTFDATA.
LT_OTFDATA[] = I_SSFCRESCL-OTFDATA[].
CALL FUNCTION 'SSFCOMP_PDF_PREVIEW'
EXPORTING
I_OTF = LT_OTFDATA
* EXCEPTIONS
* CONVERT_OTF_TO_PDF_ERROR = 1
* CNTL_ERROR = 2
* OTHERS = 3
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA: PDF_DATA TYPE XSTRING,
PDF_SIZE TYPE I.
DATA: L_DUMMY TYPE STANDARD TABLE OF TLINE.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
* MAX_LINEWIDTH = 132
* ARCHIVE_INDEX = ' '
* COPYNUMBER = 0
* ASCII_BIDI_VIS2LOG = ' '
* PDF_DELETE_OTFTAB = ' '
IMPORTING
BIN_FILESIZE = PDF_SIZE
BIN_FILE = PDF_DATA
TABLES
OTF = LT_OTFDATA
LINES = L_DUMMY
* EXCEPTIONS
* ERR_MAX_LINEWIDTH = 1
* ERR_FORMAT = 2
* ERR_CONV_NOT_POSSIBLE = 3
* ERR_BAD_OTF = 4
* OTHERS = 5
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA lo_nd_pdf TYPE REF TO if_wd_context_node.
DATA lo_el_pdf TYPE REF TO if_wd_context_element.
DATA ls_pdf TYPE wd_this->element_pdf.
DATA lv_sources LIKE ls_pdf-sources.
* navigate from <CONTEXT> to <PDF> via lead selection
lo_nd_pdf = wd_context->get_child_node( name = wd_this->wdctx_pdf ).
* get element via lead selection
lo_el_pdf = lo_nd_pdf->get_element( ).
* get single attribute
lo_el_pdf->Set_attribute(
EXPORTING
name = `SOURCES`
value = PDF_DATA ).
endmethod.Hi,
1) This error generally comes ,when your GUI version is old.Check this point & try to upgrade.
2) Otherwise if you are running report in background,then check madhu kumar's reply in this link & try like this.
Dump Error Raise_Exception CNTL_ERROR
Also search OSS notes.
Thanks
Gourav. -
Exception condition "HIERARCHY_NOT_FOUND" raised. - SAPLRRHI
Hello all,
My issue is very similar as the one described in thread : HIERARCHY_NOT_FOUND, but not solved in the other thread.
I tried to update the system to SP21 as told in the topic, but the issue is still present :
when I open a query with the query designer, I'm still having the same issue. Via the RSRT transaction I get the following error message :
Short text
Exception condition "HIERARCHY_NOT_FOUND" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
Error analysis
A RAISE statement in the program "SAPLRRHI" raised the exception
condition "HIERARCHY_NOT_FOUND".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
Trigger Location of Runtime Error
Program SAPLRRHI
Include LRRHIU27
Row 36
Module type (FUNCTION)
Module Name RRHI_ASOHIEDIR_READ
I add that the query use a 0cust_sales based hierarchy, when (at the query level) I remove the time dependance the query works fine, but when I select "type of derivation" in the hierarchy display and use 0D_FC_LM1 : I get the error.
(transaction RSTHJTMAINT--> 0D_FC_LM1 based on 0calmonth and use "first day)
Thanks in advance for help.First of all, thanks Maxim to spend time on my issue, it is really appreciated (and sorry for the late answer, I did not have any computers during the week-end).
I checked both tables (SE16 then "number of entries" button) : RSHIEDIR has 5 entries and RSRHIEDIR_OLAP has 9.
So I go to my info-object 0cust_sales, hierarchy tab, "maintain hierarchy" button and reactivate the hierarchy (I only have one line available) and I get the message "There is no modified version for this hierarchy." When I check again the entries number in both tables : no change, (still 5 and 9).
Please find bellow the abap code I get with the message (when I use RSRT) :
Source Code Extract
Line SourceCde
6 *" EXPORTING
7 *" REFERENCE(E_S_HIEDIR) TYPE RRHI_S_HIEDIR
8 *" EXCEPTIONS
9 *" HIERARCHY_NOT_FOUND
10 *"----
11 data: l_hiesid type rrhi_hiesid,
12 l_TMPJOIN type rs_bool.
13
14 CALL FUNCTION 'RRHI_HIESIDASO_GET'
15 EXPORTING
16 i_hiesid = i_hiesid
17 IMPORTING
18 E_HIESID_ASO = l_hiesid.
19
20 if l_hiesid < 0.
21 l_tmpjoin = rs_c_false.
22 else.
23 l_tmpjoin = rs_c_true.
24 endif.
25
26 CALL FUNCTION 'RRHI_HIEDIROLAP_READ'
27 EXPORTING
28 i_hiesid = l_hiesid
29 I_TMPJOIN = l_tmpjoin
30 IMPORTING
31 E_S_HIEDIR = E_S_HIEDIr
32 EXCEPTIONS
33 hierarchy_not_found = 1.
34
35 if sy-subrc <> 0.
>>>>> raise hierarchy_not_found.
37 endif.
38
39 ENDFUNCTION.
Thanks again and please let me know if you need more informations. -
I wrote a function.This read codes from a .txt file, create an abap program dinamically and after run it.
I wrote a java program with jco and i wrote an abap program for calling function .İf i runned abap program not happened any problem.But i runned java program.i saw this error :
RFC_ERROR_SYSTEM_FAILURE: Exception condition "CNTL_ERROR" raised.
My function :
FUNCTION Z_MS_FUNC2.
*"*"Local Interface:
*" IMPORTING
*" EXPORTING
*" VALUE(RESULT) TYPE ZMS_SONUC-SONUC
DATA: code TYPE TABLE OF rssource-line.
data : p_file TYPE string.
p_file = 'C:\deneme.txt'.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = p_file
FILETYPE = 'ASC'
tables
data_tab = code.
INSERT REPORT 'zms_dinamik002' FROM code.
SUBMIT zms_dinamik002 AND RETURN.
result = 'Successfull.'.
ENDFUNCTION.
this code show error row :
38 CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_LIST_FILES
39 EXPORTING
40 DIRECTORY = FILE
41 FILTER = ''
42 FILES_ONLY = 'X'
43 * DIRECTORIES_ONLY = 'X'
44 CHANGING
45 FILE_TABLE = filetab
46 COUNT = count
47 EXCEPTIONS
48 CNTL_ERROR = 1
49 DIRECTORY_LIST_FILES_FAILED = 2
50 WRONG_PARAMETER = 3
51 ERROR_NO_GUI = 4
52 others = 5.
53
54 IF SY-SUBRC <> 0.
>>>>> RAISE CNTL_ERROR.
56 ENDIF.
deneme.txt
report mehmet.
data wa like zms0005.
wa-jop_id = 14.
wa-jop_name = 'UZAK4'.
modify zms0005 from wa.Hi,
wa-jop is not defined (data: wa-jop type...)!
Try to insert the coding-lines in a new report. Than make a syntax check.
Regards Mario
Edited by: Mario Müller on Mar 11, 2008 6:47 AM -
Error message "Exception condition "INTERNAL_ERROR" raised" in Backend.
Hi
I am trying to replicate the materials from Backend to SRM and every time I get the message "Exception condition "INTERNAL_ERROR" raised" in the backend system and the Outbound queue in R/3 system gets stuck.
I have maintained the middleware tables correctly and was able to download other objects.
Can someone kindly help me out in determining the error.
Regards
ManojHello Manoj,
I suppose your´re working with a release < SRM4.0? Then please check the following settings:
SPRO
Customer Relationship Management > Master data > Condition Technique
Create general configuration parameters
Maintain here the TIMEZONE_MASTER_DATA_DB -> pls read the documentation for this point in customizing.
BR
Michael -
Exception condition "HIERARCHY_NOT_FOUND"
Hello,
we have scenario in Xcelsius where we used QAAWS with different queries.
after upgrading to the EhP1 (BW System) we strated getting WIS errors in QAAWS tool wrt 0country hierarchy even though there are no hierarchies activated in queries.
I rebuilt all the connections but the error is not eliminated - when I try to create a new universe the error is triggered:
Error at quering the hierarchies for dimension 0COUNTRY (Cube xxx/xxxxxx):Exception condition "HIERARCHY_NOT_FOUND" raised.
tried to repair the InfoObjects as well, but it didn't work
any other suggestions?
thanksHi Ingo,
we don't want to use the hierarchy in the universe (thus it's not activated in the BW Query)
- i can run BW Query in BEX Web normally without any errors
- when i perform MDXTEST in BW system the exception HIERARCHY_NOT_FOUND is trigerred:
Auslösestelle des Laufzeitfehlers
Programm SAPLRRH1
Include LRRH1U03
Zeile 69
Modultyp (FUNCTION)
Modulname RRH1_HIERARCHY_IN_TO_EX
I already repaired hierarchies and tables of the 0COUNTRY InfoObject in RSRV , but it didn't help.
Hierarchy is not found in rshiedir table, even though it's there in A version - how can I repair this issue? -
Exception condition "CNTL_ERROR WD-abap Smartform to pdf
Hii,
I am using a webdynpro - abap application. I am showing a smartform as a pdf in one on the windows.
When the link in the main window is clicked, a secondary window. Instead of the pdf, I get following exception.Kindly help me understand, where would I be going wrong. Let me know if more details required.
**Exception condition "CNTL_ERROR" raised. **
Form: PBO_HTML_CONTROL of program SAPLSTXBC
Module: HTML_CONTROL of program SAPLSTXBC
Function: SSFCOMP_PDF_PREVIEW of program SAPLSTXBC
Method: DISPLAYPDF of program /1BCWDY/2TKFRFPNZA4CZYBGEB8F==CP
Method: IF_COMPONENTCONTROLLER~DISPLAYPDF of program /1BCWDY/2TKFRFPNZA4CZYBGEB8F==CP
Method: ONACTIONPDF of program /1BCWDY/2TKFRFPNZA4CZYBGEB8F==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/2TKFRFPNZA4CZYBGEB8F==CP
Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
The code in the DISPLAYPDF method is as follows:
method DISPLAYPDF .
DATA: I_RS38L_FNAM TYPE RS38L_FNAM.
DATA: CTRL TYPE SSFCTRLOP.
DATA: OUT TYPE SSFCOMPOP.
DATA: I_SSFCRESCL TYPE SSFCRESCL.
DATA: LT_OTFDATA TYPE TABLE OF ITCOO.
CTRL-GETOTF = 'X'.
CTRL-NO_DIALOG = 'X'.
CTRL-PREVIEW = 'X'.
OUT-TDNEWID = 'X'.
OUT-TDDELETE = ' '.
data: i_tsp03 type tsp03.
clear i_tsp03.
select single * from tsp03 into i_tsp03.
*OUT-TDDEST = i_tsp03-PADEST.
OUT-TDDEST = 'TEP1'.
********get context data
DATA lo_nd_zwebquestionaire TYPE REF TO if_wd_context_node.
DATA lo_el_zwebquestionaire TYPE REF TO if_wd_context_element.
DATA ls_zwebquestionaire TYPE wd_this->element_zwebquestionaire.
* navigate from <CONTEXT> to <ZWEBQUESTIONAIRE> via lead selection
lo_nd_zwebquestionaire = wd_context->get_child_node( name = wd_this->wdctx_zwebquestionaire ).
* get element via lead selection
lo_el_zwebquestionaire = lo_nd_zwebquestionaire->get_element( ).
* get all declared attributes
lo_el_zwebquestionaire->get_static_attributes(
IMPORTING
static_attributes = ls_zwebquestionaire ).
********get context data ends
data: itab1 type TCHAR255.
data: itab2 type TCHAR255.
data: itab type zprint. "addition by chandani
data fm_name type rs38l_fnam..
clear fm_name.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZCPESMARTFORM'
IMPORTING
FM_NAME = fm_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
CALL FUNCTION fm_name
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = CTRL
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
OUTPUT_OPTIONS = OUT
USER_SETTINGS = ' '
NAME = 'test'
ZWEBQUESTIONAIRE = ls_ZWEBQUESTIONAIRE
IMPORTING
* DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO = I_SSFCRESCL
* JOB_OUTPUT_OPTIONS =
TABLES "addition by chandani
itab = itab "addition by chandani
* EXCEPTIONS
* FORMATTING_ERROR = 1
* INTERNAL_ERROR = 2
* SEND_ERROR = 3
* USER_CANCELED = 4
* OTHERS = 5
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH LT_OTFDATA.
LT_OTFDATA[] = I_SSFCRESCL-OTFDATA[].
CALL FUNCTION 'SSFCOMP_PDF_PREVIEW'
EXPORTING
I_OTF = LT_OTFDATA
* EXCEPTIONS
* CONVERT_OTF_TO_PDF_ERROR = 1
* CNTL_ERROR = 2
* OTHERS = 3
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA: PDF_DATA TYPE XSTRING,
PDF_SIZE TYPE I.
DATA: L_DUMMY TYPE STANDARD TABLE OF TLINE.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
* MAX_LINEWIDTH = 132
* ARCHIVE_INDEX = ' '
* COPYNUMBER = 0
* ASCII_BIDI_VIS2LOG = ' '
* PDF_DELETE_OTFTAB = ' '
IMPORTING
BIN_FILESIZE = PDF_SIZE
BIN_FILE = PDF_DATA
TABLES
OTF = LT_OTFDATA
LINES = L_DUMMY
* EXCEPTIONS
* ERR_MAX_LINEWIDTH = 1
* ERR_FORMAT = 2
* ERR_CONV_NOT_POSSIBLE = 3
* ERR_BAD_OTF = 4
* OTHERS = 5
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA lo_nd_pdf TYPE REF TO if_wd_context_node.
DATA lo_el_pdf TYPE REF TO if_wd_context_element.
DATA ls_pdf TYPE wd_this->element_pdf.
DATA lv_sources LIKE ls_pdf-sources.
* navigate from <CONTEXT> to <PDF> via lead selection
lo_nd_pdf = wd_context->get_child_node( name = wd_this->wdctx_pdf ).
* get element via lead selection
lo_el_pdf = lo_nd_pdf->get_element( ).
* get single attribute
lo_el_pdf->Set_attribute(
EXPORTING
name = `SOURCES`
value = PDF_DATA ).
endmethod.Use - with gui_download
call method cl_gui_frontend_services=>environment_get_variable
exporting
variable = p_envir_name
changing
value = ls_envir_path
exceptions
cntl_error = 1
error_no_gui = 2
others = 3.
call method cl_gui_cfw=>flush
exceptions
cntl_system_error = 1
cntl_error = 2
others = 3.
And refer the below notes: 972762
ITS 620 Patch 23 and SAPKB62061
ITS 640 Kernel Patch 148 and SAPKB64019
ITS 700 Kernel Patch 77 and SAPKB70010
and also refer the link below to get more info
http://www.sapfans.com/forums/viewtopic.php?f=13&t=325628&start=15
thanx
suriya -
Exception condition "PERS_KEY_LOCKED" raised
Hi All, I'm in entry stage of SD Module, Please help me, I & my computer stuck with a system error
--Unable to lock Table/view V_TVAK. while going for tcode VOV8 as well as Path.
--Unable to lock table/view V_TVKO while difining Sales Orgn.
--Unable....................view T001 while copying co. code.
not only this 3 but all the screen.
Unable to open a screen neithor through tcode nor through path, not a single one.
System suggests some solution but I'm unable to understand it. Please any one guide me. Definitily there is not only reward, award also will nurture. can send solution to my mail Id: [email protected]
Thanks,
Sarat
<b>System shows the error details:</b>
Run time errors: RAISE_EXCEPTION
Exception condition "PERS_KEY_LOCKED" raised
<b>Error analysis:</b>
A RAISE statement in the program "CL_PERS_ADMIN=============CP" raised the exception Condition "PERS_KEY_LOCKED"
Since the exception was not intercepted by a superior program in the hierarchy, processing was terminated.
<b>How to correct the error:</b>
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:
"RAISE_EXCEPTION" C
"CL_PERS_ADMIN=================CP" or "CL_PERS_ADMIN=================CM02"
"SET_DATA"
or
"CL_PERS_ADMIN=================CP" "PERS_KEY_LOCKED"
or
"RMOT001K" "PERS_KEY_LOCKED"Hi,
Take a look at the following OSS Notes.
https://service.sap.com/sap/support/notes/574285
Hope this helps
Cheers
VJ -
Hi,
I am getting the following message when I click on workitems for CATS timesheet approval(TS3100007) that are received in UWL tasks inbox in MSS.
Exception condition "NOT_FOUND" raised., error key: RFC_ERROR_SYSTEM_FAILURE
com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Exception condition "NOT_FOUND" raised., error key: RFC_ERROR_SYSTEM_FAILURE
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
at com.sap.xss.hr.cat.approve.blc.FcCatApprove.rfcExecute(FcCatApprove.java:307)
at com.sap.xss.hr.cat.approve.blc.FcCatApprove.rfcReview(FcCatApprove.java:435)
at com.sap.xss.hr.cat.approve.blc.wdp.InternalFcCatApprove.rfcReview(InternalFcCatApprove.java:220)
at com.sap.xss.hr.cat.approve.blc.FcCatApproveInterface.onReview(FcCatApproveInterface.java:379)
at com.sap.xss.hr.cat.approve.blc.wdp.InternalFcCatApproveInterface.onReview(InternalFcCatApproveInterface.java:153)
at com.sap.xss.hr.cat.approve.blc.wdp.InternalFcCatApproveInterface$External.onReview(InternalFcCatApproveInterface.java:333)
at com.sap.xss.hr.cat.approve.vac.dd.VcCatApproveDrillDownListInterface.onEvent(VcCatApproveDrillDownListInterface.java:128)
at com.sap.xss.hr.cat.approve.vac.dd.wdp.InternalVcCatApproveDrillDownListInterface.onEvent(InternalVcCatApproveDrillDownListInterface.java:127)
at com.sap.xss.hr.cat.approve.vac.dd.wdp.InternalVcCatApproveDrillDownListInterface$External.onEvent(InternalVcCatApproveDrillDownListInterface.java:217)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:533)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:437)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.access$600(FPMComponent.java:78)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.raiseReviewAndSaveEvent(FPMComponent.java:946)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.raiseReviewAndSaveEvent(FPMComponent.java:1109)
at com.sap.xss.hr.cat.approve.vac.dd.VcCatApproveDrillDownList.fireEvent(VcCatApproveDrillDownList.java:330)
at com.sap.xss.hr.cat.approve.vac.dd.wdp.InternalVcCatApproveDrillDownList.fireEvent(InternalVcCatApproveDrillDownList.java:166)
at com.sap.xss.hr.cat.approve.vac.dd.VcCatApproveDrillDownListInterface.blcEvent(VcCatApproveDrillDownListInterface.java:228)
at com.sap.xss.hr.cat.approve.vac.dd.wdp.InternalVcCatApproveDrillDownListInterface.blcEvent(InternalVcCatApproveDrillDownListInterface.java:163)
at com.sap.xss.hr.cat.approve.vac.dd.VcCatApproveDrillDownListView.onActionReview(VcCatApproveDrillDownListView.java:303)
at com.sap.xss.hr.cat.approve.vac.dd.wdp.InternalVcCatApproveDrillDownListView.wdInvokeEventHandler(InternalVcCatApproveDrillDownListView.java:178)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:330)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:297)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:706)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:660)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:228)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:56)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:47)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.aii.proxy.framework.core.BaseProxyException: Exception condition "NOT_FOUND" raised., error key: RFC_ERROR_SYSTEM_FAILURE
at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
at com.sap.xss.hr.cat.approve.model.approval.CatsApproval.hrmss_Cat_Wd_Approval(CatsApproval.java:178)
at com.sap.xss.hr.cat.approve.model.approval.Hrmss_Cat_Wd_Approval_Input.doExecute(Hrmss_Cat_Wd_Approval_Input.java:137)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92)
Does anyone have any idea?
Thanks.
BNPHi,
It looks to me like the RFC Hrmss_Cat_Wd_Approval does not exist. Is your back-end system ECC 6.0? If not then I don't believe this will work. See page 93 of the document at this link:
https://www2.iviewstudio.com/support_content/_17296/BP_MSS_mySAPERP2005_SR1_EN.pdf
Bert -
Exception Condition "Table_not_Exist" raised in query Level.
Hi,
I have a Hirarchy data in my Object level as below
X
-> X1
->-> X001 (Values or at this level)
I have created a variable on this object in the query level ( Entry is Optional) and executing the query.then I am getting the error mesage Exception Condition "Table_not_Exist" raised.
If I am putting the Variable Value as x* then query is displaying values properly .If i am not giving any values then error is coming. and without variable also executing but values in the output showing X001 lvel.
So plz get back to me with the solution.
"Appritiate Your help inadvance"
Regards
Ram.
Edited by: Ramakanth Deepak Gandepalli on Dec 21, 2009 10:59 AMHi,
Please check the link below:
http://www.saptechies.com/sap-47-installation-error-ora00942-table-or-view-does-not-exist/
-Vikram Srivastava
Maybe you are looking for
-
Dropped MacBook Pro From 10 Feet
...it's completely smashed. Everything's broken. I purchased it 8 mths ago on an American Express. ...am I completely out of luck? Any suggestions? Am I 3k out?
-
IPad wont get IP address from DHCP Server
I have an enterprise WPA2 PEAP MSCHAPv2 wireless network. It allows access via 802.1x authentication using Radius (MS IAS Server) with certificates. I can join the network, enter credentials (that I can see work) and get the certificate. The problem
-
PDF Viewer Full Screen Nokia N8?
Hello, I was wondering is it possible to view a PDF full screen in landscape mode on the nokia n8 rather than only seeing the pdf aswell as the zoom/scroll tool bar on the right hand side and the options and so on on the bottom. The reason why I a
-
Still having trouble verifying my email
Every time I delete and re-add it, it pops up with the MSG 'unable to verify account information' then when I go to save it says I won't be able to send or receive emails. It's killing me, I need to access my emails over my phone, why is it suddenly
-
My client wants to distribute a CD of his web site to some clients who don't have internet connection (china) I have copied the file on a cd with the index page as an alias outside the site folder. But when I opened it on another computer it wanted t