Smartform DUMP|||
Hi all,
this is the error i am getting....
What happened?
Error in ABAP application program.
The current ABAP program "ZTEST_VKR" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
A function module was called incorrectly.
sjhowing error at CALL FUNCTION fm_name.
REPORT ZTEST_VKR.
tables:mara.
select-options:s for mara-matnr.
data:begin of int_mara occurs 0,
matnr like mara-matnr,
mtart like mara-mtart,
end of int_mara.
data:fm_name type rs38l_fnam.
select matnr mtart from mara into table int_mara where matnr in s.
if sy-subrc = 0.
endif.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZTEST_VKR'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
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.
CALL FUNCTION fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
int_mara = int_mara
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.
i guess in the...
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
u need to give the form name in single quotes.
check it out
pk
Similar Messages
-
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.. -
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. -
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. -
Hello experts,
I copied a smartforms and adapted to new needs.
The original report print one or more pages normally, but my smartform doesn't.
The problem is in a Main window. In this main has a main table, this main table has only header and footer. When I try print more informations that fits in the first page the dump happens.
Please, help me.This table has only the header and footer and in the original form works correctly.
About the size of line.... The smartform has 6 types of lines with 1,36cm high. And it isn't the problem. The form is printed normally if the ifnormations don't pass the first page. The dump only happens if the second page is necessary.
The strange thing is that informaions stay in main windows, so, if I right, the main should automatically call the second page. -
Smartform Dumping..Please help....
Hi Guys,
I am developing a new smartform for the PO in MM(AFS ).
I know, I am putting too much stuff inside an item loop (item, vas, sizes, HTS, texts etc, putting more than 30 templates and 20 more required). Do we have any chance to avoid this dumping including any OSS notes?
I am pasting the dump message below.
<i>While generating program "/1BCDWB/SAPLSF00000009", the system discovered that
an ABAP
event block, a control structure (such as IF... ENDIF or LOOP...
ENDLOOP) or a routine (such as a FORM routine) is too big.
The resulting jump is too great to be generated.
The jump may be no greater than 32768 for the internal load format
(corresponding to around 10,000 ABAP statements).
However, the jump in this case would have been 32819.</i>
Please help me and it is urgent...
Thanks
AshokHi Bala, I am pasting the code below from ST22. At line 1847, the dump occurs. I am put too many templates in side item loop. I knew that, but is there any way to get rid of this dump?
Thanks
Ashok
1835 EXPORTING MODE = %OPEN
1836 EXCEPTIONS OTHERS = 1.
1837 IF SY-SUBRC <> 0. RAISE ERROR. ENDIF.
1838 CALL FUNCTION 'SSFCOMP_XSF_SECTION'
1839 EXPORTING NAME = 'ITEM_LOOP'
1840 MODE = %OPEN
1841 EXCEPTIONS OTHERS = 1.
1842 IF SY-SUBRC <> 0. RAISE ERROR. ENDIF.
1843 CALL FUNCTION 'SSFCOMP_XSF_BODY'
1844 EXPORTING MODE = %OPEN
1845 EXCEPTIONS OTHERS = 1.
1846 IF SY-SUBRC <> 0. RAISE ERROR. ENDIF.
>>>>> LOOP AT I_ITEMS INTO W_ITEMS .
1848 CALL FUNCTION 'SSFCOMP_TABLE_BEGIN'
1849 EXPORTING I_DEFINITION = 'ITEM_HEADER_TEMPLATE1'
1850 EXCEPTIONS OTHERS = 1.
1851 IF SY-SUBRC <> 0. RAISE ERROR. ENDIF.
1852 CALL FUNCTION 'SSFCOMP_XSF_BODY'
1853 EXPORTING MODE = %OPEN
1854 EXCEPTIONS OTHERS = 1.
1855 IF SY-SUBRC <> 0. RAISE ERROR. ENDIF.
1856 CALL FUNCTION 'SSFCOMP_TABLE_GOTO_CELL'
1857 EXPORTING I_ROW = 001
1858 I_COL = 001
1859 EXCEPTIONS OTHERS = 1.
1860 IF SY-SUBRC <> 0. RAISE ERROR. ENDIF.
1861 REFRESH %INPUTFIELDS.
1862 FILL_TEXTAREA 'F' 0 0 ' '.
1863 PERFORM %WRITE_TEXT USING 'IH_ITEM_NO' SPACE SPACE 'P' SPACE %INPUTFIELDS %TEXTAREA.
1864 IF %WEXIT <> SPACE. EXIT. ENDIF.
1865 CALL FUNCTION 'SSFCOMP_TABLE_GOTO_CELL'
1866 EXPORTING I_ROW = 001 -
SMARTFORMS - DUMP IN CONVERTING AMOUNT TO WORDS
final internal table
BEGIN OF STRUCT_FINAL ,
WA_FINAL - GTOTAL TYPE PAYR-WAERS,
TEXT(75) TYPE C,
END OF STRUCT_FINAL.
RECORD NOW MOVED TO WA_FINAL
IMPORT PARAMETER
WA_FINAL - GTOTAL
EXPORT PARAMETER
WA_FINAL-TEXT
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
AMT_IN_NUM = WA_FINAL-GTOTAL
IMPORTING
AMT_IN_WORDS = WA_FINAL-TEXT
EXCEPTIONS
DATA_TYPE_MISMATCH = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
WHILE DRAGGING TEXT FROM FIELD LIST ON / OFF AND ON EXECUTING IT SHOWS DUMP ERROR..
KINDLY HELPhi,
You can move value to some variable ex: v_gtotal, v_text.
v_gtotal = WA_FINAL-GTOTAL.
then
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
AMT_IN_NUM = v_gtotal
IMPORTING
AMT_IN_WORDS = v_text
move v_text value to WA_FINAL-text -
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 -
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. -
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.
Maybe you are looking for
-
How do I update ME 7 to ME 8?
I am trying to update bios on MSI P67A-G45, going from ME7 to ME8, using the MSI Forum Bios Tool, and MSI 7673v51.zip bios. I created a boot flash drive as described on the forum help topic and when I boot from the USB I get three options 1 Run Memt
-
SharePoint Workflow Services Communication Error in SharePoint 2013
I am developing a few workflows using SharePoint Designer 2013. Previously my workflows can be run without any WorkflowCommunication error but after Nintex Workflow is deployed and run in the same server, there were a few times the workflows that wer
-
Hi.. I'm a fairly new user to macs...i have an ibook G4 and recently when i'm typing emails or in a word document, the little carrot/tab will keep randomly shifting around/back so my typing just looks all over the place...is this a virus? Hope someon
-
Cisco UCS C220-M3 Server doesn't boot after adding Intel I350 Quad Port NIC
Hello, We have purchased 2 Cisco UCS C220-M3 rack mounted servers (Single Processor) that have a dual port I350 LOM. We also purchased two Intel I350 Quad Port NICs to expand the available ports on each server from 2 to 6. The problem we are facing i
-
How to Synchronize cube measures with relational fact tables?
Dear all, I built a simple analysis cube on Oracle 10g R2 using AWM. The problem is when I change in the column associated with a base measure of my cube and then do cube or measure maintenance using the maintenance wizard of AWM, the measure value d