Runtime Error in Module Pool
Hi,
I am developing a module pool, i have to update the transaction through my module pool, so i am using call transaction method . first i have written the perform with recording steps .. but when i tried to activate the main program i am getting an error saying that
Include ZMPPMTR_INCL
Incorrect nesting: Before the statement "FORM", the structure
introduced by "IF" must be concluded with "ENDIF". .
but in my program there is no if ..endif statement , why i am getting this error can any one giv me a solution for this?
waiting for ur reply...
Regards
Srinath
hi,
in module pool the mail program contains top include and possibly other includes along with screen,
so save all the components of the main program and come to main program and then activate then the system recognizes all the components and activates accordingly.
try the following
use pretty printer to show the indentations.
double click on the error message it will take you to where the error occured.
try to find the if or endif or form or endform.
hope this will serve your purpose.
Thanks and regards
Ramchander Rao.Krish
Similar Messages
-
Runtime errors in module pool programming
HI all,
I have done a module pool program for invoice tracking level wise.
I am encountering a runtime error, LIST_TOO_MANY_LPROS, while execution ie., for two and more than two updations of the database.
The error analysis says that "At present, the maximum permitted number of nested screen levels is restricted to 50".
Short Text :- "No further list processing possible".
Can anyone please come out with a solution for this problem.
regards
samarendra.
Edited by: samarendra penugonda on Nov 5, 2008 5:03 AMHi
U should replace the comand CALL SCREEN with LEAVE TO SCREEN.
The command CALL SCREEN create an internal mode to link the calling screen to called screen automatically: in this way when it needs to back to calling screen it doesn't need to specify the screen number but only to use:
- LEAVE TO SCREEN 0.
or
- SET SCREEN 0. LEAVE SCREEN.
Now if you use LEAVE TO SCREEN, u need to indicate the screen when it needs to back to calling screen:
- Go from 100 to 200
LEAVE TO SCREEN 200. (Instead of CALL SCREEN 200)
- Back to 100.
LEAVE TO SCREEN 100. (Instead of LEAVE TO SCREEN 0)
Max -
Hi All,
I have created 1 module pool program with screen no. 0100. But the statement CALL SCREEN 0100 is not getting executing its showing error i.e ' statement cannot be accessable' even i have created and activated the sceen 0100.
Thanks...
kiranHi kiran,
Open you program in se38 menu bar -> GOTO -> ATTRIBUTES and check wheather it is executable program or module pool program.
if it is exeutable program then u can call the screen 0100 as ur intial screen. if not ur given type as module pool then u have to create a transaction in SE93 and give the screen name in that and prgoram name then it will display the screen which u hv created .
if you want to show the screen 0100 as ur initial sceen in module pool program without using transaction it is not possible so use either executable program and use the stament call screen 0100.
<b>reward if useful </b>
Regards,
sunil kairam. -
Runtime Error Custom Module Adapter 7.31
Hi experts.
We've developed a custom module adapter to be used in HTTP_AAE sender adapter. The deployement is successfull, the module is started but we are facing this error at runtime:
Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_IN_MODULECHAIN, null
¿Any idea what can be happening?
We are working with version 7.31 SP 10 Java only stack installation.
Thanks a lot.
Kind regards.
Christian.Hi Amit.
Thank u so much but your response.
Regarding your quesion, yes I have done it.
Regards.
Christian. -
Microsoft Visual C++ Runtime error SolidWorks Module
Hi all, when trying to open a new project to use Assembly SolidWoks causes me an error "Runtime Error". Try some techniques I found on the forum but have not had success.
Greatly appreciate the help to fix the error.
Thank you very much, and good day.
Averbakh
Attachments:
error1.png 84 KBHi Averbakh.
Can we try these steps to fix the problem?
1. Make sure that your Windows User are running as "administrator"
2. Please Unistall and reinstall LabVIEW, their drivers and the Softmotion Module (in that Order).
3. Another solution is install Microsoft Visual Studio Express for free.
Microsoft Visual Studio Express for free http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express
Regards!! -
Using FM DD_POPUP_TO_CONFIRM_CANCEL giving error in module pool program
HI,
I am using FM DD_POPUP_TO_CONFIRM_CANCEL in my module pool program.
But when the cursor comes to the FM it is throwing error like
*CALL SCREEN (not modal) in modal dialog box not allowed.*
i am using the below code.
CALL FUNCTION 'DD_POPUP_TO_CONFIRM_CANCEL'
EXPORTING
textline1 = 'UFN Preprint record created!'
textline2 = 'Proceed to Add more States ?'
title = 'Confirmation'
start_column = 25
start_row = 15
defaultpos = 'C'
IMPORTING
answer = lv_answer.
Regards
JaiHi,
Please try to use FM: 'POPUP_TO_CONFIRM'.
Cheers, -
How to throw error in Module pool
Hi Experts,
I have one probelum in Module pool Programm and i need you solution,
i have 10 input fields in module pool, and the first field is land1,
when i will give input in land1 as "US" so it should throw error "not allowed"
and all the field should be enable. should not be disable
please help me out.
thanks
VikashHi Vikas,
try this,
if LAND1 EQ 'US'.
MESSAGE 'No Data can be found!' TYPE 'S' DISPLAY LIKE 'E'.
LEAVE LIST-PROCESSING.
endif.
Regards,
Venkat. -
Hi Techies ,
In module pool am not able to validate the checkbook field that i have included in the table control screen .
i was able to pass the other field defined in the same structure where checkbox field is declared .Hi MAX and Glen ,
Thanks for ur answers .
i was not the one developing and i didnt had much touch in TBCL.
Anyways issue resolved , it was sitting outside of TBCL hence i deleted and created new and included the CHK .
now its working .
Positive and quick gestures from you both . -
Error in Module pool:Function code
Hi All,
I am using IW52 transacion for which I have activated the Screen exit and inserted table control on it.
The table control entries has to be deleted for which I have added a Delete button with function Code 'DELE'.
When trying to delete the entry the system throws an error message saying that 'The function code DELE is not available here'.However after pressing enter the entries are deleted.
I have debugged for the error and could find that the table T185F is being checked in the function module screen sequence.
Could someone please let me know how to customize the table with the function code I have added.
Thanks.
ArvindHi Neha,
The link says that we cannot enter Custom User command in the SAP Screen exit.But I think there is a way to maintian T185* table in VFBS transaction.
I tried the same and now not getting the error message that "Function code XXX is not available here".
The problem is now that the system is always keeping the OLD sy-ucomm value.That is when I press delete records I get a confirm prompt message ( custom ) and record gets deleted.After this I again press enter the pop up comes again.
I checked in de bugging and found that the sy-ucomm was not cleared.I tried to clear sy-ucomm values but the main program of the transaction again resets the Sy-ucomm.
Please let me know if you or anyone has any solution to deal with this.
Thanks.
Arvind
Edited by: Arvind Soni on Jan 19, 2009 11:34 AM
Edited by: Arvind Soni on Jan 19, 2009 11:34 AM -
System restart error in Module pool
Hi Experts,
I have created one modulepool Prgram with Table control it is working fine for Display, whenever i want to try to Save i am getting system error System Restarted;Session terminated. i am attatching the screen shot of that..Hi Vishwanath,
You can use the following coding to check with your coding part.This may help you to clear your problem.
module USER_COMMAND_0100 input.
case sy-ucomm.
when 'SAVE'.
modify ztable from ztable.
if sy-subrc = 0.
message 'record updated succesfully' type 'S'.
endif.
Endcase.
endmodule. -
Error Invalid field format (screen error) in module pool
Hi
experts i am doing module in whichi had many check boxes on screen and each check box has function code means i want to do some thing else . but as i click the first or any other check box i get a error message
INVALID FIELD FORMAT (SCREEN ERROR).
Can anyody help me with this asnwers will be rewarded points .
regardsDear Farukh,
can you please let me know how have you declared you check boxes.
how did you handle the click or the function codes in the user command module in your PAI.
The declaration of your fucntion codes can be done when you create your screen fields and then they need to be handled in the user command module i.e what you want to do when suppose you click on that particular check box.
Thanks
venugopal -
hii frnds
well i am geting a dump when i am scrolling down the output of my program
the dump message is
A conversion error occurred while the program was trying to
display data on the screen.
The ABAP output field and the screen field may not have the
same format.
Some field types require more characters on the screen than
in the ABAP program. For example, a date field on a screen needs
two characters more than it would in the program. When attempting to
display the date on the screen, an error will occur that triggers the
error message.
Screen name.............. "SAPMZCFORM"
Screen number............ 9001
Screen field............. "WA_ZCFORM-NETWR"
Error text............... "FX015: Sign lost."
can anybody help me wid this
thanking u
rohitHi,
curiously enough, exactly today I encountered the same problem (short dump) while trying to show a negative value in the INPUT/OUTPUT screen field of type DEC.
Thanks, Naimesh, your proposal to put 'V' in the place of the last "_" in the format options of the filed helps me to avoid dump.
Thanks,
Ivaylo -
Error in Module pool/Screen while passing value as Decimal value
Hi Experts,
We have designed one customized screen with CHAR as input option to pass on Tax Percentage. We have defined as CHAR in screen logic as well as program also.
Where as while we enter value with decimals like 2.5 or 5.4 its throwing a error message "Entry is too long for the field". But when I pass on Integer values like 2 or 4 then its working fine.
Can you pls suggest on this how to rectify this error.
Thanks in advance.
VJHi,
Increase the length of the character field in the screen as well as in the program declaration.
Example;
DATA gv_tax(10) type C.
Regards
Karthik D -
Error in editing table control in module pool
Hello Abap experts,
I am working on module pool.
When I am editing row in table control if table control has only one row to edit(By clicking edit push button) then I am getting error as "Dynpro_Field_Conversion error" in module pool.
Error is showing in PBO 'module fill table control'.
But if there are more than 1 rows in table control it doesn't give any error and run successfully.
So please help me on that.
Thanks!
Abhay.
Edited by: abhayjoshi01 on Sep 29, 2010 12:12 PMHi,
Can you explain in detail what field(is it quantity, currency etc) you are trying enter and what data.
If you are getting any runtime error can you provide the runtime details.
Regards,
Kranthi -
Runtime error while trying to convert script to pdf and sending in mail
Hi all,
I m trying to convert the standard script into pdf using convert_otf fm and trying to send it as an attachment using 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
I m using fm 'SSF_FUNCTION_MODULE_NAME' to get the function module name.
But i m getting a runtime error while executing the program..
Can anyone help me in this issue please.
Thanks in advance,
AshokHi Ramesh,
I m getting an runtime error function module not found. I ll paste the code here.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = lf_formname
IMPORTING
fm_name = lf_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc = 0.
error handling ent_retco = sy-subrc.
perform protocol_update_i.
ENDIF.
ls_control_param-getotf = 'X'.
DATA: l_document_output_info TYPE ssfcrespd,
l_job_output_info TYPE ssfcrescl,
l_job_output_options TYPE ssfcresop.
check ent_retco eq 0.
CALL FUNCTION 'lf_fm_name'
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = ' '
zxekko = l_doc-xekko
zxpekko = l_doc-xpekko
zxaend = l_doc-xaend
IMPORTING
document_output_info = l_document_output_info
job_output_info = l_job_output_info
job_output_options = l_job_output_options
TABLES
l_xekpo = l_doc-xekpo[]
l_xekpa = l_doc-xekpa[]
l_xpekpo = l_doc-xpekpo[]
l_xeket = l_doc-xeket[]
l_xtkomv = l_doc-xtkomv[]
l_xekkn = l_doc-xekkn[]
l_xekek = l_doc-xekek[]
l_xaend = l_doc-xaend[]
l_xkomk = l_xkomk
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = v_len_in
TABLES
otf = l_job_output_info-otfdata
lines = tb_pdf
EXCEPTIONS
err_max_linewidth = 0
err_format = 1
err_conv_not_possible = 2
OTHERS = 3.
Maybe you are looking for
-
IPod and iTunes not syncing after restoring library on new computer
Recently, my computer crashed. Lost everything. I was finally able to restore my music on my laptop to iTunes. However, now when I upload new music from the store, it saves it on my library, but will not sync to my iPod, even when I manually try to s
-
Problem with Windows XP after a driver instalation
Hi. I have a Lenovo SL400 with Windows XP. So, today I installed a few drivers from the Lenovo website because the volume and Lenovo Care keys and the bluetooth were not working since I changed to XP. After the installing process, I restarted my lapt
-
Two columns in the same table that are foreign keys to the same master key
i want to create a table let say X, which have two columns that are foreign key that reference the same column in the master table, so does this count as bad database design.
-
Hi i lost the Basic Module in Lightroom develop how do i get it back
hi i lost the basic module in lightroom develop how do i get it back thx joe
-
There is no sound when I record or receive videos