Class Inside MovieClip Giving Runtime Error
Hey guys.
I'm trying to place an instance of a movieclip (instance
name: tehMovieClip) from the library within another movieclip
(instance name: parentMovieClip) on the stage. tehMovieClip, the
movieclip going inside another movieclip, belongs to a class called
CollisonDetection (linkage properties, class:CollisonDetection,
Base Class: flash.display.MovieClip). When I put tehMovieClip
inside parentMovieClip, I get this runtime error:
TypeError: Error #1009: Cannot access a property or method of
a null object reference.
If I just place tehMovieClip on the stage by itself, it works
fine but I need it to be inside parentMovieClip. So what should I
do?
Just for your information, CollisonDetection extends the
project's DocumentClass which extends MovieClip.
Thanks in advanced!
Thanks for that buddy.
quote:
Originally posted by:
SwapnilVJ
Is the movie clip your are placing linked from library to a
class?
The movieclip in question (the one I am placing inside
another movieclip) is linked to a class.
quote:
Originally posted by:
SwapnilVJ
If yes. Is the Class linked to the movieclip have a
Constructor method with parameters?
Well this is my current constructor:
public function CollisonDetection() {
playerRefFromCollisonDetection.x = 600;
Now that you've said that, I deleted that middle line and it
seemed to work
quote:
Originally posted by:
SwapnilVJ
If Yes. you found the problem.
And solution will be to update the class' constructor to have
no parameters.
Thanks buddy, but what if I need to have statements inside
the constructor such as triggering methods/functions inside the
class?
Similar Messages
-
hi,
i HAD MADE A REPORET IN which i havce to display the bolck stock ,it is giving runtime error as i had added 1 more table,plzz help me out as it is really urgent to me. here is d code:-
*& Report ZDEMO_SMARTFORM_COPY
REPORT ZDEMO_SMARTFORM_COPY.
TABLES: MCHB,MARA,T001W.
DATA: BEGIN OF ITAB OCCURS 0,
ITEMID LIKE MARD-MATNR,
SPEME LIKE MARD-SPEME,
WERKS LIKE MARD-SPEME,
LGORT LIKE MARD-LGORT,
NTGEW LIKE MARA-NTGEW,
MEINS LIKE MARA-MEINS,
GEWEI LIKE MARA-GEWEI,
CHARG LIKE MCHB-CHARG,
WTKG LIKE MARA-NTGEW,
STOCK TYPE P LENGTH 10 DECIMALS 3,
DESC LIKE MAKT-MAKTX,
TOTWT LIKE MARD-SPEME,
WT TYPE P LENGTH 12 DECIMALS 3,
END OF ITAB.
ITEMID LIKE MCHB-MATNR,
CSPEM LIKE MCHB-CSPEM,
CHARG LIKE MCHB-CHARG,
WERKS LIKE MCHB-WERKS,
*PARAMETERS : PLANT LIKE MCHB-WERKS OBLIGATORY.
PARAMETERS : PLANT LIKE MARD-WERKS OBLIGATORY.
DATA : DESC LIKE MAKT-MAKTX.
SELECT AMATNR ASPEME AWERKS ALGORT BNTGEW BMEINS BGEWEI CCHARG FROM MARD AS A
INNER JOIN MARA AS B ON BMATNR = AMATNR
INNER JOIN MCHB AS C ON CMATNR = AMATNR
INTO TABLE ITAB WHERE AWERKS = PLANT AND ASPEME > 0.
SELECT AMATNR ACSPEM ACHARG AWERKS BNTGEW BMEINS B~GEWEI FROM MCHB AS A
INNER JOIN MARA AS B ON BMATNR = AMATNR
INTO TABLE ITAB WHERE AWERKS = PLANT AND ACSPEM > 0.
WRITE: / 'ITEMID DESCRIPTION STOCK.QTY BATCH NO. NETWT TOTAL.WEIGHT '.
ULINE.
LOOP AT ITAB.
IF ITAB-NTGEW <> 0 .
CALL FUNCTION 'ZGET_ITEM_WEIGHT'
EXPORTING
P_BUID = ITAB-WERKS
P_ITEMID = ITAB-ITEMID
P_QTY = ITAB-NTGEW
P_UOM = ITAB-GEWEI
P_UOM1 = 'KG'
IMPORTING
P_RETVAL = ITAB-WTKG.
ENDIF.
CONVERTING ITEM QTY IN KG
ITAB-WT = ITAB-STOCK.
IF ITAB-MEINS = 'G'.
ITAB-WT = ITAB-STOCK / 1000000.
ELSEIF ITAB-MEINS = 'KG'.
ITAB-WT = ITAB-STOCK / 1000.
ELSEIF ITAB-MEINS = 'TO'.
ITAB-WT = ITAB-STOCK * ITAB-WTKG / 1000.
ENDIF.
ITAB-TOTWT = ITAB-WTKG * ITAB-CSPEM.
ITAB-TOTWT = ITAB-WTKG * ITAB-SPEME.
SELECT SINGLE MAKTX FROM MAKT INTO DESC WHERE MATNR = ITAB-ITEMID.
WRITE:/ ITAB-ITEMID,15 DESC,50 ITAB-SPEME,ITAB-CHARG,ITAB-WTKG,ITAB-TOTWT.
MODIFY ITAB.
ENDLOOP.HI,
i had tried to ftech data from mard and it isgiving runtime error. dis is the code:-
TABLES: MCHB,MARA,MARD.
DATA: BEGIN OF ITAB OCCURS 0,
MATNR LIKE MARD-MATNR,
SPEME LIKE MARD-SPEME,
WERKS LIKE MARD-SPEME,
LGORT LIKE MARD-LGORT,
END OF ITAB.
SELECT MATNR SPEME WERKS LGORT FROM MARD INTO CORRESPONDING FIELDS OF TABLE ITAB.
LOOP AT ITAB.
WRITE:/ ITAB-MATNR,ITAB-SPEME,ITAB-WERKS,ITAB-LGORT.
ENDLOOP. -
Hi
I have invoked jvm using C++. I called the main method of my application and it is running fine.
When I try to invoke another method of the same class that is not static by GetMethodID(..) and then CallVoidMethod(..), the ID is coming out fine but the call to the method is giving a runtime error.
When I make this method static in java, it runs fine.
Is it a bug in JNI that we cannot call nonstatic void methods?I have declared the jclass cls object in global space in C++ file. I use the FindClass(..) function to find it. Everything is turning out to be fine till I call the main() function of the java class.
Now when I get the Id using the GetMethod(..) function of JNI, it comes out fine and gives no errors. It is only when I call the CallVoidMethod(...), it gives me a runtime error. I have tried to use this method in java without C++ and it gives no error.
Any idea .. what may be wrong? -
F-44 giving runtime error as BCD_FIELD_OVERFLOW
Dear All,
I have checked end user system regarding the runtime error as Runtime Errors BCD_FIELD_OVERFLOW
Exception CX_SY_CONVERSION_OVERFLOW
Date and Time 04.04.2011 11:44:22
Actually user i has tried F-44 and mentioned Account and Additional selectios as None in F-44.
finally user got ABAP runtime error as below .
Runtime Errors BCD_FIELD_OVERFLOW
Exception CX_SY_CONVERSION_OVERFLOW
Date and Time 04.04.2011 11:44:22
Short text
A calculation field is defined too small.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPMF05B" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_CONVERSION_OVERFLOW', was not
caught in
procedure "POSTAB_REBZG_COLLECT" "(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:
A value generated during processing is too large for the
field "<POS>-PPIDX" of the program "SAPMF05B".How to correct the error
It may be possible to divide the current process into
smaller units, so that only smaller values occur.
Otherwise, as a long-term solution, define the field "<POS>-PPIDX"
larger.
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:
"BCD_FIELD_OVERFLOW" "CX_SY_CONVERSION_OVERFLOW"
"SAPMF05B" or "MF05BF01_POSTAB_REBZG_COLLECT"
"POSTAB_REBZG_COLLECT"
System environment
SAP-Release 700
Application server... "PRDCIXI"
Network address...... "10.54.145.32"
Operating system..... "AIX"
Release.............. "5.3"
Hardware type........ "000184CAD400"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 4
Shortdump setting.... "full"
Database server... "PRODORADB"
Database type..... "ORACLE"
Database name..... "IRP"
Database user ID.. "SAPSR3"
Client.............. 320
User................ "SA_A054"
Language key........ "E"
Transaction......... "FB1K "
Transactions ID..... "4D9953D749560108E10080000A369120"
Program............. "SAPMF05B"
Screen.............. "SAPMF05A 0131"
Screen line......... 72 -
HI,
Portal Runtime Error
An exception occurred while processing your request
Exception id: 12:09_09/04/08_0074_336182350
See the details for the exception ID in the log file.
This is the error , I am getting
When we are publishing from WAD to portal , it is giving the Portal Runtime Error.
If we create the same one step by step manualy it is giving the result.
Difference I found is in both the iviews is : System - BI (alias of logical system in the landscape)
Manually created Iview , System : Sap_LocaSystem
For BI system all the connection tests it is giving successful results .
And in RSPOR_SETUP program , result I found
Status 9 - No check with Portal SID <PORTAL_SID>
Status 10 - No check with Portal SID <PORTAL_SID>
Is this 9, 10 properties should be corrected ?
Thanks and Regards,
SriniHi,
The trace file is :
com.sap.security.core.persistence.imp.PrincipalDatabag Thu Apr 10 13:35:00 AST 2008
UniqueID: UACC.PRIVATE_DATASOURCE.un:index_service
Type: UACC
Home data source: PRIVATE_DATASOURCE
Private id part: un:index_service
Principal exists.
"com.sap.security.core.usermanagement"|->"SecurityPolicy" (no time limit)=
"com.sap.security.core.usermanagement"|->"lastsuccessfulpasswordcheck" (no time limit)=
"com.sap.security.core.usermanagement"|->"validfrom" (no time limit)=
"com.sap.security.core.usermanagement"|->"lastsuccessfullogon" (no time limit)=
"com.sap.security.core.usermanagement"|->"validto" (no time limit)=
"com.sap.security.core.usermanagement"|->"ispassworddisabled" (no time limit)=
"com.sap.security.core.usermanagement"|->"j_user" (no time limit)="index_service"
"com.sap.security.core.usermanagement"|->"lastpasswordchange" (no time limit)=
"com.sap.security.core.usermanagement"|->"userid" (no time limit)="USER.PRIVATE_DATASOURCE.un:index_service"
"com.sap.security.core.usermanagement"|->"previoussuccessfullogon" (no time limit)=
"com.sap.security.core.usermanagement"|->"lockreason" (no time limit)=
"com.sap.security.core.usermanagement"|->"lastfailedlogon" (no time limit)=
"com.sap.security.core.usermanagement"|->"successfullogoncount" (no time limit)=
"com.sap.security.core.usermanagement"|->"passwordchangerequired" (no time limit)=
"com.sap.security.core.usermanagement"|->"failedlogonattempts" (no time limit)=
"com.sap.security.core.usermanagement"|->"islocked" (no time limit)=
"$serviceUser$"|->"SERVICEUSER_ATTRIBUTE" (no time limit)="IS_SERVICEUSER"
#1.5 #00144F94DC4800A100000DF600002DBF00044A825E981C1D#1207823700073#com.sap.security.core.imp#sap.com/irj#com.sap.security.core.imp.[cf=com.sap.security.core.imp.AbstractUserAccount][md=constructor][cl=30114]#J2EE_GST_EPD#0####b4e72140030c11ddada100144f94dc48#Thread[ThreadPool.Worker5,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Path##Plain###Exiting method#
#1.5 #00144F94DC4800A100000DF700002DBF00044A825E983307#1207823700074#com.sap.security.core.imp#sap.com/irj#com.sap.security.core.imp.[cf=com.sap.security.core.imp.AbstractPrincipal][md=getPrincipalDatabagValues][cl=30114]#J2EE_GST_EPD#0####b4e72140030c11ddada100144f94dc48#Thread[ThreadPool.Worker5,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Debug##Java###null
[EXCEPTION]
#1#java.lang.Exception: LazyFetch: "UACC.PRIVATE_DATASOURCE.un:index_service"-->"com.sap.security.core.usermanagement","displayname".
at com.sap.security.core.imp.AbstractPrincipal.getPrincipalDatabagValues(AbstractPrincipal.java:1729)
at com.sap.security.core.imp.AbstractPrincipal.getAttributeValueString(AbstractPrincipal.java:1782)
at com.sap.security.core.imp.AbstractUserAccount.getDisplayName(AbstractUserAccount.java:2238)
at com.sap.security.core.imp.UserAccountWrapper.getDisplayName(UserAccountWrapper.java:509)
at com.sapportals.portal.security.usermanagement.User50_Impl.getDisplayId(User50_Impl.java:222)
at sun.reflect.GeneratedMethodAccessor600.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sapportals.portal.security.usermanagement.WrappedUserInvocationHandler.callOtherMethod(ServiceUserFactoryImpl.java:172)
at com.sapportals.portal.security.usermanagement.WrappedUserInvocationHandler.invoke(ServiceUserFactoryImpl.java:147)
at $Proxy10.getDisplayId(Unknown Source)
at com.sapportals.config.fwk.IConfigClientContext.<init>(IConfigClientContext.java:84)
at com.sapportals.config.fwk.IConfigClientContext.createContext(IConfigClientContext.java:132)
at com.sapportals.config.fwk.IConfigClientContext.createContext(IConfigClientContext.java:118)
at com.sap.workflow.cfg.AbstractConfiguration.<init>(AbstractConfiguration.java:279)
at com.sap.workflow.cfg.SchedulerConfiguration.<init>(SchedulerConfiguration.java:22)
at com.sap.workflow.es.scheduler.TaskSchedulerDeadline.run(TaskSchedulerDeadline.java:63)
at com.sapportals.wcm.service.scheduler.SchedulerEntry.run(SchedulerEntry.java:174)
at com.sapportals.wcm.service.scheduler.crt.PoolWorker.run(PoolWorker.java:108)
at java.lang.Thread.run(Thread.java:534)
#1.5 #00144F94DC4800A100000DF800002DBF00044A825E983D07#1207823700081#com.sap.security.core.imp#sap.com/irj#com.sap.security.core.imp.[cf=com.sap.security.core.locking.imp.LockManager][md=escapePrincipalID][cl=30114]#J2EE_GST_EPD#0####b4e72140030c11ddada100144f94dc48#Thread[ThreadPool.Worker5,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Debug##Plain###Mapped principalid for locking: "UACC.PRIVATE_DATASOURCE.un:index_service"-->"000_bTtZDFaWpfKiQ131rUhvSA=="#
#1.5 #00144F94DC4800A100000DF900002DBF00044A825E985131#1207823700087#com.sap.security.core.imp#sap.com/irj#com.sap.security.core.imp.[cf=com.sap.security.core.locking.imp.LockManager][md=escapePrincipalID][cl=30114]#J2EE_GST_EPD#0####b4e72140030c11ddada100144f94dc48#Thread[ThreadPool.Worker5,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Debug##Plain###Mapped principalid for locking: "UACC.PRIVATE_DATASOURCE.un:index_service"-->"000_bTtZDFaWpfKiQ131rUhvSA=="#
#1.5 #00144F94DC4800A100000DFA00002DBF00044A825E985A12#1207823700089#com.sap.security.core.imp#sap.com/irj#com.sap.security.core.imp.[cf=com.sap.security.core.locking.imp.LockManager][md=escapePrincipalID][cl=30114]#J2EE_GST_EPD#0####b4e72140030c11ddada100144f94dc48#Thread[ThreadPool.Worker5,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Debug##Plain###Mapped principalid for locking: "USER.PRIVATE_DATASOURCE.un:index_service"-->"000_zCZ7K+TFQWRbSAklTiJDwQ=="#
#1.5 #00144F94DC4800A100000DFB00002DBF00044A825E98710D#1207823700095#com.sap.security.core.imp#sap.com/irj#com.sap.security.core.imp.[cf=com.sap.security.core.locking.imp.LockManager][md=escapePrincipalID][cl=30114]#J2EE_GST_EPD#0####b4e72140030c11ddada100144f94dc48#Thread[ThreadPool.Worker5,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Debug##Plain###Mapped principalid for locking: "USER.PRIVATE_DATASOURCE.un:index_service"-->"000_zCZ7K+TFQWRbSAklTiJDwQ=="#
#1.5 #00144F94DC4800A100000DFC00002DBF00044A825E988C3D#1207823700097#com.sap.security.core.imp#sap.com/irj#com.sap.security.core.imp.[cf=com.sap.security.core.imp.AbstractPrincipal][md=getPrincipalDatabagValues][cl=30114]#J2EE_GST_EPD#0####b4e72140030c11ddada100144f94dc48#Thread[ThreadPool.Worker5,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Debug##Java###null
[EXCEPTION]
#1#java.lang.Exception: LazyFetch: "USER.PRIVATE_DATASOURCE.un:index_service"-->"com.sap.security.core.usermanagement","description".
at com.sap.security.core.imp.AbstractPrincipal.getPrincipalDatabagValues(AbstractPrincipal.java:1729)
at com.sap.security.core.imp.AbstractPrincipal.getAttributeValueString(AbstractPrincipal.java:1782)
at com.sap.security.core.imp.AbstractPrincipal.getDescription(AbstractPrincipal.java:667)
at com.sap.security.core.imp.AbstractPrincipal.getAttribute(AbstractPrincipal.java:309)
at com.sap.security.core.imp.User.getAttribute(User.java:1006)
at com.sap.security.core.imp.UserWrapper.getAttribute(UserWrapper.java:321)
at com.sapportals.portal.security.usermanagement.User50_Impl.getValuesForKey(User50_Impl.java:760)
at com.sapportals.portal.security.usermanagement.User50_Impl.getDescription(User50_Impl.java:474)
at sun.reflect.GeneratedMethodAccessor601.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sapportals.portal.security.usermanagement.WrappedUserInvocationHandler.callOtherMethod(ServiceUserFactoryImpl.java:172)
at com.sapportals.portal.security.usermanagement.WrappedUserInvocationHandler.invoke(ServiceUserFactoryImpl.java:147)
at $Proxy10.getDescription(Unknown Source)
at com.sapportals.config.fwk.IConfigClientContext.<init>(IConfigClientContext.java:87)
at com.sapportals.config.fwk.IConfigClientContext.createContext(IConfigClientContext.java:132)
at com.sapportals.config.fwk.IConfigClientContext.createContext(IConfigClientContext.java:118)
at com.sap.workflow.cfg.AbstractConfiguration.<init>(AbstractConfiguration.java:279)
at com.sap.workflow.cfg.SchedulerConfiguration.<init>(SchedulerConfiguration.java:22)
at com.sap.workflow.es.scheduler.TaskSchedulerDeadline.run(TaskSchedulerDeadline.java:63)
at com.sapportals.wcm.service.scheduler.SchedulerEntry.run(SchedulerEntry.java:174)
at com.sapportals.wcm.service.scheduler.crt.PoolWorker.run(PoolWorker.java:108)
at java.lang.Thread.run(Thread.java:534)
any suggestions ????? -
Dear Experts,
We are Facing a problem with BS_MAT_OVP_03, We have done some enhancements and it is working very much fine in development and when we move it to Quality we are getting runtime errors, they are not with the enhancements but with in standard code itself.
"ASSERTION_FAILED" " ""CL_USMD_ACC_FLD_PROP_DATA=====CP" or "CL_USMD_ACC_FLD_PROP_DATA=====CM009" "VALIDATE_RETURNED_FLD_PROP"
we are getting above runtime error, Please let us know the reason for issue, If some one have come across.
Regards
SukumarHi Sukumar,
It's because of few generated structures could be in "Inactive" mode for your data model when you move to quality system.
Refer each generated structure from SE11 and activate them individually..this can be a post processing activity everytime you move data model structures from one ECC to other ECC.
Thanks
Praveen -
Report MB5L giving runtime error TSV_TNEW_PAGE_ALLOC_FAILED
Hi,
While running the Report MB5L we are getting the runtime
error "TSV_TNEW_PAGE_ALLOC_FAILED"
We tried to schedule this report at non-peak hours but it again got
terminated with same error.
We are using 12GB of RAM.
ztta/roll_area 6500000
ztta/roll_extension 4000317440
abap/heap_area_total 3001024512
abap/heap_area_dia: 5000683008
abap/heap_area_nondia: 2000000000
em/initial_size_MB: 8192
Please find the attached screenshot of ST22 dump analysis.
Regards,
Prashant
Edited by: Prashant Shukla on Feb 25, 2009 11:10 AMHi Juan,
Pls find the details below-:
Runtime Errors TSV_TNEW_PAGE_ALLOC_FAILED
Date and Time 24.02.2009 23:31:32
Short text
No more storage space available for extending an internal table.
What happened?
You attempted to extend an internal table, but the required space was
not available.
If the error persists, ask your system administrator to check the
following profile parameters:
Error analysis
The internal table "\FUNCTION=MBEW_EXTEND\DATA=SEARCH_MBEWH_TAB[]" could not be
further extended. To enable
error handling, the table had to be delete before this log was written.
As a result, the table is displayed further down or, if you branch to
the ABAP Debugger, with 0 rows.
At the time of the termination, the following data was determined for
the relevant internal table:
Memory location: "Session memory"
Row width: 372
Number of rows: 354608
Allocated rows: 354608
Newly requested rows: 32 (in 1 blocks)
How to correct the error
The amount of storage space (in bytes) filled at termination time was:
Roll area...................... 6203136
Extended memory (EM)........... 4001304840
Assigned memory (HEAP)......... 2000059568
Short area..................... " "
Paging area.................... 32768
Maximum address space.......... 18446697160833538863
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:
"TSV_TNEW_PAGE_ALLOC_FAILED" " "
"SAPLMG27" or "LMG27F02"
"SEARCH_EXIT"
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... "ecprdciclu"
Network address...... "172.25.1.34"
Operating system..... "Linux"
Release.............. "2.6.18-53.el5"
Hardware type........ "x86_64"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 19
Shortdump setting.... "full"
Database server... "isrecprdb2"
Database type..... "ORACLE"
Database name..... "RPD"
Database user ID.. "SAPSR3"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Nov 18 2008 20:45:39"
create on........ "Linux GNU SLES-9 x86_64 cc3.3.3"
Database version. "OCI_102 (10.2.0.2.0) "
Patch level. 185
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
SAP database version. 700
Operating system..... "Linux 2.6"
Memory consumption
Roll.... 6203136
EM...... 4001304840
Heap.... 2000059568
Page.... 32768
MM Used. 5803144952
MM Free. 199241240
User and Transaction
Client.............. 610
User................ "SANCHIT"
Language key........ "E"
Transaction......... " "
Transactions ID..... "49A289F286FA2313E1000000AC190122"
Program............. "SAPLMG27"
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where terminated
Termination occurred in the ABAP program "SAPLMG27" - in "SEARCH_EXIT".
The main program was "RM07MBST ".
In the source code you have the termination point in line 558
of the (Include) program "LMG27F02".
The program "SAPLMG27" was started as a background job.
Job Name....... "RM07MBST"
Regards,
Prashant -
Hi Experts,
I am using KCLJ to transfer file data into SAP system through BDT Direct input. I am doing this in Incentive Commission Management system.
I created a sender structure for Commission contract bundle and used this in KCLJ transaction.
But when I am executing the KCLJ transaction I am getting a Runtime error. The Error says that the program could not execute because one of the statements could not be executed.
The Sender structure program is automatically getting generated when i execute the transaction KCLJ with corresponding sender structure. So the program which got generated for this contains syntax errors.
Have you ever experienced any such issues?
Please let me know how to solve this issue?
Thanks & Regards,
Sreejith A PHi ,
Can you give me more details about the syntax error.
Also let me know which release you are in?
Regards,
Singa -
Indexing instances of specific class inside MovieClip authored with Flash Pro
Hi there.
I'm writing a class that extends MovieClip and that is linked to the MovieClip Object authored via Flash Pro during development (Father object).
The hierarchy of this MovieClip Object is hidden from me - everything I know is that it may contain instances of other Class that was authored during development and extends MovieClip in the same manner (Son objects).
I have no information regarding names or hierarchical positions of these Son objects inside Father object.
Now the question is: how to get them listed?
So approach I've taken was to implement current events:
public class Son extends MovieClip
public static const INITIALIZED : String = "son_initialized";
public function Son ()
this.dispatchEvent (new Event (INITIALIZED));
public class Father extends MovieClip
public var son : Vector<Son>;
public function Father ()
son = new Vector<Son> ();
this.addEventListener (Son.INITIALIZED, this.onSonInitialized);
public function onSonInitialized (event : Event)
this.son.push (event.target);
Well, this code compiles with no errors whatsoever, but it turns out that onSonInitialized gets never called. I assume that's because children constructors are called ahead of their parent one.
Is there any way to get them listed?
Thanks in advance.kglad,
I'm trying to get an array of references to Son objects (Son extends MovieClip), randomly located deep inside display list hierarchy of Father object (extends MovieClip too).
The Father movieclip is authorized in Flash Professional and is a black box for me - I can only manipulate Father.as and Son.as.
Since I can't know exactly their pathes and names (i.e. father.child1.child5OfChild1.son32 for example), I decided to make them self-aware, dispatching event during construction time, messaging everybody that this instance of Son exists:
public function Son ()
this.dispatchEvent (new Event (INITIALIZED));
And then I attached a listener inside Father's constructor:
public function Father ()
this.addEventListener (Son.INITIALIZED, this.onSonInitialized);
The idea was that this event listener should have been catching all the Sons, located inside Father. But it doesn't work that way - Father's constructor seems to be called after all constructors of its children, so this event listener catches nothing.
I've worked this around by straightforward display list traversing - it works, but doesn't look so elegant. May be there is still a way to make it work through events? -
Invoice Adobe form giving runtime error
Hi All,
I have configured standard adobe form for invoice in nace. Print prog - SD_BIL_PRINT01 and adobe form - SD_INVOICE_FORM01. When i run the billing document, i am getting error message - Type conflict when calling the function module (Call to function module /1BCDWB/SMxxxxxxxxx is incorrect). I am using the standard program n form, then why this error.
Thanks,
RajuHi,
In the Print prog - SD_BIL_PRINT01, there is
CALL FUNCTION lv_fm_name
EXPORTING
/1bcdwb/docparams = ls_docparams
bil_prt_com = gs_bil_print.
GS_BIL_PRINT is of type BIL_S_PRT_INTERFACE.
In the adobe form SD_INVOICE_FORM01, I think the interface used is SLS_INTERFACE. In the interface SLS_INTERFACE, the
import parameter SLS_PRT_COM is of type SLS_S_PRT_INTERFACE.
Since the export parameter of the print program and the import parameter of the form interface are of different data types, the error is coming.
Change the interface of the form to BIL_INTERFACE. In this interface, the inport parameter BIL_PRT_COM is of type BIL_S_PRT_INTERFACE.
Regards,
Vinod -
BAPI_PO_GETDETAIL1 Giving Runtime Error
Hello
I am getting the following error on calling a BAPI BAPI_PO_GETDETAIL1 from smartform layout set.
Please could you let me know if something can be cone about it.
Error analysis
A RAISE statement in the program "CL_HANDLE_MANAGER_MM==========CP" raised the
exception
condition "FAILURE".
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.
Regards
Atush RohanREPORT zbapi_po_items .
TABLES: ekpo.
DATA: BEGIN OF po_details.
INCLUDE STRUCTURE bapiekpo.
DATA: END OF po_details.
DATA: it_po_details LIKE STANDARD TABLE OF po_details.
PARAMETERS: p_ebeln LIKE ekpo-ebeln.
*SELECT-OPTIONS: p_ebeln FOR ekpo-ebeln.
CALL FUNCTION 'BAPI_PO_GETDETAIL'
EXPORTING
purchaseorder = p_ebeln
TABLES
po_items = it_po_details.
START-OF-SELECTION.
LOOP AT it_po_details INTO po_details.
WRITE:/01 po_details-po_number COLOR COL_HEADING,
20 po_details-po_item,
50 po_details-material,
70 po_details-short_text.
CLEAR po_details.
ENDLOOP.
Edited by: Krupaji on Feb 25, 2010 12:16 PM -
Getting runtime error while running HTTPS client
hi
i have return https client in java,which does not give error while compiling but its giving runtime error as shown below.
java.security.NoSuchAlgorithmException: Algorithm RSA not available
at javax.net.ssl.SunJSSE_b.a(DashoA6275)
at javax.net.ssl.KeyManagerFactory.getInstance(DashoA6275)
at SSLSocketClientWithClientAuth.main(SSLSocketClientWithClientAuth.java
:65)
java.lang.NullPointerException
at SSLSocketClientWithClientAuth.main(SSLSocketClientWithClientAuth.java
:78)
and this is the code
import java.net.*;
import java.io.*;
import javax.net.ssl.*;
//import javax.security.cert.X509Certificate;
import java.security.KeyStore;
import java.security.*;
* This example shows how to set up a key manager to do client
* authentication if required by server.
* This program assumes that the client is not inside a firewall.
* The application can be modified to connect to a server outside
* the firewall by following SSLSocketClientWithTunneling.java.
public class SSLSocketClientWithClientAuth {
public static void main(String[] args) throws Exception {
//String host = null;
//int port = -1;
String host="10.11.25.251";
int port = 443;
SSLSocket socket;
String path = null;
for (int i = 0; i < args.length; i++)
System.out.println(args);
/*if (args.length < 3) {
System.out.println(
"USAGE: java SSLSocketClientWithClientAuth " +
"host port requestedfilepath");
System.exit(-1);
/*try {
host = args[0];
port = Integer.parseInt(args[1]);
//path = args[2];
} catch (IllegalArgumentException e) {
System.out.println("USAGE: java SSLSocketClientWithClientAuth " +
"host port requestedfilepath");
System.exit(-1);
try {
* Set up a key manager for client authentication
* if asked by the server. Use the implementation's
* default TrustStore and secureRandom routines.
SSLSocketFactory factory = null;
try {
SSLContext ctx;
KeyManagerFactory kmf;
KeyStore ks;
char[] keystorepass = "123456".toCharArray();
char[] keypassword ="13051983".toCharArray();
ctx = SSLContext.getInstance("TLS");
//kmf = KeyManagerFactory.getInstance("RSA");
ks = KeyStore.getInstance("JKS");
ks.load(new FileInputStream("testkeys"), keystorepass);
kmf = KeyManagerFactory.getInstance("RSA");
kmf.init(ks, keypassword);
ctx.init(kmf.getKeyManagers(), null, null);
factory = ctx.getSocketFactory();
} catch (Exception e) {
//throw new IOException(e.getMessage());
e.printStackTrace();
socket = (SSLSocket)factory.createSocket(host, port);
socket.startHandshake();
* send http request
* See SSLSocketClient.java for more information about why
* there is a forced handshake here when using PrintWriters.
PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(socket.getOutputStream())));
// out.println("GET " + path + " HTTP/1.1");
out.println();
out.flush();
* Make sure there were no surprises
if (out.checkError())
System.out.println(
"SSLSocketClient: java.io.PrintWriter error");
/* read response */
BufferedReader in = new BufferedReader(
new InputStreamReader(
socket.getInputStream()));
String inputLine;
while ((inputLine = in.readLine()) != null)
System.out.println(inputLine);
in.close();
out.close();
socket.close();
} catch (Exception e) {
e.printStackTrace();
please help me out .
regards,
sunilHi
Please do a fetch from the database and then change the information in DRM console for the CSS parameter. This error I received only due to the CSS details in DRM 11.1.2.
Thanks
Rupak
Mantra to Win | WinMantras.com | http://hyperion.winmantras.com -
Runtime Error in ECC6 - for t-code PPOCE
HI Gurus!
at my client site , we have upgraded 4.7 to ECC6. Now functional consultants are testing the system.When HR consultant working on PPOCE t-code ,the patch no of SAP HR - 0007. its giving runtime error.
Runtime Errors CREATE_DATA_UNKNOWN_TYPE
Except. CX_SY_CREATE_DATA_ERROR Date and Time 19.08.2008 14:42:44
Short text
CREATE DATA: The specified type "HRP1680" is no valid data type.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLRHDB" 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_CREATE_DATA_ERROR', was not caught in
procedure "FILL_I777D" "(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 dynamically specified type "HRP1680" at CREATE DATA is no valid data type.
The type is either unknown or an object type.
Missing RAISING Clause in Interface
Program SAPLRHDB
Include LRHDBF00
Row 177
Module type (FORM)
Module Name FILL_I777D
Trigger Location of Exception
Program SAPLRHDB
Include LRHDBF00
Row 308
Module type(FORM)
Module Name FILL_I777D
Source Code Extract
Line SourceCde
278 ** HEADER = FI_HEADER "ANDBCEK008264
279 ** TABLES "ANDBCEK008264
280 ** FIELDTAB = FI_TAB "ANDBCEK008264
281 ** EXCEPTIONS "ANDBCEK008264
282 ** OTHERS = 4. "ANDBCEK008264
283 * "ANDBCEK008264
284 * CALL FUNCTION 'DDIF_FIELDINFO_GET' "ANDBCEK008264
285 * EXPORTING "ANDBCEK008264
286 * tabname = fi_tabname "ANDBCEK008264
287 ** FIELDNAME = ' ' "ANDBCEK008264
288 ** LANGU = SY-LANGU "ANDBCEK008264
289 ** LFIELDNAME = ' ' "ANDBCEK008264
290 ** ALL_TYPES = ' ' "ANDBCEK008264
291 * IMPORTING "ANDBCEK008264
292 * x030l_wa = fi_header "ANDBCEK008264
293 ** DDOBJTYPE = "ANDBCEK008264
294 ** DFIES_WA = "ANDBCEK008264
295 ** TABLES "ANDBCEK008264
296 ** DFIES_TAB = "ANDBCEK008264
297 * EXCEPTIONS "ANDBCEK008264
298 * not_found = 1 "ANDBCEK008264
299 * internal_error = 2 "ANDBCEK008264
300 * OTHERS = 3. "ANDBCEK008264
301 *
302 * IF sy-subrc EQ 0.
303 * i777d-tbtab_tabof = fi_header-tablen - tabnr_intlen.
304 * i777d-pnnnn_tabof = i777d-tbtab_tabof - 8.
305 * ENDIF.
306
307 * ASSIGN char TO <any_field> CASTING TYPE (fi_tabname). "ANDDDIF
>>>>> create data anyfield type (fi_tabname). "ANDUNI
309 assign anyfield->* to <any_field>. "ANDUNI
310
311 * we need a character view of <any_field> !!! "ANDUNI
312 assign <any_field> to <char_field> casting type c. "ANDUNI
313
314 * DESCRIBE FIELD <any_field> LENGTH tablength "ANDDDIF
315 * IN BYTE MODE. "ANDDDIF
316
317 DESCRIBE FIELD <char_field> LENGTH tablength "ANDUNI
318 IN CHARACTER MODE. "ANDUNI
319
320 <i777d>-tbtab_tabof = tablength - tabnr_intlen. "ANDDDIF
321 <i777d>-pnnnn_tabof = <i777d>-tbtab_tabof - 8. "ANDDDIF
322
323 ENDIF.
324 IF <i777d>-ext_infty NE space. "VWMEXT
325 READ TABLE i77id
326 WITH KEY infty = <i777d>-infty
327 BINARY SEARCH.Hi Ramesh,
i have check the table HRP1680 in SAP4.7c but in ECC 6 it is not there. So i have create that table. Is it Info-type? or i have apply OSS notes.
regards
Rahul -
Runtime Error in HR module t-code PPOCE [upgraded 4.7 to ECC6]
HI Gurus!
at my client site , we have upgraded 4.7 to ECC6. Now functional consultants are testing the system.When HR consultant working on PPOCE t-code ,the patch no of SAP HR - 0007. its giving runtime error.
Runtime Errors CREATE_DATA_UNKNOWN_TYPE
Except. CX_SY_CREATE_DATA_ERROR Date and Time 19.08.2008 14:42:44
Short text
CREATE DATA: The specified type "HRP1680" is no valid data type.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLRHDB" 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_CREATE_DATA_ERROR', was not caught in
procedure "FILL_I777D" "(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 dynamically specified type "HRP1680" at CREATE DATA is no valid data type.
The type is either unknown or an object type.
Missing RAISING Clause in Interface
Program SAPLRHDB
Include LRHDBF00
Row 177
Module type (FORM)
Module Name FILL_I777D
Trigger Location of Exception
Program SAPLRHDB
Include LRHDBF00
Row 308
Module type(FORM)
Module Name FILL_I777D
Source Code Extract
Line SourceCde
278 ** HEADER = FI_HEADER "ANDBCEK008264
279 ** TABLES "ANDBCEK008264
280 ** FIELDTAB = FI_TAB "ANDBCEK008264
281 ** EXCEPTIONS "ANDBCEK008264
282 ** OTHERS = 4. "ANDBCEK008264
283 * "ANDBCEK008264
284 * CALL FUNCTION 'DDIF_FIELDINFO_GET' "ANDBCEK008264
285 * EXPORTING "ANDBCEK008264
286 * tabname = fi_tabname "ANDBCEK008264
287 ** FIELDNAME = ' ' "ANDBCEK008264
288 ** LANGU = SY-LANGU "ANDBCEK008264
289 ** LFIELDNAME = ' ' "ANDBCEK008264
290 ** ALL_TYPES = ' ' "ANDBCEK008264
291 * IMPORTING "ANDBCEK008264
292 * x030l_wa = fi_header "ANDBCEK008264
293 ** DDOBJTYPE = "ANDBCEK008264
294 ** DFIES_WA = "ANDBCEK008264
295 ** TABLES "ANDBCEK008264
296 ** DFIES_TAB = "ANDBCEK008264
297 * EXCEPTIONS "ANDBCEK008264
298 * not_found = 1 "ANDBCEK008264
299 * internal_error = 2 "ANDBCEK008264
300 * OTHERS = 3. "ANDBCEK008264
301 *
302 * IF sy-subrc EQ 0.
303 * i777d-tbtab_tabof = fi_header-tablen - tabnr_intlen.
304 * i777d-pnnnn_tabof = i777d-tbtab_tabof - 8.
305 * ENDIF.
306
307 * ASSIGN char TO <any_field> CASTING TYPE (fi_tabname). "ANDDDIF
>>>>> create data anyfield type (fi_tabname). "ANDUNI
309 assign anyfield->* to <any_field>. "ANDUNI
310
311 * we need a character view of <any_field> !!! "ANDUNI
312 assign <any_field> to <char_field> casting type c. "ANDUNI
313
314 * DESCRIBE FIELD <any_field> LENGTH tablength "ANDDDIF
315 * IN BYTE MODE. "ANDDDIF
316
317 DESCRIBE FIELD <char_field> LENGTH tablength "ANDUNI
318 IN CHARACTER MODE. "ANDUNI
319
320 <i777d>-tbtab_tabof = tablength - tabnr_intlen. "ANDDDIF
321 <i777d>-pnnnn_tabof = <i777d>-tbtab_tabof - 8. "ANDDDIF
322
323 ENDIF.
324 IF <i777d>-ext_infty NE space. "VWMEXT
325 READ TABLE i77id
326 WITH KEY infty = <i777d>-infty
327 BINARY SEARCH.
i have check the table HRP1680 in SAP4.7c but in ECC 6 it is not there. So i have create that table. Is it Info-type? or i have apply OSS notes.
regards
Rahul
Edited by: rahul deshmukh on Aug 20, 2008 11:52 AMHello,
I receive the same error when trying to change records of an infotype. Did you find a solution to this problem? I know your message is from 2008, but maybe you remember what you did to solve it
Thank you!
Iuliana -
Runtime error LOAD_PROGRAM_NOT_FOUND for ARE document.
Hi All,
when I am creating or posting ARE document thru tcode J1IA101 & J1IA301 ,I am clicking on Printing check box & when I am going to save it .It is giving me error printing parameter is not set &
after pressing enter it is giving runtime error, which is as follows:
Runtime Errors LOAD_PROGRAM_NOT_FOUND
Exception CX_SY_PROGRAM_NOT_FOUND
What happened?
There are several possibilities:
Error in the ABAP Application Program
The current ABAP program "SAPLJ1IEX" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
or
Error in the SAP kernel.
The current ABAP "SAPLJ1IEX" program had to be terminated because the
ABAP processor detected an internal system error.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_PROGRAM_NOT_FOUND', was not
caught in
procedure "J_1IEX_PRINT_ARE" "(FUNCTION)", nor was it propagated by a RAISIN
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:
On account of a branch in the program
(CALL FUNCTION/DIALOG, external PERFORM, SUBMIT)
or a transaction call, another ABAP/4 program
is to be loaded, namely " ".
However, program " " does not exist in the library.
Possible reasons:
a) Wrong program name specified in an external PERFORM or
SUBMIT or, when defining a new transaction, a new
dialog module or a new function module.
b) Transport error
Thanks,
C Singh,hi all,
please change the access sequence from J1ID to J1IB and include program for printing ARE-3 in program 2 of access sequence J1IB.
regards,
C Singh.
Maybe you are looking for
-
Is there any way to add scrolling texts manually on Captivate 5?
I tried to used the text box entry in standard objects as a scrolling text, however it failed when someone else on here replying to another forum saying it should work. The main purpose of this is for the people visiting this project, i need them to
-
I am struggeling to download files in any format (i.e. pdf, dmg etc.). It deosn't bring up the download list anymore and in finder under downloads, it has the following suffix eg. xxx.pdf.part. The file size is usually 0 bites. Any advice? Anothe
-
Video stream to another network
Hello, Am christopher from TANZANIA (EAST AFRICAN COUNTRY). Please help me. we have our cable tv and we want to stream it to our another office in another region, where we have configured a VPN in this two offices using cisco router RV180. I have tri
-
Can anyone offer suggestions on how I can have Photoshop CC open jpg files? It won't even open recent files , including files I was working on yesterday. Thanks.
-
i was trying to update/restore my ipod and now i plug it in and it stays frozen on the usb to itunes picture. and when i plug it in it dosnt come up in itunes how do i fix this? any suggestions are appreciated