Program is giving dump
hi ,
i got syntax error like below
passing the formal parameter "SUBRC" to the fields SY-SUBRC is not appropriate since
SY-SUBRC is set by statement
the code is like below,
FORM view_sap_locks.
DATA: l_num_locks LIKE sy-tabix.
CALL FUNCTION 'ENQUEUE_READ'
EXPORTING
gclient = sy-mandt
gname = c_order
guname = space
IMPORTING
number = l_num_locks
subrc = sy-subrc
TABLES
enq = t_saplocks
EXCEPTIONS
communication_failure = 1
system_failure = 2
OTHERS = 3.
please tell me how to proceed
Hello,
DATA: l_num_locks LIKE sy-tabix.
DATA lv_RC type sy-subrc.----
Add this line to your code
CALL FUNCTION 'ENQUEUE_READ'
EXPORTING
gclient = sy-mandt
gname = c_order
guname = space
IMPORTING
number = l_num_locks
subrc = lv_rc----
change sy-subrc to lv_rc
TABLES
enq = t_saplocks
EXCEPTIONS
communication_failure = 1
system_failure = 2
OTHERS = 3.
and test.... I hope you will be able to proceed.....:-)
Regards,
Viahaal
Similar Messages
-
hi ,
i got syntax error like below
passing the formal parameter "SUBRC" to the fields SY-SUBRC is not appropriate since
SY-SUBRC is set by statement
the code is like below,
FORM view_sap_locks.
DATA: l_num_locks LIKE sy-tabix.
CALL FUNCTION 'ENQUEUE_READ'
EXPORTING
gclient = sy-mandt
gname = c_order
guname = space
IMPORTING
number = l_num_locks
subrc = sy-subrc
TABLES
enq = t_saplocks
EXCEPTIONS
communication_failure = 1
system_failure = 2
OTHERS = 3.
please tell me how to proceedHello,
DATA: l_num_locks LIKE sy-tabix.
DATA lv_RC type sy-subrc.----
Add this line to your code
CALL FUNCTION 'ENQUEUE_READ'
EXPORTING
gclient = sy-mandt
gname = c_order
guname = space
IMPORTING
number = l_num_locks
subrc = lv_rc----
change sy-subrc to lv_rc
TABLES
enq = t_saplocks
EXCEPTIONS
communication_failure = 1
system_failure = 2
OTHERS = 3.
and test.... I hope you will be able to proceed.....:-)
Regards,
Viahaal -
Using NAST WITH DATE RANGE THE ZPROGRAM GIVING DUMP
Hi Frineds,
i am writing select query from NAST table for PO created time based on date range more than 10 days the program is giving DUMP in Quality System.. but in Developement system the dump is not coming for same date range.
please see the below code......that i ahve written. help me.
IF SY-SUBRC EQ 0.
SELECT KAPPL
OBJKY
KSCHL
SPRAS
ERDAT
ERUHR
FROM NAST
INTO TABLE IT_NAST
WHERE KAPPL = 'EF' AND
OBJKY IN R_OBJKY AND
KSCHL IN S_KSCHL
AND ERDAT IN S_DATE
AND ERUHR IN S_ERUHR.
SORT IT_NAST BY OBJKY.
DELETE ADJACENT DUPLICATES FROM IT_NAST COMPARING OBJKY.
ENDIF.
ENDIF.
regards,
Vijay
Edited by: Rob Burbank on Jan 21, 2010 12:42 PMHi,
thanks for your mail..
the dump message
There is no help text for this dump
Either the text was inadvertently deleted or the release of
the kernel differs from the release of the database
Refer to the Note system for further information on this dump.
Regards,
Vijay -
Include program for script dump error in data type
Hi i have written following subroutine for script.
FORM WITHHOLD TABLES in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
data: a_SKFBT TYPE REGUP-SKFBT,
A_DMBTR TYPE REGUP-DMBTR,
W_TAX1(18) TYPE REGUP-SKFBT.
read table in_tab WITH KEY NAME = 'REGUP-SKFBT'.
read table in_tab INDEX 1.
check sy-subrc = 0.
a_SKFBT = in_tab-value.
read table in_tab WITH KEY NAME = 'REGUP-DMBTR'.
read table in_tab INDEX 2.
check sy-subrc = 0.
a_DMBTR = in_tab-value.
W_TAX = ( a_SKFBT - a_DMBTR ).
read table out_tab with key name = 'W_TAX1'.
IF SY-SUBRC = 0.
out_tab-value = W_TAX1.
modify out_tab INDEX 1.
ENDIF.
ENDIF.
endform.
above program is giving dump .
while deduction values in w_tax .
what type of variables i shold take here..Hi Venkat,
Your declaration for the tax variable is wrong. When you have specified a table field there is not any need to mention the number of characters for that variable.
Simply declare as W_TAX type REGUP-SKFBT and
W_TAX1(16) type c.
After computing W_TAX, Move W_TAX to W_TAX1.
Regards,
Anil -
Program is giving a Short Dump u201CCONVT_NO_NUMBERu201D.
Hi,
The current ABAP program "ZINPUTMODULE" had to be terminated because one of th
statements could not be executed.
Program is giving a Short Dump u201CCONVT_NO_NUMBERu201D.
Can anyone please help with the cause of the dump?
Thanks in advance
ReshmaHi Reshma,
See the Note 856312 - Dump CONVT_NO_NUMBER
FORM FCODE_ALT_1000
Delta001Context Block
DATA: lv_parvw TYPE parvw_4,
lv_parnr TYPE sd_partner_parnr,
lv_pargr TYPE pargr,
lvs_old_partner LIKE gvs_tc_data,
lv_cancel TYPE xfeld,
lv_tabix TYPE sy-tabix,
lv_selline TYPE i,
lv_error LIKE sy-subrc,
lv_selection_done type xflag,
lv_new_parnr type sd_partner_parnr,
lvs_message_info type message_info,
lvs_syncro_subscreen like gvs_syncro_subscreen,
lv_result type xfeld,
lv_parnr_to_change type partner_vb.
loop at selected lines
LOOP AT gt_tc_selected_lines.
lv_parvw = gt_tc_selected_lines-rec-parvw.
Delete Block
IF gt_tc_selected_lines-rec-partner co ' 0123456789'.
UNPACK gt_tc_selected_lines-rec-partner TO lv_parnr.
ELSE.
lv_parnr = gt_tc_selected_lines-rec-partner.
ENDIF.
Insert Block
CATCH SYSTEM-EXCEPTIONS CONVT_NO_NUMBER = 01
OTHERS = 02.
IF gt_tc_selected_lines-rec-partner co ' 0123456789'.
UNPACK gt_tc_selected_lines-rec-partner TO lv_parnr.
ELSE.
lv_parnr = gt_tc_selected_lines-rec-partner.
ENDIF.
ENDCATCH.
if sy-subrc <> 0.
lv_parnr = gt_tc_selected_lines-rec-partner.
endif.
Delta002Context Block
GET CURSOR LINE lv_selline.
lv_tabix = gv_tc_partner_overview-top_line + lv_selline - 1.
READ TABLE gt_tc_data INTO lvs_old_partner INDEX lv_tabix.
IF lvs_old_partner cn ' 0'.
lv_parvw = lvs_old_partner-rec-parvw.
Delete Block
IF lvs_old_partner-rec-partner co ' 0123456789'.
UNPACK lvs_old_partner-rec-partner TO lv_parnr.
ELSE.
Insert Block
CATCH SYSTEM-EXCEPTIONS CONVT_NO_NUMBER = 01
OTHERS = 02.
IF lvs_old_partner-rec-partner co ' 0123456789'.
UNPACK lvs_old_partner-rec-partner TO lv_parnr.
ELSE.
lv_parnr = lvs_old_partner-rec-partner.
ENDIF.
ENDCATCH.
if sy-subrc <> 0.
Regards,
Md Ziauddin -
I'm using the function module SO_DOCUMENT_SEND_API1
and after that I'm using this command.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
But it is giving Dump. Says Error when calling a remote function call. RFC_GET4 I'm getting this error.
I'm recieving the mail to SAP inbox.
But when I give any other External ID mail is not coming.
Is it that do i need to do any settings?Hi Phani ,
External Mails means ? ur outlook id ? thats y we given ref of SCOT, where u can check the status of Messages.
check ur address nodes configurations.
Regards
prabhu -
While Creating Implicit enhancement system is giving dump
Hello All,
I am enhanceing standard code with the help of implicit enhancement.. I have done successfully in one system but when i try to do it in other system it is giving me short dump.. And the dump also didn't give any information..
I am working on ECC 6.0 and i assume we can use implicit enhancement points...
Kindly let me know why i am getting dump..
This is what dump says..
The exception 'CX_SY_MESSAGE_ILLEGAL_TEXT' was raised, but it was not caught
anywhere along
the call hierarchy.
What happened?
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_MESSAGE_HELPER=============CP' has to be
terminated.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_MESSAGE_ILLEGAL_TEXT', was not
caught in
procedure "ACTION" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The text parameter in MESSAGE cannot be an initial reference
METHOD set_msg_vars_for_if_t100_msg.
IF text IS INITIAL.
RAISE EXCEPTION TYPE cx_sy_message_illegal_text
EXPORTING textid = cx_sy_message_illegal_text=>initial_ref.
ENDIF.
Thanks all for your help.
Regards,
RajHi,
This is for SE16N transaction code.. Even i tried in SE38 for a custom program but still giving dump..
So this is not an issue with particular transaction but somehow getting dump ..I doono if there is any OSS notes to be implemented...
Regards,
Raj -
Dynamic data select from table is giving dump
Hello Experts,
Below statement is giving Dump after it move all the data in my dynamic table.
When i see in debug. All my recored are avilable in <T_TAB> Table.
SELECT * FROM (pa_tab) INTO CORRESPONDING FIELDS OF TABLE <T_TAB>.
> IF SY-SUBRC = 0.
Information on where terminated
The termination occurred in the ABAP program "ZFIR_ZTABLE_UPLOAD" in
"F_DOWNLOAD".
The main program was "ZFIR_ZTABLE_UPLOAD ".
The termination occurred in line 403 of the source code of the (Include)
program "ZFIR_ZTABLE_UPLOAD"
of the source code of program "ZFIR_ZTABLE_UPLOAD" (when calling the editor
4030).
Processing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in
the
procedure "F_DOWNLOAD" "(FORM)" but was not handled locally, not declared in
the
RAISING clause of the procedure.
The procedure is in the program "ZFIR_ZTABLE_UPLOAD ". Its source code starts
in line 399
of the (Include) program "ZFIR_ZTABLE_UPLOAD ".
please help me.
Regards,
Amit
Message was edited by:
Amit GuptaHi Amit,
Check if you are doing the following in your program
FIELD-SYMBOLS <T_TAB> TYPE STANDARD TABLE.
DATA: g_tabref type ref to data. "Reference to your table structure
CREATE DATA g_tabref type standard table of (pa_tab).
ASSIGN g_tabref->* to <T_TAB>.
SELECT * FROM (PA_TAB) INTO TABLE <T_TAB>.
Hope this solves your problem.
Let me know if you require any further info.
Enjoy SAP. Reward points of useful
Rajasekhar -
Hi,
I am creating version in cn72. when I am displaying it in cn71,it is giving dump.
In cn71 , I am giving project,then choosing DB profile and clicking version data and sales data and then enter.Then in the project version I am giving the version that I have created in CN72.And when I execute it, it is giving dump.
The error analysis(in the dump) :
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SEMANTICS', was
not caught in
procedure "SELECT_VBAK_FOR_ITAB_VBELN" "(FORM)", nor was it propagated by a
RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
An Open SQL clause was specified dynamically. The contained field name
"CRM_GUID" does not exist in any of the database tables from the FROM clause.
Please help.
Thanks in advance.Sounds like a problem in SAP standard code, did you check for SAP notes?
Thomas -
hi,
Standard PM Transaction IW22 is giving dump the use entered the correct data. There is a select statment from table VIQMEL(notification header),to fetch data from this table it's taking lot of time and going to dump.This select statment is in FM BREAKDOWN_NOTIFS_READ_F04 and program name is SAPLMCI1. I Searched Service market palce and i not found any suitable notes for this dump. Earlier it worked fine from fast few days it's giving dump. If any body faced these kind of problem please kindly give the solution. There are no customization errors.
Thanks and Regards,
Surendar Reddy.The problem is that there's too much data. If it was working before, and has only recently stopped, this would imply it's taking too long, because the data volumes have grown.
I'd log a call with SAP.
As a short-term measure, ask your basis people to increase the timeout parameter. Or use the transaction with less data selected, if possible.
matt -
Method CL_FAGL_OI_READ giving dump
Hi,
method giving dump when i m trying to use it.
st 22 stmt.
In program "CL_FAGL_OI_READ===============CP ", the following syntax error
occurred
in the Include "CL_FAGL_OI_READ===============CU " in line 25:
"Field "ABAP_FALSE" is unknown. It is neither in one of the specified t"
"ables nor defined by a "DATA" statement. "DATA" statement."
please suggest me the solution
Regards
Sumitdear,
there may be a chance of missing some line in your sap code.
1. open program LFAGL_SPL_SERVICESU01.
2. double click on CALL METHOD cl_fagl_split_services.
3. double click on get_customizing.
you will get read stmt where your abap_false entry may be missing.
hope your problem will be solved.
Regards
vijay -
FAGL_FC_VAL is giving DUMP ERROR
Hello Friends,
When i execute FCV for G/L Balances, system is giving dump error which i mentioned below.
Runtime Errors RAISE_EXCEPTION
Date and Time 16.01.2010 18:31:11
Short text
Exception condition "CURRENCY_EMPTY" 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 "SAPLGICV" raised the exception
condition "CURRENCY_EMPTY".
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.
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" " "
"SAPLGICV" or "LGICVU02"
"G_CURRENCY_FROM_CT_GET"
or
"SAPLGICV" "CURRENCY_EMPTY"
or
"FAGL_FC_VALUATION " "CURRENCY_EMPTY"
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)".
As per this dump i've searched SAP Notes in OSS. Unfortunately i couldn't find anything.
But i'm not getting this error when execute FCV for Open Items.
What could be the solution?
Please guide me.
Rgds
SwapnaHi Anuj,
Thanks for your response.
Actually no need to maintain currency in the main screen.
This is the problem with non-maintenance of currency for a company code. It will be fixed once we maintain the currency for that Company code.
Bye
Swapna -
My iTunes program is giving me a message that says, "Runtime error" and wont open iTunes. How do I fix this?
Try the following user tip:
Troubleshooting issues with iTunes for Windows updates -
FM ARCHIVE_SCHEDULE_JOB giving dump as background job?
Hello Everyone,
I am scheduling a report in SM37 which consists of FM ARCHIVE_SCHEDULE_JOB.
And based on the output of FM, some Ztables are updated and some jobs are created in sm37.
Now, when i debugged the background job, i found out that Fm is giving Dump 'NO_RUNTIME_INFO' since sy-batch is not initial.
Due to which Ztables are not updated but the jobs are created....
Can anyone please help me what should i do on this case?
Edited by: Suruchi Razdan on Jun 2, 2011 9:45 AMHi Akshay,
II have copied the Std workflow WS20000075 into a custom one and in the latest end tab, i have selected "Workitem creaton" for Refer Date/Time field and given 5 mins. I have deactivated the workflow in which i have created the containers for date and time and used "Expresion" for latest end and also commented the zmethod in delegated object. Even now also the job is getting cancelled with the same error.
Any idea why is it happening ?
regards,
Trimurty -
Transaction CU72 is giving dump
Hi,
Transaction CU72 is giving dump in Ecc5.0 where its working in 4.6b.we r upgrading from 4.6b to Ecc5.0.
The call to the function module "CTCV_TRANSLATE_TO_USER_MASK" is incorrect:
The function module interface allows you to specify only fields of a particular type under "IV_DEC_SEP".The field "DECIMALPOINT" specified here is a different field type
Thanks and Regardswhats the type of DECIMALPOINT, it has to be char1. if its still giving problem declare like below.
data: DECIMALPOINT type SYCHAR01 .
Regards
Raja
Maybe you are looking for
-
Macbook pro 13inch running slow and losing connection (had it for only a year)
Will someone please help me.. I've only had my mac book pro for a year only and few months ago I started experiencing that my macbook has been running slow lately.. I still have alot of memory in it because I only use it for browsing the net and savi
-
Poor image display in CC Bridge with high-res monitor
I have recently upgraded to CC (Windows 8) and also added a high-res monitor (3840 x 2160 @ 185 ppi). However, the display of the RAW images in Bridge Preview is fuzzy and JPEGgy looking. If I put the loupe over some text in Preview, the larger lou
-
Hi, I am working on an application that fires an SQL query and returns its data in a data structure. The data structure is as follows : LinkedList rows; each 'rows' node references an array of Strings[] (representing fields). Wcreating the data struc
-
Question about training junk mail
In Mail I've set the Junk preference as 'Move it to the Junk Mailbox', but it's missing quite a few junk mails & delivering them to my Inbox. So I thought I'd set it to 'Leave it on my Inbox... (Training)' & mark them manually for a while. I'm thinki
-
Show Confirmaiton Dialog when user closes the browser
Hello All, Can we show a confirmation dialog when user chooses to close the browser in which applet is running? I know that it can be done using javascript. Can it be done using java code? Please suggest. Thank you.