Error while creating .H header file
I tried the same example in the JNI Programmer�s Guide and Specification.
My working Folder - D:\velu\java\workspace.
I wrote and compile the Helloworld.java here and so the class file also resides here.
But when I execute javah -jni HelloWorld I am getting the error as
error: cannot access HelloWorld
file HelloWorld.class not found
javadoc: error - Class HelloWorld not found.
Error: No classes were specified on the command line. Try -help.experts advice me.
I GOT IT BY ADDING . TO MY CLASSPATH ENV VAR.
aNYWAY THANKS FRIENDS.
Similar Messages
-
Logminer error while creating a dictionary file
Hi ,
I am working on logminer.
i got the following error while creating a dictionary file :--
please help me out.
SQL> show parameter utl_
NAME TYPE VALUE
utl_file_dir string $ORACLE_BASE/utl_file/cecms
SQL> execute dbms_logmnr_d.build(dictionary_filename => 'dictionary.ora',dictionary_location => '/u00/oracle/utl_file/cecms');
BEGIN dbms_logmnr_d.build(dictionary_filename => 'dictionary.ora',dictionary_location => '/u00/oracle/utl_file/cecms'); END;
ERROR at line 1:
ORA-01336: specified dictionary file cannot be opened
ORA-29280: invalid directory path
ORA-06512: at "SYS.DBMS_LOGMNR_D", line 928
ORA-06512: at "SYS.DBMS_LOGMNR_D", line 2052
ORA-06512: at line 1
AsifORA-01336: specified dictionary file cannot be opened
Cause: The dictionary file or directory does not exist or is inaccessible.
Action: Make sure that the dictionary file and directory exist and are accessible.
Probably an issue with the rights on the directories.
To confirm the same, try writing a sample procedure with UTL_FILE to create a file at this location and capture the error. It will give you more details about the problem. -
Error, while creating a control file
Hi All,
DB Version :- SQL*Plus: Release 10.2.0.3.0
I am in process of carrying out full db refresh from cold backup. I came across with following, while creating a contrl file. strange to see two dbf's has same file_id. Please help me to solve this issue.
==
SQL> @a.sql
CREATE CONTROLFILE SET DATABASE LNRATU2 RESETLOGS NOARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01167: two files are the same file/group number or the same file
ORA-01110: data file 6: '/data/oracle/LNRATU2/data02/LNRATU2_audits.dbf'
ORA-01110: data file 6: '/data/oracle/LNRATU2/data01/LNRATU2_audits_01.dbf'
===
hare krishnaThanks.. Find below the a.sql contents.
CREATE CONTROLFILE SET DATABASE LNRATU2 RESETLOGS NOARCHIVELOG
MAXLOGFILES 5
MAXLOGMEMBERS 3
MAXDATAFILES 300
MAXINSTANCES 1
MAXLOGHISTORY 58720
LOGFILE
GROUP 2 (
'/data/oracle/LNRATU2/redo01/LNRATU2_redo02a.dbf',
'/data/oracle/LNRATU2/redo02/LNRATU2_redo02b.dbf'
) SIZE 500M,
GROUP 3 (
'/data/oracle/LNRATU2/redo01/LNRATU2_redo03a.dbf',
'/data/oracle/LNRATU2/redo02/LNRATU2_redo03b.dbf'
) SIZE 500M
DATAFILE
'/data/oracle/LNRATU2/data01/LNRATU2_audits_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_02.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_03.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_04.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_05.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_06.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_07.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_08.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_09.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_10.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_11.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_12.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_13.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_14.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_15.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_16.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_17.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_18.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_19.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_20.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_21.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_22.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_23.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_24.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_25.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_26.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_27.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_28.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_29.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_30.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_02.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_03.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_04.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_05.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_06.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_07.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_08.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_09.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_10.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_11.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_12.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_13.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_14.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_15.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_16.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_19.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_MCINFO_DATA01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_MCINFO_INDX01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_MCINFO_LOB01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_quest_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RATEOD_LOB01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_DATA01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_DATA01_02.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_INDX01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_INDX01_02.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_INDX01_03.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_LOB01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_sysaux_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_system01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_tools_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_UNDOTBS101.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_users_01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_audits.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_31.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_32.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_33.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_34.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_35.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_36.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_37.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_38.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_39.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_40.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_41.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_17.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_18.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_20.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_21.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_22.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_23.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_24.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_25.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_26.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_27.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_28.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_29.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_30.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_31.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_32.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_33.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_34.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_35.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_36.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_37.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_38.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_quest_01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RATEOD_LOB01_02.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_DATA01_03.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_DATA01_04.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_DATA01_05.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_04.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_05.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_06.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_07.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_statpack_01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_sysaux_01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_system01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_tools_01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_UNDOTBS1_02.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_users_01.dbf'
CHARACTER SET WE8ISO8859P1
hare krishna -
Error while creating an EAR file in 7.1 version
Hi All,
While developing an Adapter module in PI 7.1 version, facing a problem while creating an EAR file.
Using NWDS 7.1 version
1) Have developed the code compatible to 7.1 version changes which is not throwing any error while compilation
2) Have given the jndi info in ejb-j2ee-engine.xml
3) Also entered info in ejb-jar.xml like
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="ejb-jar_ID"
version="2.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
<description>EJB JAR description</description>
<display-name>EJB JAR</display-name>
<enterprise-beans>
<session>
<ejb-name>EncryptModParam</ejb-name>
<home>com.sap.aii.af.lib.mp.module.ModuleHome</home>
<remote>com.sap.aii.af.lib.mp.module.ModuleRemote</remote>
<local-home> com.sap.aii.af.lib.mp.module.ModuleLocalHome</local-home>
<local>com.sap.aii.af.lib.mp.module.ModuleLocal</local>
<ejb-class>com.abc.encryption.EncryptModParam</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
Then have clicked on Build project. Its throwing the following error
Bean Interfaces: Stateless Bean "Encryption" should have atleast one of the following interface pairs: "local" and "localhome", "home" and "remote" or service endpoint interface
Bean Interfaces: The home interface "com.sap.aii.af.lib.mp.module.ModuleHome" cannot be found in the search path
Bean Interfaces: The local home interface "com.sap.aii.af.lib.mp.module.ModuleLocalHome" cannot be found in the search path
Bean Interfaces: The local interface "com.sap.aii.af.lib.mp.module.ModuleLocal" cannot be found in the search path
Bean Interfaces: The remote interface "com.sap.aii.af.lib.mp.module.ModuleRemote" cannot be found in the search path
Also I have included the below code in the class file
@ejbHome <{com.sap.aii.af.lib.mp.module.ModuleHome}>
@ejbLocal <{com.sap.aii.af.lib.mp.module.ModuleLocal}>
@ejbLocalHome <{com.sap.aii.af.lib.mp.module.ModuleLocalHome}>
@ejbRemote <{com.sap.aii.af.lib.mp.module.ModuleRemote}>
@stateless
Request to give suggestions to resolve the above problem.
Thanks in advance.
GaneshThis is what I was looking for: http://maveninjdeveloper.blogspot.com/2012/04/handle-adf-application-maven-ant.html
It further references:
- http://docs.oracle.com/cd/E24382_01/user.1112/e17455/deploying_apps.htm#BACIIDEJ
- http://javaosdev.blogspot.in/2011/12/ojdeploy-documentation-for-tool.html
The only issue now is that Oracle JDeveloper release 11.1.2.2.0 (version being used) does NOT seem to support Ant while release 11.1.2.1.0 does. This necessitates a further kluge to make things work. The amount of difference between versions of JDeveloper is quite amazing. -
Getting error while creating a text file
Hi,
I have one macro which will write all the file names from a particular folder into a text file. However when I run it, I am getting the following error message and only last file of the identified folder is getting added in my text file.
Run Time Error '55'
File Already Open
To reproduce the scenario please add one commandbutton in your excel shhet and add the following code:
Private Sub CommandButton1_Click()
Dim p As String, x As Variant
p = "C:/*.docx"
x = GetFileList(p)
Select Case IsArray(x)
Case True 'files found
MsgBox UBound(x)
For i = LBound(x) To UBound(x)
Open "C:\temp.txt" For Output As 1
Write #1, "File Name " & x(i)
Next i
Close #1
Case False
MsgBox "No matching files"
End Select
End Sub
Function GetFileList(FileSpec As String) As Variant
Dim FileArray() As Variant
Dim FileCount As Integer
Dim FileName As String
On Error GoTo NoFilesFound
FileCount = 0
FileName = Dir(FileSpec)
If FileName = "" Then GoTo NoFilesFound
' Loop until no more matching files are found
Do While FileName <> ""
FileCount = FileCount + 1
ReDim Preserve FileArray(1 To FileCount)
FileArray(FileCount) = FileName
FileName = Dir()
Loop
GetFileList = FileArray
Exit Function
' Error handler
NoFilesFound:
GetFileList = False
End Function
'End Function
For example if I have 3 docx file(1,2,3-name of the files) in my C drive, the o/p that I want in my .txt file will be as follows.
File Name 1.docx
File Name 2.docx
File Name 3.docx
Thanks!!For i = LBound(x) To UBound(x)
Open "C:\temp.txt" For Output As 1
You call the Open method inside the FOR loop.
BTW, a collection is much more easier.
Andreas.
Private Sub CommandButton1_Click()
Dim Files As New Collection
Dim File
Dim ff As Integer
File = Dir("C:\*.docx")
Do While File <> ""
Files.Add File
File = Dir
Loop
If Files.Count = 0 Then
MsgBox "No matching files"
Exit Sub
Else
MsgBox Files.Count & " files"
End If
ff = FreeFile
Open "C:\temp.txt" For Output As #ff
For Each File In Files
Print #ff, File
Next
Close #ff
End Sub -
Error while Creating Prestage Content File for Application in SCCM 2012
Hi All,
I am using SCCM 2012 SP1 on Win 2K8 SP R2 box. Database is SQL 2008 R2 SP1 CU6. I have trying to create Prestaged content for Applications for extracting pkgx files on DP's. I am getting the below error message for random applications(not for all applications
but for random applications).
Content that will be included into the prestaged content file (1):
Citrix Receiver 13.3.0.55
Export all dependencies: 'Yes'
Selected distribution points: 'MPSERVER.GS.WORLD.PRESS.COM'
Prestaged content file: 'G:\pkgxfiles\Application\Citrix Receiver 13.3.0.55.pkgx'
Error: Distribution is currently in progress for selected packages: HM0000D9. Please wait and try again
But if I see this application is successfully distributed to 2 of the distributions points long ago. If I reupdate the Distribution point and then again try to create prestaged content for this application then pkgx file for that application is getting
created.
Why this is happening and how can I resolve this?
Thanks & Regards UttamSince no one has answer this post, I recommend opening a support case with CSS as they can work with you to solve this problem.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
Errors while creating a template file using
Hi,
I am new to jdeveloper 10g (10.1.3.4.0). I am developing a project where i was creating a template using ADF face core page in the component pallete. I select and drag the panel page component on the visual editor. I could see that the errors folder is created in the structure pane and i could see the following error messages in that folder. Can somebody help me in resolving these errors.
Type oracle.adfinternal.view.faces.taglib.html.HtmlHtmlTag not found.
Type oracle.adfinternal.view.faces.taglib.html.HtmlHtmlTag not found.
Type oracle.adfinternal.view.faces.taglib.html.HtmlHtmlTag not found.
Method setParent(com.sun.faces.taglib.jsf_core.ViewTag) not found in <unknown>.
Method doStartTag() not found in <unknown>.
Type oracle.adfinternal.view.faces.taglib.html.HtmlHeadTag not found.
Type oracle.adfinternal.view.faces.taglib.html.HtmlHeadTag not found.
Type oracle.adfinternal.view.faces.taglib.html.HtmlHeadTag not found.
Method setParent(<unknown>) not found in <unknown>.
Method setTitle(java.lang.String) not found in <unknown>.
Method doStartTag() not found in <unknown>.
Method doEndTag() not found in <unknown>.
Type oracle.adfinternal.view.faces.taglib.html.HtmlBodyTag not found.
Type oracle.adfinternal.view.faces.taglib.html.HtmlBodyTag not found.
Type oracle.adfinternal.view.faces.taglib.html.HtmlBodyTag not found.
Method setParent(<unknown>) not found in <unknown>.
Method doStartTag() not found in <unknown>.
Method doEndTag() not found in <unknown>.
Method doEndTag() not found in <unknown>.Thanks in advanceHi,
since 10.1.3 does not have templates I am wondering what you were attempting to do? It appears as if the Faces libraries are not available for the project, so you may want to give us a steb-by-step instruction of how to reproduce the error
Frank -
Error while creating table from csv file
I am getting an error while creating a table using 'Import Data' button for a csv file containing 22 columns and 8 rows. For primary key, I am using an existing column 'Line' and 'Not generated' options.
ORA-20001: Excel load run ddl error: drop table "RESTORE" ORA-00942: table or view does not exist ORA-20001: Excel load run ddl error: create table "RESTORE" ( "LINE" NUMBER, "PHASE" VARCHAR2(30), "RDC_MEDIA_ID" VARCHAR2(30), "CLIENT_MEDIA_LABEL" VARCHAR2(30), "MEDIA_TYPE" VARCHAR2(30), "SIZE_GB" NUMBER, "RDC_IMG_HD_A" NUMBER, "START_TECH" VARCHAR2(30), "CREATE_DATE" VARCHAR2(30), "RDC_MEDIA_DEST" VARCHAR2(30), "POD" NUMBER, "TAPE" NUMBER, "ERRORS_YN" VA
Any idea?I am getting an error while creating a table using 'Import Data' button for a csv file containing 22 columns and 8 rows. For primary key, I am using an existing column 'Line' and 'Not generated' options.
ORA-20001: Excel load run ddl error: drop table "RESTORE" ORA-00942: table or view does not exist ORA-20001: Excel load run ddl error: create table "RESTORE" ( "LINE" NUMBER, "PHASE" VARCHAR2(30), "RDC_MEDIA_ID" VARCHAR2(30), "CLIENT_MEDIA_LABEL" VARCHAR2(30), "MEDIA_TYPE" VARCHAR2(30), "SIZE_GB" NUMBER, "RDC_IMG_HD_A" NUMBER, "START_TECH" VARCHAR2(30), "CREATE_DATE" VARCHAR2(30), "RDC_MEDIA_DEST" VARCHAR2(30), "POD" NUMBER, "TAPE" NUMBER, "ERRORS_YN" VA
Any idea? -
Error while creating control file
hi
i am getting following error while creating controll file
QL> shutdown
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 629145600 bytes
Fixed Size 1250548 bytes
Variable Size 171969292 bytes
Database Buffers 452984832 bytes
Redo Buffers 2940928 bytes
SQL> @c:\study\rose\c.sql
SP2-0042: unknown command "DATAFILE" - rest of line ignored.
SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
SP2-0734: unknown command beginning "CHARACTER ..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
1 CREATE CONTROLFILE SET DATABASE "ROSE" RESETLOGS froce logging NOARCHIVELOG
2 MAXLOGFILES 32
3 MAXLOGMEMBERS 2
4 MAXDATAFILES 32
5 MAXINSTANCES 16
6 MAXLOGHISTORY 1752
7 LOGFILE
8 GROUP 1 'C:\oracle\product\10.2.0\oradata\rose\LOG1ROSE.ORA' SIZE 50M,
9 GROUP 2 'C:\oracle\product\10.2.0\oradata\rose\LOG2ROSE.ORA' SIZE 50M,
10 GROUP 3 'C:\oracle\product\10.2.0\oradata\rose\LOG06.LOG' SIZE 25M,
11* GROUP 4 'C:\oracle\product\10.2.0\oradata\rose\LOG07.LOG' SIZE 25M
SQL>CHETAN YADAV wrote:
hi
i am getting following error while creating controll file
QL> shutdown
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 629145600 bytes
Fixed Size 1250548 bytes
Variable Size 171969292 bytes
Database Buffers 452984832 bytes
Redo Buffers 2940928 bytes
SQL> @c:\study\rose\c.sqlWe can't debug what we can't see. And what we can't see is the contents of "c:\study\rose\c.sql".
SP2-0042: unknown command "DATAFILE" - rest of line ignored.
SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
SP2-0734: unknown command beginning "CHARACTER ..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
1 CREATE CONTROLFILE SET DATABASE "ROSE" RESETLOGS froce logging NOARCHIVELOG
2 MAXLOGFILES 32
3 MAXLOGMEMBERS 2
4 MAXDATAFILES 32
5 MAXINSTANCES 16
6 MAXLOGHISTORY 1752
7 LOGFILE
8 GROUP 1 'C:\oracle\product\10.2.0\oradata\rose\LOG1ROSE.ORA' SIZE 50M,
9 GROUP 2 'C:\oracle\product\10.2.0\oradata\rose\LOG2ROSE.ORA' SIZE 50M,
10 GROUP 3 'C:\oracle\product\10.2.0\oradata\rose\LOG06.LOG' SIZE 25M,
11* GROUP 4 'C:\oracle\product\10.2.0\oradata\rose\LOG07.LOG' SIZE 25M
SQL> -
Error while creating logical file using transaction FILE
Hello there,
I am facing an error while creating Logical File name definition using transaction FILE
This is the input which I'm trying to give
Logical file name: ZTEST
Name : ZTEST
Physical file : ZTEST_1<DATE><TIME>.csv
Data format: ASC
Application area: BW
Logical path:ZTEST_1_DATAOUT
when I tried to save it throws me an error like ASSIGN_SUBSTRING_NOT_ALLOWED
Please help.Hi,
Please check the OSS Notes :
Note 792061 - SP Case Locator: Dump: ASSIGN to a substring isn't allowed.
SAP Note 1297989 - Short dump ASSIGN_SUBSTRING_NOT_ALLOWED
Hope this solves the problem.
-Vikram -
Error while creating request list Unable to detect the SAP system directory
We are upgrading SAP BW (NW 7.0 EHP1) to SAP BW (NW 7.3)
source OS: Windows 2008 R2, source DB: MSSQL server 2008 R2 SP1 CU3
I had started the upgrade by running: STARTUP.BAT
I had started the DSUGui on the server (CI / DB on the same server) from: D:\usr\sap\BP1\upg\sdt\exe\DSUGui.bat
I ran both programs (run as administrators).
Once SAP Gui connects and was able to create userid/ password and when ready to start the initialization phase (click next)
gives me the error
Error while creating request list - see preceeding messages. Unable to detect the SAP system directory on the local host
I had tried STARTUP.BAT "jce_policy_zip=Z:\export-import\downloads\jce_policy-6' and still the same error.
I had started DSUGui.bat with trace and the trace file contents are
<!LOGHEADER[START]/>
<!HELP[Manual modification of the header may cause parsing problem!]/>
<!LOGGINGVERSION[2.0.7.1006]/>
<!NAME[D:
usr
sap
bp1
upg
sdt
trc
server.trc]/>
<!PATTERN[server.trc]/>
<!FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%s]: %-100l [%t]: %m)]/>
<!ENCODING[UTF8]/>
<!LOGHEADER[END]/>
Jan 11, 2012 10:14:58 AM [Error]: com.sap.sdt.engine.core.communication.AbstractCmd.log(AbstractCmd.java:102) [Thread[ExecuteWorker,5,main]]: Execution of command com.sap.sdt.engine.core.communication.CmdActionEvent@376433e4 failed: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
Jan 11, 2012 10:14:58 AM [Error]: com.sap.sdt.engine.core.communication.AbstractCmd.log(AbstractCmd.java:103) [Thread[ExecuteWorker,5,main]]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
Jan 11, 2012 10:14:58 AM [Error]: com.sap.sdt.engine.core.communication.AbstractCmd.log(AbstractCmd.java:103) [Thread[ExecuteWorker,5,main]]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
Jan 11, 2012 10:14:58 AM [Error]: com.sap.sdt.engine.core.communication.CmdActionEvent [Thread[ExecuteWorker,5,main]]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
at com.sap.sdt.dsu.service.req.DSURequestListBuilder.persistSystemInfo(DSURequestListBuilder.java:277)
at com.sap.sdt.dsu.service.DSUService.createRequestList(DSUService.java:338)
at com.sap.sdt.dsu.service.controls.DSUListener.actionNext(DSUListener.java:144)
at com.sap.sdt.dsu.service.controls.DSUListener.actionPerformed(DSUListener.java:67)
at com.sap.sdt.server.core.controls.SDTActionListener$Listener.actionPerformed(SDTActionListener.java:46)
at com.sap.sdt.engine.core.communication.CmdActionEvent.actOnEvent(CmdActionEvent.java:43)
at com.sap.sdt.engine.core.communication.CmdEvent.execute(CmdEvent.java:69)
at com.sap.sdt.engine.core.communication.ExecWorker.handleCmd(ExecWorker.java:36)
at com.sap.sdt.engine.core.communication.AbstractWorker.run(AbstractWorker.java:93)
I could not get Upgrade started. Any help is appreciated
Thanks
PrathapDid you get this solved?
I have the same problem -
Heap space error while creating XML document from Resultset
I am getting Heap space error while creating XML document from Resultset.
It was working fine from small result set object but when the size of resultset was more than 25,000, heap space error
I am already using -Xms32m -Xmx1024m
Is there a way to directly write to xml file from resultset instead of creating the whole document first and then writing it to file? Code examples please?
here is my code:
stmt = conn.prepareStatement(sql);
result = stmt.executeQuery();
result.setFetchSize(999);
Document doc = JDBCUtil.toDocument(result, Application.BANK_ID, interfaceType, Application.VERSION);
JDBCUtil.write(doc, fileName);
public static Document toDocument(ResultSet rs, String bankId, String interfaceFileType, String version)
throws ParserConfigurationException, SQLException {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
Document doc = builder.newDocument();
Element results = doc.createElement("sims");
results.setAttribute("bank", bankId);
results.setAttribute("record_type", "HEADER");
results.setAttribute("file_type", interfaceFileType);
results.setAttribute("version", version);
doc.appendChild(results);
ResultSetMetaData rsmd = rs.getMetaData();
int colCount = rsmd.getColumnCount();
String columnName="";
Object value;
while (rs.next()) {
Element row = doc.createElement("rec");
results.appendChild(row);
for (int i = 1; i <= colCount; i++) {
columnName = rsmd.getColumnLabel(i);
value = rs.getObject(i);
Element node = doc.createElement(columnName);
if(value != null)
node.appendChild(doc.createTextNode(value.toString()));
else
node.appendChild(doc.createTextNode(""));
row.appendChild(node);
return doc;
public static void write(Document document, String filename) {
//long start = System.currentTimeMillis();
// lets write to a file
OutputFormat format = new OutputFormat(document); // Serialize DOM
format.setIndent(2);
format.setLineSeparator(System.getProperty("line.separator"));
format.setLineWidth(80);
try {
FileWriter writer = new FileWriter(filename);
BufferedWriter buf = new BufferedWriter(writer);
XMLSerializer FileSerial = new XMLSerializer(writer, format);
FileSerial.asDOMSerializer(); // As a DOM Serializer
FileSerial.serialize(document);
writer.close();
} catch (IOException ioe) {
ioe.printStackTrace();
//long end = System.currentTimeMillis();
//System.err.println("W3C File write time :" + (end - start) + " " + filename);
}you can increase your heap size..... try setting this as your environment variable.....
variable: JAVA_OPTS
value: -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m -
Error While Creating TS in SLD Manually
Hi Experts,
I Got the Following Error While Creating TS as Web AS ABAP For R/3 System
500 Internal Server Error
Web Dynpro Container/SAP J2EE Engine/6.40
Failed to process request. Please contact your system administrator.
[Hide]
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.lang.IllegalArgumentException: The node, node element, and attribute info MUST NOT be null
at com.sap.tc.webdynpro.progmodel.controller.MessageManager.reportContextAttributeMessage(MessageManager.java:940)
at com.sap.sld.wd.technicalsystem.NewABAPSystem2.onActionNext(NewABAPSystem2.java:369)
at com.sap.sld.wd.technicalsystem.wdp.InternalNewABAPSystem2.wdInvokeEventHandler(InternalNewABAPSystem2.java:344)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
... 27 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Version null
DOM version null
Client Type msie6
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0006.20060302084208.0000 (release=NW04S_06_REL, buildtime=2006-03-04:17:33:21[UTC], changelist=10570, host=pwdfm114), build date: Fri May 18 20:03:14 IST 2007
J2EE Engine 7.00 patchlevel
Java VM Java HotSpot(TM) Server VM, version:1.4.2_12-b03, vendor: Sun Microsystems Inc.
Operating system Windows 2003, version: 5.2, architecture: x86
Session & Other
Session Locale en
Time of Failure Wed Jun 13 12:17:00 IST 2007 (Java Time: 1181717220451)
Web Dynpro Code Generation Infos
sap.com/tcsldwd~main
SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:17:18[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:17:25[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:06[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:22:50[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:15:16[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:19:38[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0006.20060118164839.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:44:56[UTC], changelist=385420, host=pwdfm101)
SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:23:00[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0006.20060118164839.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:44:56[UTC], changelist=385420, host=pwdfm101)
sap.com/tcsldwd~landscape
SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:17:18[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:17:25[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:06[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:22:50[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:15:16[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:19:38[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0006.20060118164839.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:44:56[UTC], changelist=385420, host=pwdfm101)
SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:23:00[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0006.20060118164839.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:44:56[UTC], changelist=385420, host=pwdfm101)
sap.com/tcwddispwda
No information available null
sap.com/tcsldwd~businesssystem
SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:17:18[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:17:25[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:06[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:22:50[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:15:16[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:19:38[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0006.20060118164839.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:44:56[UTC], changelist=385420, host=pwdfm101)
SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:23:00[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0006.20060118164839.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:44:56[UTC], changelist=385420, host=pwdfm101)
sap.com/tcsldwd~technicalsystem
SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:17:18[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:17:25[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:06[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:22:50[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:15:16[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:19:38[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0006.20060118164839.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:44:56[UTC], changelist=385420, host=pwdfm101)
SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:23:00[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0006.20060118164839.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:44:56[UTC], changelist=385420, host=pwdfm101)
sap.com/tcwdcorecomp
No information available null
sap.com/tcsldwd~softwarecatalog
SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:17:18[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:17:25[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:06[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:22:50[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:15:16[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:19:38[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0006.20060118164839.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:44:56[UTC], changelist=385420, host=pwdfm101)
SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:23:00[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0006.20060118164839.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:44:56[UTC], changelist=385420, host=pwdfm101)
sap.com/tcsldwd~namereservation
SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:17:18[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:17:25[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:06[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:22:50[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:07:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:15:16[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:19:38[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0006.20060118164839.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:44:56[UTC], changelist=385420, host=pwdfm101)
SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:23:00[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0006.20060118164839.0000 (release=645_VAL_REL, buildtime=2006-01-18:19:44:56[UTC], changelist=385420, host=pwdfm101)
Detailed Error Information
Detailed Exception Chain
java.lang.IllegalArgumentException: The node, node element, and attribute info MUST NOT be null
at com.sap.tc.webdynpro.progmodel.controller.MessageManager.reportContextAttributeMessage(MessageManager.java:940)
at com.sap.sld.wd.technicalsystem.NewABAPSystem2.onActionNext(NewABAPSystem2.java:369)
at com.sap.sld.wd.technicalsystem.wdp.InternalNewABAPSystem2.wdInvokeEventHandler(InternalNewABAPSystem2.java:344)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:422)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:133)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:344)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:298)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:705)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:659)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:227)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:150)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:56)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:47)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Can Any Body Please Answer to This Thread. So that I Can Able to go-a- head
Regards
KhannaHi Vijaya,
Here We Are Using PI7.0.
Opened SLD Page.
Clicked on TS ->>>New TS>>Slect Web AS ABAP.
Entered<b> Web AS ABAP Name (SID),,Installation Number,,Database Host Name</b>
Click on Next.
Entered <b>Message Server Port (sapmsIDE),,,Instance Number</b>
Click on Next. Here The Above Mentioned Error Came With Pop-up Window.
Please Help Me
Regards
Khanna -
Jbo 25017 error while create row
Hi ,
jbo 25017 error while creating row
Getting The above error message which updating Master Detail Page
KrishnaHi Ajay ,
Posting the EOImpl File
Method specified in bold is greturning line number as 0..Please check
public class AplShipmentsEOImpl extends OAEntityImpl {
/**Gets the attribute value for OtherShipReason, using the alias name OtherShipReason
public String getOtherShipReason() {
return (String)getAttributeInternal(OTHERSHIPREASON);
/**Sets <code>value</code> as the attribute value for OtherShipReason
public void setOtherShipReason(String value) {
setAttributeInternal(OTHERSHIPREASON, value);
/**Gets the attribute value for ForeignShipment, using the alias name ForeignShipment
public String getForeignShipment() {
return (String)getAttributeInternal(FOREIGNSHIPMENT);
/**Sets <code>value</code> as the attribute value for ForeignShipment
public void setForeignShipment(String value) {
setAttributeInternal(FOREIGNSHIPMENT, value);
/**Gets the attribute value for ZoneName, using the alias name ZoneName
public String getZoneName() {
return (String)getAttributeInternal(ZONENAME);
/**Sets <code>value</code> as the attribute value for ZoneName
public void setZoneName(String value) {
setAttributeInternal(ZONENAME, value);
/**Gets the attribute value for PrimeContractNumber, using the alias name PrimeContractNumber
public String getPrimeContractNumber() {
return (String)getAttributeInternal(PRIMECONTRACTNUMBER);
/**Sets <code>value</code> as the attribute value for PrimeContractNumber
public void setPrimeContractNumber(String value) {
setAttributeInternal(PRIMECONTRACTNUMBER, value);
/**getAttrInvokeAccessor: generated method. Do not modify.
protected Object getAttrInvokeAccessor(int index,
AttributeDefImpl attrDef) throws Exception {
switch (index) {
case SHIPMENTID:
return getShipmentId();
case LASTUPDATEDATE:
return getLastUpdateDate();
case LASTUPDATEDBY:
return getLastUpdatedBy();
case CREATIONDATE:
return getCreationDate();
case CREATEDBY:
return getCreatedBy();
case LASTUPDATELOGIN:
return getLastUpdateLogin();
case APPROVALSTATUS:
return getApprovalStatus();
case PROJECTID:
return getProjectId();
case TASKID:
return getTaskId();
case EXPORGID:
return getExpOrgId();
case EXPTYPEID:
return getExpTypeId();
case APPROVERID:
return getApproverId();
case APPROVEDDATE:
return getApprovedDate();
case REJECTIONCOMMENTS:
return getRejectionComments();
case EXPCTRLAPPRVID:
return getExpCtrlApprvId();
case EXPCTRLAPPRVDATE:
return getExpCtrlApprvDate();
case EXPREJECTCOMMENTS:
return getExpRejectComments();
case SHIPMENTREASON:
return getShipmentReason();
case CLASSIFICATION:
return getClassification();
case HAZARDMATLIND:
return getHazardMatlInd();
case DCN:
return getDcn();
case SHIPTOADDRID:
return getShipToAddrId();
case SHIPTOATTN:
return getShipToAttn();
case SHIPTOATTNPHONE:
return getShipToAttnPhone();
case PUBLICDOMAININD:
return getPublicDomainInd();
case ENDUSERADDRID:
return getEndUserAddrId();
case PARTYSCREENFLAG:
return getPartyScreenFlag();
case PROGNAME:
return getProgName();
case PROGMGRID:
return getProgMgrId();
case EXPORTPURPDESC:
return getExportPurpDesc();
case EXPORTAUTHCODE:
return getExportAuthCode();
case DESTCTRLSTMT:
return getDestCtrlStmt();
case RMANBR:
return getRmaNbr();
case PRIMECONTRACTNBR:
return getPrimeContractNbr();
case DESTINATIONDATE:
return getDestinationDate();
case SHIPMENTWEIGHT:
return getShipmentWeight();
case EXPECTEDRETURNDATE:
return getExpectedReturnDate();
case RETURNPAPERWORKIND:
return getReturnPaperworkInd();
case PICKUPBUILDING:
return getPickupBuilding();
case ROOMNUMBER:
return getRoomNumber();
case PICKUPAVAILABILITYTIME:
return getPickupAvailabilityTime();
case PRIMARYPOCID:
return getPrimaryPocId();
case SPECIALINSTRUCTIONS:
return getSpecialInstructions();
case RECEIPTBACKOUTIND:
return getReceiptBackoutInd();
case SHIPMENTCOST:
return getShipmentCost();
case SHIPCLERKID:
return getShipClerkId();
case PACKINGCLERKID:
return getPackingClerkId();
case DATESHIPPED:
return getDateShipped();
case UNNUMBER:
return getUnNumber();
case SHIPDESCRIPTION:
return getShipDescription();
case PACKCLERKNOTES:
return getPackClerkNotes();
case GOVTBOL:
return getGovtBol();
case TOTALNOOFPIECES:
return getTotalNoOfPieces();
case IATAHAZARDCODE:
return getIataHazardCode();
case SHIPCARRIER:
return getShipCarrier();
case PROPVARIFICATIONBY:
return getPropVarificationBy();
case SHIPCARRIERSRVLVL:
return getShipCarrierSrvLvl();
case OTHERSHIPREASON:
return getOtherShipReason();
case FOREIGNSHIPMENT:
return getForeignShipment();
case ZONENAME:
return getZoneName();
case PRIMECONTRACTNUMBER:
return getPrimeContractNumber();
case MAXLINENUM:
return getMaxLineNum();
case APLAPPROVERSEO1:
return getAplApproversEO1();
case APLSHIPDETAILSEO:
return getAplShipDetailsEO();
case APLAPPROVERSEO:
return getAplApproversEO();
case APLSHIPLINESEO:
return getAplShipLinesEO();
case HRALLORGANIZATIONUNITSEO:
return getHrAllOrganizationUnitsEO();
case APLPOCEO:
return getAplPocEO();
case POPROJECTSEO:
return getPoProjectsEO();
default:
return super.getAttrInvokeAccessor(index, attrDef);
/**setAttrInvokeAccessor: generated method. Do not modify.
protected void setAttrInvokeAccessor(int index, Object value,
AttributeDefImpl attrDef) throws Exception {
switch (index) {
case SHIPMENTID:
setShipmentId((Number)value);
return;
case LASTUPDATEDATE:
setLastUpdateDate((Date)value);
return;
case LASTUPDATEDBY:
setLastUpdatedBy((Number)value);
return;
case CREATIONDATE:
setCreationDate((Date)value);
return;
case CREATEDBY:
setCreatedBy((Number)value);
return;
case LASTUPDATELOGIN:
setLastUpdateLogin((Number)value);
return;
case APPROVALSTATUS:
setApprovalStatus((String)value);
return;
case PROJECTID:
setProjectId((Number)value);
return;
case TASKID:
setTaskId((Number)value);
return;
case EXPORGID:
setExpOrgId((Number)value);
return;
case EXPTYPEID:
setExpTypeId((Number)value);
return;
case APPROVERID:
setApproverId((Number)value);
return;
case APPROVEDDATE:
setApprovedDate((Date)value);
return;
case REJECTIONCOMMENTS:
setRejectionComments((String)value);
return;
case EXPCTRLAPPRVID:
setExpCtrlApprvId((Number)value);
return;
case EXPCTRLAPPRVDATE:
setExpCtrlApprvDate((Date)value);
return;
case EXPREJECTCOMMENTS:
setExpRejectComments((String)value);
return;
case SHIPMENTREASON:
setShipmentReason((String)value);
return;
case CLASSIFICATION:
setClassification((String)value);
return;
case HAZARDMATLIND:
setHazardMatlInd((String)value);
return;
case DCN:
setDcn((String)value);
return;
case SHIPTOADDRID:
setShipToAddrId((Number)value);
return;
case SHIPTOATTN:
setShipToAttn((String)value);
return;
case SHIPTOATTNPHONE:
setShipToAttnPhone((String)value);
return;
case PUBLICDOMAININD:
setPublicDomainInd((String)value);
return;
case ENDUSERADDRID:
setEndUserAddrId((Number)value);
return;
case PARTYSCREENFLAG:
setPartyScreenFlag((String)value);
return;
case PROGNAME:
setProgName((String)value);
return;
case PROGMGRID:
setProgMgrId((Number)value);
return;
case EXPORTPURPDESC:
setExportPurpDesc((String)value);
return;
case EXPORTAUTHCODE:
setExportAuthCode((String)value);
return;
case DESTCTRLSTMT:
setDestCtrlStmt((String)value);
return;
case RMANBR:
setRmaNbr((String)value);
return;
case PRIMECONTRACTNBR:
setPrimeContractNbr((String)value);
return;
case DESTINATIONDATE:
setDestinationDate((Date)value);
return;
case SHIPMENTWEIGHT:
setShipmentWeight((Number)value);
return;
case EXPECTEDRETURNDATE:
setExpectedReturnDate((Date)value);
return;
case RETURNPAPERWORKIND:
setReturnPaperworkInd((String)value);
return;
case PICKUPBUILDING:
setPickupBuilding((String)value);
return;
case ROOMNUMBER:
setRoomNumber((String)value);
return;
case PICKUPAVAILABILITYTIME:
setPickupAvailabilityTime((Date)value);
return;
case PRIMARYPOCID:
setPrimaryPocId((Number)value);
return;
case SPECIALINSTRUCTIONS:
setSpecialInstructions((String)value);
return;
case RECEIPTBACKOUTIND:
setReceiptBackoutInd((String)value);
return;
case SHIPMENTCOST:
setShipmentCost((Number)value);
return;
case SHIPCLERKID:
setShipClerkId((Number)value);
return;
case PACKINGCLERKID:
setPackingClerkId((Number)value);
return;
case DATESHIPPED:
setDateShipped((Date)value);
return;
case UNNUMBER:
setUnNumber((String)value);
return;
case SHIPDESCRIPTION:
setShipDescription((String)value);
return;
case PACKCLERKNOTES:
setPackClerkNotes((String)value);
return;
case GOVTBOL:
setGovtBol((String)value);
return;
case TOTALNOOFPIECES:
setTotalNoOfPieces((Number)value);
return;
case IATAHAZARDCODE:
setIataHazardCode((String)value);
return;
case SHIPCARRIER:
setShipCarrier((String)value);
return;
case PROPVARIFICATIONBY:
setPropVarificationBy((Number)value);
return;
case SHIPCARRIERSRVLVL:
setShipCarrierSrvLvl((String)value);
return;
case OTHERSHIPREASON:
setOtherShipReason((String)value);
return;
case FOREIGNSHIPMENT:
setForeignShipment((String)value);
return;
case ZONENAME:
setZoneName((String)value);
return;
case PRIMECONTRACTNUMBER:
setPrimeContractNumber((String)value);
return;
case MAXLINENUM:
setMaxLineNum((Number)value);
return;
default:
super.setAttrInvokeAccessor(index, value, attrDef);
return;
/**Gets the associated entity PoProjectsEOImpl
public PoProjectsEOImpl getPoProjectsEO() {
return (PoProjectsEOImpl)getAttributeInternal(POPROJECTSEO);
/**Sets <code>value</code> as the associated entity PoProjectsEOImpl
public void setPoProjectsEO(PoProjectsEOImpl value) {
setAttributeInternal(POPROJECTSEO, value);
/**Gets the associated entity AplApproversEOImpl
public AplApproversEOImpl getAplApproversEO() {
return (AplApproversEOImpl)getAttributeInternal(APLAPPROVERSEO);
/**Sets <code>value</code> as the associated entity AplApproversEOImpl
public void setAplApproversEO(AplApproversEOImpl value) {
setAttributeInternal(APLAPPROVERSEO, value);
/**Gets the associated entity HrAllOrganizationUnitsEOImpl
public HrAllOrganizationUnitsEOImpl getHrAllOrganizationUnitsEO() {
return (HrAllOrganizationUnitsEOImpl)getAttributeInternal(HRALLORGANIZATIONUNITSEO);
/**Sets <code>value</code> as the associated entity HrAllOrganizationUnitsEOImpl
public void setHrAllOrganizationUnitsEO(HrAllOrganizationUnitsEOImpl value) {
setAttributeInternal(HRALLORGANIZATIONUNITSEO, value);
/**Gets the associated entity AplPocEOImpl
public AplPocEOImpl getAplPocEO() {
return (AplPocEOImpl)getAttributeInternal(APLPOCEO);
/**Sets <code>value</code> as the associated entity AplPocEOImpl
public void setAplPocEO(AplPocEOImpl value) {
setAttributeInternal(APLPOCEO, value);
/**Gets the associated entity AplApproversEOImpl
public AplApproversEOImpl getAplApproversEO1() {
return (AplApproversEOImpl)getAttributeInternal(APLAPPROVERSEO1);
/**Sets <code>value</code> as the associated entity AplApproversEOImpl
public void setAplApproversEO1(AplApproversEOImpl value) {
setAttributeInternal(APLAPPROVERSEO1, value);
/**Gets the associated entity oracle.jbo.RowIterator
public RowIterator getAplShipDetailsEO() {
return (RowIterator)getAttributeInternal(APLSHIPDETAILSEO);
/**Gets the associated entity oracle.jbo.RowIterator
public RowIterator getAplShipLinesEO() {
return (RowIterator)getAttributeInternal(APLSHIPLINESEO);
public static ShipmentEntityExpert getShipmentEntityExpert (OADBTransaction txn)
return (ShipmentEntityExpert)txn.getExpert(AplShipmentsEOImpl.getDefinitionObject());
} // end getShipmentEntityExpert()
/**Gets the attribute value for MaxLineNum, using the alias name MaxLineNum
public Number getMaxLineNum()
OADBTransaction transaction = (OADBTransaction)getOADBTransaction();
*// mMaxLineNum is in its initial state, so we need to check and*
*// see if we have lines in both the entity cache and in the*
*// database to find the current maximum.*
System.out.println("Inside max line");
*//Number mMaxLineNum = (Number)getAttributeInternal(MAXLINENUM);*
System.out.println("Inside max line with line "+mMaxLineNum);
if (mMaxLineNum == null || mMaxLineNum.equals(new Number(-1)))
System.out.println("line number is null or negative");
Number tempNum = new Number(0);
com.sun.java.util.collections.Iterator fastCacheIterator =
AplShipLinesEOImpl.getDefinitionObject().getAllEntityInstancesIterator(getDBTransaction());
System.out.println("line EO "+tempNum);
while (fastCacheIterator.hasNext())
System.out.println("inside while loop");
AplShipLinesEOImpl cachedLine = (AplShipLinesEOImpl)fastCacheIterator.next();
Number currentShipmentId = getShipmentId();
Number cachedShipmentId = cachedLine.getShipmentId();
System.out.println("shipment id is "+currentShipmentId+ "cached id "+cachedShipmentId);
*// If we find a match for this line, check the shipment number. Remember*
*// that the cache includes shipments for many lines.*
if ((cachedShipmentId != null) && (cachedShipmentId.compareTo(currentShipmentId) == 0 ))
System.out.println("cached is not null inside if ");
tempNum = cachedLine.getLineNbr();
System.out.println("gettin line number temp num "+tempNum);
*// resetLineNum( ) will test the value to see if it's the current max,*
*// and if it is, set it on our private EO transient attribute.*
if (tempNum != null)
System.out.println("reset temp num");
resetLineNum(tempNum);
System.out.println("checking Entiry State "+getEntityState());
*// Now check the database if the header EO isn't new (if it is, we haven't*
*// saved it so we can't have a line in the database)*
if (getEntityState() != STATUS_NEW)
System.out.println("inside entity state");
ShipmentEntityExpert poExpert = getShipmentEntityExpert(transaction);
System.out.println("taken Entiry Expert Class");
AplMaxPoLineVVOImpl maxLineVO =
*(AplMaxPoLineVVOImpl)poExpert.findValidationViewObject("AplMaxPoLineVVO1");*
System.out.println("getting Line instance");
maxLineVO.initQuery(getShipmentId());
System.out.println("line query initialised");
if (maxLineVO != null)
System.out.println("line VO is not null");
tempNum = (Number)maxLineVO.first().getAttribute(0);
System.out.println("line tempNum"+tempNum);
if (tempNum != null)
System.out.println("line tempNum1"+tempNum);
resetLineNum(tempNum);
System.out.println("returing max line num");
return mMaxLineNum;//(Number)getAttributeInternal(MAXLINENUM);
*} // end getMaxLineNum()*
* Increments the maximum lineNum.
* <p>
* @return current maximum lineNum + 1
public Number getNextLineNum()
System.out.println("In header New Line");
Number currentMaxLineNum = getMaxLineNum();
System.out.println("current max line num is "+currentMaxLineNum);
resetLineNum(currentMaxLineNum.add(new Number(1)));
System.out.println("returning max number");
return getMaxLineNum();
} // end getNextLineNum()
* Resets the maximum line number whenever newLineNum > mMaxLineNum.
* <p>
* @param newLineNum the value to be compared against the current
* mMaxLineNum for this purchase order.
public void resetLineNum(Number newLineNum)
// Number mMaxLineNum = (Number)getAttributeInternal(MAXLINENUM);
System.out.println("inside reset LIne wiht "+newLineNum);
if (newLineNum.compareTo(mMaxLineNum) == 1)
System.out.println("setting to new "+newLineNum);
setMaxLineNum(newLineNum);
} // end resetLineNum()
private void setMaxLineNum(Number lineNum)
setAttributeInternal(MAXLINENUM, lineNum);
} // end setMaxLineNum()
krishna -
Dear All,
I am getting ORA-20001: Address_Cannot_be_Primary error while creating address record of address type US global.
While analyzing the PYUPIP trace, I found the following piece of the code is causing issue:
File : /* $Header: peusaddlh.pkb 120.0.12010000.2 2010/05/08 09:10:25 lbodired noship $ */
Package : APPS.PER_US_ADD_LEG_HOOK.CREATE_US_ADDRESS
Code check :
IF (p_style <> 'US'
AND P_PRIMARY_FLAG = 'Y'
AND csr_emp_assign%FOUND) THEN
close csr_emp_assign;
hr_utility.set_message (800, 'Address_Cannot_be_Primary');
hr_utility.raise_error;
END IF;
It seems that while applying this check the case of the US Global address style is not taken care.
It has struck the address conversion, as all the records of my client has the address style US Global.
Please suggest how it will effect if for the time being I do following code changes in the seeded package(I know it is not recommened, but can not wait for the patch).
1. Comment the whole check
2. Replace the above code with the follwoing code :
IF (p_style not in ('US','US_GLB')
AND P_PRIMARY_FLAG = 'Y'
AND csr_emp_assign%FOUND) THEN
close csr_emp_assign;
hr_utility.set_message (800, 'Address_Cannot_be_Primary');
hr_utility.raise_error;
END IF;
Looking for the prompt reply.
regards
Devender YadavDear All,
Oracle has supplied the patch 9902020 for the fix of the issue.
Now the payroll install check condition is also added in the check.
Code in the check is now like this :
IF (p_style <> 'US'
AND P_PRIMARY_FLAG = 'Y'
AND csr_emp_assign%FOUND
AND hr_general.chk_product_installed('801') = 'TRUE') THEN
close csr_emp_assign;
hr_utility.set_message (800, 'Address_Cannot_be_Primary');
hr_utility.raise_error;
END IF;
As my client has not installed the payroll, so the fix will work for us.
Thanks to all of you for your replies.
Regards
Devender Yadav
Maybe you are looking for
-
How to save library symbols' class files in packages that are not the default package?
Hi, I perform the following in Flash CS5 with Flash Builder 4 1) Create a new library symbol. 2) Do a RightClick->Properties on the new symbol 3) Check the options for "Export for ActionScript" and "Export in frame 1". 4) I write a new name for my cl
-
Error on extend an internal table, but the required space was not available
Hi All, I am trying to retrieve cost data from COVP tables, as well as the quantity, cost centre, and price unit fields from MSEG / BSEG tables. Thing is, if the AWTYP value in COVP table = 'MKPF', i have to get the data from MSEG, otherwise, I need
-
IPad and iPhone runtime errors after ios 6 update at one site I use
I use an I pad and iPhone 4S. Did iOS 6 updates and have no problems. However today I went to one site, the NGC collectors society ( registery section requiring sign in) that I use and get the following error below. I have cleared the cookies on m
-
Break execution after custom run-time error handler callback
I am using Teststand 2010 SP1 and have written a custom runtime error handler based on the ErrorHandlerExample example that ships with TestStand. It has been implemented as a StationPostStepRuntimeError callback in my Station Callbacks folder. I hav
-
Hi, We have TREX 7.0 installed in Solman. We have configured our SRM system to use TREX. Now we would like to bring the TREX server to the same system where SRM runs (SRM 4.0). So there would be a server hostname change (From SOLMAN to SRM) for TREX