Smartform goint to dump
hi every body....i have developed a smartform....it has to perform in background...so there is no selection screen....but while i am executing the print program its gng into short dump....coz it has to call all the existing data..if i use any selection screen and test it...then its working properly....but here i shld not use any selection sreen...also there is no need of where statement in my select query...cld any one tel me how can i solve thsi problem....]
thnx in advance.....santosh....
Santosh could u just put the excerpts of the Dump..
It wil be easy for us to analyze.
The reason could be that u r passing the fields which could be of other type.
You first try to check the code.
Similar Messages
-
Hi,
I am having error while saving my SMARTFORM TO PDF.Can anyone please help me,as I am getting the following error:
Exception condition "FB_RSTS_OTHER" raised.
Please guide,as ths is very URGENT.
Thanks.Hi
Smartforms are saved into XML format only it won't accept into any format.
In Smartform screen --> goto >utilities>download
it will stored into xml format.
Error also saying in detail that format is other type.
Exception condition "FB_RSTS_OTHER" raised.
Plz rewards points,
Ganesh. -
ALV Output need to send to Printer
Hi Folks,
I need to send the ALV output to the printer. I built the ALV in OOps. The printer button is enabled in the scrren and when I give print it is goint to dump
Below I have pasted the dump.
Help me to solve this.
Points will be rewarded.
Regards,
Raj.
Short text
Field symbol has not yet been assigned.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLKKBL" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
You attempted to access an unassigned field symbol
(data segment 81).
This error may occur if
- You address a typed field symbol before it has been set with
ASSIGN
- You address a field symbol that pointed to the line of an
internal table that was deleted
- You address a field symbol that was previously reset using
UNASSIGN or that pointed to a local field that no
longer exists
- You address a global function interface, although the
respective function module is not active - that is, is
not in the list of active calls. The list of active calls
can be taken from this short dump.
rigger Location of Runtime Error
Program SAPLKKBL
Include LKKBLF01
Row 1,315
Module type (FORM)
Module Name CHECKBOX_OUT
ource Code Extract
ine SourceCde
1285 "<<Unicode/Doublebyte 1
1286 else.
1287 write at (rs_fieldcat-outputlen) <hf> as icon no-gap quickinfo
1288 rs_fieldcat-tooltip.
1289 endif.
1290
1291 g_tabname = l_tabname.
1292
1293 format hotspot off.
1294 *End of Orginalcoding 4.6c
1295
1296 endform. " HEADER_FIELD_OUT
1297 &----
1298 *& Form CHECKBOX_OUT
1299 &----
1300 * text *
1301 ----
1302 form checkbox_out using rs_layout type kkblo_layout
1303 r_tabname type stack-i_tabname
1304 r_sum type c.
1305
1306 data: l_mark(1) type c.
1307
1308 if not rs_layout-box_tabname is initial and
1309 rs_layout-box_tabname ne r_tabname.
1310 format color off.
1311 write at (2) space no-gap.
1312 exit.
1313 endif.
1314
>>>>> if not r_sum is initial or <box> = '-'.
1316 format color off.
1317 write at (2) space no-gap.
1318 else.
1319 format color off.
1320 if <box> = ' ' or <box> = 'X'.
1321 g_mark = <box>.
1322 if rs_layout-no_input = 'X'.
1323 write g_mark as checkbox no-gap input off.
1324 else.check these parts in ur method:
I_SAVE = <var. of type CHAR01 >
I_DEFAULT = <var. of type CHAR01 >
IS_LAYOUT = <structure of type LVC_S_LAYO >
IS_PRINT = <structure of type LVC_S_PRNT > -
In SMARTFORMS when openee a Text Node, Giving a Short Dump
Hi
I am getting Short Dump in SMARTFORMS Transaction, when ever I opened a Text Node and made some changes in it.
With out opening a Text Node I can able to change and activate the SmartForm.
But if I open a Text Node I can able to make changes in the Text Node but later if i click on any other Node, it is giving a Short Dump.
But all other systems in my office are working fine.
I have tried the Utilities->Settings-> and changed the editor also.
I have also Installed the SAPGUI once again for this Issue. But still I am getting the same problem.
Can anyone Please help me on this Issue.
I am sending the error enalysis of the Short Dump.
Error analysis
Short text of error message:
Control Framework : Error processing control
Long text of error message:
Diagnosis
An error occurred when the system tried to process the commands
from the Automation Queue on the presentation server.
There are several possible reasons for this:
- The installation of the SAP GUI on the presentation server is
faulty or obsolete.
- There is an error in the application program
- There is an error in the SAPGUI or an integrated control
Procedure
1. Make sure that you have imported the appropriate Support
Package, the current kernel, and GUI patch for the release of your
system
2. Check whether the error occurs locally on one or a few PCs, or
generally on all PCs. Note whether the error only occurs for some
users, for example because of a specific Customizing setting.
If it only occurs locally, this suggests an installation problem
with the PC. Check the installation; if necessary, reinstall the
software. In the dump, search for the SY-MSGLI field, since it may
point to the cause of the error.
3. Activate the Automation Trace (in accordance with SAP Note
158985).
4.Start the transaction and continue until the screen immediately
before the dump.
5. From the System -> Utilities menu, choose Autom. Queue,
Synchronous Processing.
The status bar of the GUI displays the text:
"Automation synchron flush mode on"
6. If you now proceed with the application, the short dump will
display the ABAP call that caused the error; the Automation Trace
will contain the error on the presentation server.
7. If necessary, load the short dump and trace files on to
sapservX, so that SAP can analyze them.
Technical information about the message:
Message class....... "CNDP"
Number.............. 006
Thanks in Advance.Hi
I think dump is because of SAP GUI. If you are ECC 6.0 then install SAP GUI 710 with patch level 2 or more and check
Regards
Shiva -
Dump error in smartforms , please help me urgent
Hi,
i have created a smartform with two pages in it , i was not able to create the window in the second page it was showing me a dump error but i manage to copy the main window of first page in to second page it was working fine but if i delete anything in it , it was reflecting in first page , then i managed to reduce the size of the main window and add a secondayry window , as the content of the second page must flow to pages . i need to create a main window , it is aagin throwing a dump error , plsease help me in sloving in this , thanks
sriharHi,
create folder in main area in main wondow and keep all the rows of table in folder.
the go to output options of folder and tick check box Page protection.
Now u can reduce the size of main window in second page .it will not get any short dump.
regards,
Sunil.K -
Dump during otf to pdf conversion CONVERT_OTF FM if smartform has logo
Gurus,
I am using function module CONVERT_OTF for converting smartform otf output in pdf output. When the smartform does not contain any graphical logo, the function module converts without any issue. But if there is any logo in the smartform, then the function module gives dump. Following is the way I am using the function module.
DATA:i_otfdata type table of itcoo,
i_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE,
wa_param type ssfctrlop,
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = v_smtfm
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = v_function
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 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.
wa_param-langu = sy-langu.
wa_param-no_dialog = 'X'.
wa_param-getotf = 'X'.
CALL FUNCTION v_function
EXPORTING
e_wa_rbkp = wa_rbkp
CONTROL_PARAMETERS = wa_param
IMPORTING
JOB_OUTPUT_INFO = wa_otf
TABLES
t_rseg = i_rseg
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 i_otfdata.
i_otfdata = wa_otf-otfdata.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
TABLES
OTF = I_OTFDATA
LINES = i_pdf_tab
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.
Regards,
Rajesh.Hi Rajesh,
Pass the bin_filesize in importing
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
ARCHIVE_INDEX = ' '
COPYNUMBER = 0
ASCII_BIDI_VIS2LOG = ' '
PDF_DELETE_OTFTAB = ' '
IMPORTING
BIN_FILESIZE = w_bin_filesize
BIN_FILE = BIN_FILE
TABLES
otf = t_otf
lines = t_pdf_tab
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
ERR_BAD_OTF = 4
Regards,
Sravanthi -
CONVERT_OTF dumps with a smartform with logo
Hi gurus,
I have a requirement to email with smartform as attachment. I know the procedure to do so, but the problem is that the FM CONVERT_OTF dumps when i pass the OTF from my smartform.
I removed the logo and then the FM worked fine. I tried uploading a new logo in bmp. but still same result.
Does anyone know why is this FM dumping when i use logo in smartform ?
Is there other way to convert smartform to PDF??One more thing while seeing the OTF data in debug mode there appear to be chinese characters. Now i know the OTF data isnt exactly readable but hashes etc are fine but never saw chinese like characters. Maybe the problem is related to this.
Note: my sf does not use any chinese script.
As for converting the spool to pdf i tried to convert spool to pdf using RSTXPDFT4 and RSTXPDF4 but i could not convert it. It gives error.
Could the problem be in configuration or basis related problem (Sap packs etc )? -
Smartform preview dump when color graphics in form
Seems I have found a SAP BUG in the smartforms Print Preview.
A dump occurs in preview of pages beyond the first page. The first page previews fine. The dump occurs when you page down. The error is an overflow because a field called stringlength2 is equal to 0 but it is used as in index for a string operation. There should be a check for this in SAP's code before the offending line:.
wa_otf_preview-tdprintpar+4 =
hexstring+stringlength(stringlength2).
How are bugs reported to SAP if you are a developer? Or am I doing something else wrong. The dump does not occur if I remove the color graphic!
Analyse erreur
An exception occurred. This exception is dealt with in more detail be
. The exception, which is assigned to the class 'CX_SY_RANGE_OUT_OF_B
was neither caught nor passed along using a RAISING clause, in the procedure "PREPARE_OTF_FOR_GUI_PREVIEWER" "(FUNCTION)" .
Since the caller of the procedure could not have expected this except
to occur, the running program was terminated. The reason for the exception is: In program "SAPLSTXBW" the system tried to access field "HEXSTRING" w
0. Partial field access to fields with length 0 is not allowed, however.Hi
U should find some notes in OSS.
Max -
Dump in smartform driver program for purchase order
i created one smartform with driver program for purchase order.
in smartfrom i gave
form interface: p_ebeln as import,
tables as it_ekpo like ekpo.
global definitions are
wa_ekko type ekko for printing the ekko data in one window,
wa_ekpo type ekpo .
in main window i took the one table and loop the ekpo table for printing the item details.
no errors is there.but ; when i call this generated function module to my driver program it goes to dump.
in driver program i declare structures,internal tables,work areas, and parameter as p_ebeln .
and also select statements for my table all are good.but its not work.
in function module i pass the details as export p_ebeln = p_ebeln and table it_ekpo = it_ekpo.
and also i done debugging in this data come to the internal table and work areas.
but it goes to dump.
if u dont mind plz solve my problem.
Thanks
Navya.
Moderator message: empty lines removed, subject corrected, please use meaningful subject lines when posting!
Edited by: Thomas Zloch on Mar 24, 2011 10:10 AMHi Navya,
Your smartform is correct. But, as per my understanding, the dump comes when you call the smartform from the driver program. If that is the case, please check the input parameters and all th parameters in the program should be same as used in samrtform. Any deviation would lead to a dump.
Analyse and resolve!!!
Regards
Atul Sachdeva -
Smartform dump when creating a PO for an output type...
Hi.
When changing a PO and giving the output message type for the smartform, and giving option to print on LOCAL when saving the application , its taking long time to save the PO and producing a dump with a message saying
" TYPELOAD_NEW_VERSION" ( DATA TYPE MCEKPOB WAS FOUND IN A NEWER VERSION THAN REQUIRED )...
Can someone help me what might be the cause of the dump...
Thanks,
Kanthi...Thanks...
Even for mine too this is the error analys detials:
the datatype 'MCEKPOB' was reloaded from the database while the program was running. However , the system found a version of the type that was newer than the one required..
Any help pleas...
Thanks,
Kanthi.. -
I've made few changes to SMARTFORM in development and imported to quality.
when I tried to display same form in quality, getting short dump with below message
Error when importing object "T_NTOKENS"
and the error is coming in standard FM SSF_READ_FORM at below code..
import t_ntokens from database stxfcont(xx) id i_formname
Please suggest me how can I fix this error.
ThanksOSS note is not relevant to my issue.
Runtime Errors IMPORT_ALIGNMENT_MISMATCH
Exception CX_SY_IMPORT_MISMATCH_ERROR
Date and Time 21.02.2012 14:12:34
Short text
Error when importing object "T_NTOKENS".
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLSTXBX" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was
not caught in
procedure "SSF_READ_FORM" "(FUNCTION)", 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:
When importing object "T_NTOKENS", the structure did not match the
structure of the target object. The error occurred in component
no. 2.
This may be due to one of the following reasons:
- the structure is actually different (the next field has, for
example, a different data type) or
- the same sequence of components were exported and imported,
but the fields were from other include units.
Source Code Extract
Line
SourceCde
20
21
data: l_stxfadm type stxfadm.
22
23
Test, ob das Formular überhaupt existiert
24
Lesen der Verwaltungsdaten
25
select single * from stxfadm into l_stxfadm
26
where formname = i_formname.
27
if sy-subrc = 0.
28
o_admdata = l_stxfadm.
29
else.
30
raise no_form.
31
endif.
32
33
Lesen des Formulars gemäß der geforderten Fassung
34
falls die gesicherte Fassung nicht existiert, wird die aktive Fassung
35
gelesen
36
perform init_datatabs.
37
38
o_active = i_active.
39
40
if i_active = space. " gesicherte Fassung
41
import t_ntokens t_objt t_ltext
42
from database stxfconts(xx) id i_formname
43
ignoring conversion errors.
44
if sy-subrc <> 0.
45
select * from stxfobjt into table t_objt
46
where formname = i_formname.
47
select * from stxftxt into table t_ltext
48
where txtype = c_text_form
49
and formname = i_formname.
>>>>>
import t_ntokens from database stxfcont(xx) id i_formname
51
ignoring conversion errors. -
sir,
During debugging for occurence of dump in smartform , i found it is happening in following code.
&W_SUB0(255)&&W_SUB256(255)&&W_SUB+512(255)&
could any one please help me to solve it.
Srinivasa MurthyHi Murthy,
The dump might be because the string W_SUB which you are accessing is not having so many characters.
Before displaying the sub strings
try to check if the string lenght greater that what you want. if true then pass that value to one variable and then try to print it in smart form in this format &Var1(C)&.
if suppose ur string is W_SUB = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.
if strlen(W_SUB) > 10.
v_str1 = w_sub+3(6).
endif.
in the text element write &V_STR1(C)&.
hope this will solve your problem.
regards,
Tulasi. -
Hi Friends,
I created one main window in second page . When i excute the transaction F150(Dunning Form) it is going dump.
Dump analysis is showing the following matter.
Error analysis
A RAISE statement in the program "SAPLSTXBC" raised the exception
condition "ERROR".
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.
When i delete the main window it 's not going dump.
Please let me know if any one knows this.
Regards,
VijayYes. Only One Main window Per Smartform. Dont forget that. You can copy & paste the main window existing in the first Page and use it in the second page.
You cant create a new MAIN window for every page...dont forget that.
VIshwa. -
SAP Smartform Timeout Dump in Production for the invoice form
Hi Friends,
I am working on Invoice Smartform. It is working fine when it is having avg line items. where as in my case one invoice iss having more than 500 line items in production. For this in production it is giving timeout short dump.
In that invoice i am displaying standard fuctionality of invoice form and at the same tim i am displaying Serial Numbers based on delivery and Open Quantity based on Order. So it will take time for back processing.
Insted of Back ground processing is there any other possibility to solve this. If not Please give me some steps how to implement this form in background based on conditions (if it is having more than 200 line items then only i need to run in background else foreground)
Pls give me your valuble inputs.
Thanks,
Srinivas.Hi Vipin,
Pls provide more details like SP level , Kernel level etc.
I can see two probable reasons:
Incorrect installtion of GUI , pls try reinstalling the GUI and then try
Kernel upgrade but this solely depends on the current level and defer for further investigation.
Best Regards
Umesh -
Smartforms Dump at Command - New Page
Hi Experts,
I have to create a Smartforms Layout. I have to print the first page as Landscape and the rest of the pages as portrait.
The first page will contain the summary. Other will contain different details related to the summary.
I have created 3 pages.
The first page in Layout. The next page here is first page.
The second and third pages as portrait.
On the first page after the summary table I have given a command. I have selected the checkbox, go to new page and specified the next page.
If I give the other pages as Landscape and the main window with the same size as the window on the first page, I am able to print correctly. If I specify as portrait I get a dump.
Any body can let me know how do I create different pages with different layout. Where am I going wrong
Regards,
AbuShort text
Exception condition "ERROR" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
Error analysis
A RAISE statement in the program "SAPLSTXBC" raised the exception
condition "ERROR".
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.
Maybe you are looking for
-
Computer Freezes After iPhoto Album Mosaic Screen Saver
After using the Mosaic screen saver, my Mac will freeze, therefore resulting in me having to perform a hard shutdown, and reboot my Mac. When my Mac turns back on and I log in, Crash Reporter reports that AdobeResourceSychronizer crashed. The log is
-
How to back up email messages to an external drive
i have lots of gmail messages i need to back up to an external drive. how do i do this?
-
Problem with oracle 9i DS with oracle 9i database
I tried to install Oracle 9i DS on oracle 9i database. database successfully installed, but when installing 9i DS, I get error "error in writing to file C:\oracle\Orahome90\ociw32.dll .... I retry even after uninstalling all the oracle product, delet
-
Object Program Name of class RE and language EN does not exist
Hi, I'm encoutering this problem. Object <Custom Program Name> of class RE and language EN does not exist This appears when i am executing the report . Has anyone encoutered this? How did you resolve this problem? Any pointers in this regard are appr
-
Configuring X Server with Linux RedHat 2.1 AS and EBS 11.5.9
Hi all, I installed Oracle E-Business Suite 11.5.9 on Linux RedHat 2.1 Advanced Server. I configured a VNC server and I added three lines in the service startup scripts: DISPLAY="myhost:0.0" export DISPLAY xhost +myhost These commands don't work and