Error in lead creation
Hi Experts,
Has any one used bapi- BAPI_LEAD_CREATEMULTI for creation of lead? I am trying to create lead using BAPI_LEAD_CREATEMULTI but it is throwing one or the other error and the lead is not getting created. I am passing the prospect and contact information as partners. Also, i need to pass text information.
Please check the below code and let me know where I am going wrong.
The code is as follows:
{ loop at i_inputfile into st_inputfile.
CLEAR: st_header, l_guid, l_handle, l_phandle.
l_handle = sy-tabix.
l_phandle = sy-tabix.
GUID Handle
st_header-handle = l_handle.
st_headerx-guid = c_x.
st_header-process_type = c_zald.
st_headerx-process_type = c_x.
st_header-description = st_inputfile-description.
st_headerx-description = c_x.
st_header-posting_date = sy-datum.
st_headerx-posting_date = c_x.
st_header-source = st_inputfile-source.
st_headerx-source = c_x.
st_header-lead_type = st_inputfile-lead_type.
st_headerx-lead_type = c_x.
st_header-qual_level_man = st_inputfile-qual_level_man.
st_headerx-qual_level_man = c_x.
APPEND st_header TO i_header.
APPEND st_headerx TO i_headerx.
To fill the PartnerX Structure
st_partnerx-ref_handle = c_x.
st_partnerx-ref_kind = c_x.
st_partnerx-ref_partner_handle = c_x.
st_partnerx-kind_of_entry = c_x.
st_partnerx-partner_no = c_x.
st_partnerx-partner_fct = c_x.
st_partnerx-no_type = c_x.
st_partnerx-display_type = c_x.
st_partnerx-mainpartner = c_x.
APPEND st_partnerx TO i_partnerx.
*To fill the Partner Structure
CLEAR:st_partner.
st_partner-ref_handle = l_handle.
st_partner-ref_kind = c_a.
st_partner-ref_partner_handle = l_phandle. "'0001'.
st_partner-kind_of_entry = C_C. "'C'. """""""A
clear: st_pc_exist.
READ TABLE i_pc_exist INTO st_pc_exist with key ext_id = st_inputfile-ext_id
acc_id = st_inputfile-acc_id
cnt_id = st_inputfile-cnt_id BINARY SEARCH.
IF SY-SUBRC = 0.
st_partner-partner_no = st_pc_exist-prospect.
ELSE.
st_partner-partner_no = st_inputfile-acc_id.
ENDIF.
st_partner-partner_fct = C_PROSPECT.
st_partner-no_type = C_BP. "'BP'.
st_partner-display_type = C_BP. "'BP'.
st_partner-MAINPARTNER = C_X. "'X'.
APPEND st_partner TO i_partner.
st_partner-ref_handle = l_handle.
st_partner-ref_kind = c_a.
st_partner-ref_partner_handle = l_phandle. "'0001'.
st_partner-kind_of_entry = C_C. "'C'""""""""A
IF st_pc_exist-contact IS NOT INITIAL.
st_partner-partner_no = st_pc_exist-contact.
ELSE.
st_partner-partner_no = st_inputfile-acc_id.
ENDIF.
st_partner-partner_fct = C_CONTACT.
st_partner-no_type = C_BP.
st_partner-display_type = C_BP.
st_partner-MAINPARTNER = C_X.
APPEND st_partner TO i_partner.
CLEAR: st_partner.
Fill input fields
CLEAR:st_inputfields.
st_inputfields-ref_handle = l_handle.
st_inputfields-ref_kind = c_a.
st_inputfields-objectname = c_orderadm_h.
st_inputfields-fieldname = c_process_type.
APPEND st_inputfields TO i_inputfields.
CLEAR st_inputfields.
st_inputfields-ref_handle = l_handle.
st_inputfields-ref_kind = c_a.
st_inputfields-objectname = c_lead_h.
st_inputfields-fieldname = c_source.
APPEND st_inputfields TO i_inputfields.
CLEAR st_inputfields.
st_inputfields-ref_handle = l_handle.
st_inputfields-ref_kind = c_a.
st_inputfields-objectname = c_lead_h.
st_inputfields-fieldname = c_qual_level_man.
APPEND st_inputfields TO i_inputfields.
CLEAR: st_inputfields.
st_inputfields-ref_handle = l_handle.
st_inputfields-ref_kind = c_a.
st_inputfields-objectname = c_lead_h.
st_inputfields-fieldname = c_leadtype.
APPEND st_inputfields TO i_inputfields.
CLEAR: st_inputfields.
st_inputfields-ref_handle = l_handle.
st_inputfields-ref_kind = c_a.
st_inputfields-objectname = c_lead_h.
st_inputfields-fieldname = c_description.
APPEND st_inputfields TO i_inputfields.
CLEAR: st_inputfields.
st_inputfields-ref_handle = l_handle.
st_inputfields-ref_kind = c_a.
st_inputfields-objectname = c_lead_h.
st_inputfields-fieldname = c_status.
APPEND st_inputfields TO i_inputfields.
CLEAR: st_inputfields.
st_inputfields-ref_handle = l_handle.
st_inputfields-ref_kind = c_a.
st_inputfields-objectname = c_orderadm_h.
st_inputfields-fieldname = c_posting_date.
APPEND st_inputfields TO i_inputfields.
CLEAR st_inputfields.
clear: st_header, st_inputfile.
endloop.
Simulated test run
CALL FUNCTION 'BAPI_LEAD_CREATEMULTI'
EXPORTING
TABLES
HEADERX = i_headerx
ITEMX =
PARTNERX = i_partnerx
HEADER = i_header
ITEM =
PARTNER = i_partner
TEXT = i_text
textx = i_textx
INPUT_FIELDS = i_inputfields
RETURN = i_return_l
SAVED_PROCESS = i_save. }
Help will be appreciated.
Thanks and Regards
Sangeeta.
Edited by: Sangeeta on Nov 4, 2010 5:08 AM
Edited by: Sangeeta on Nov 4, 2010 5:10 AM
Hi Sanggeta,
Samantak replied with a great tip. You can share which error is returned?
Also, you can check SM13 and tell us if there are any update request with error.
Best regards,
Caíque Escaler
Similar Messages
-
Hi,
I had created a lead. When I am going to Evaluation data tab for the questionnaire i am getting the following error.
Hostname 'iwdf9077.wdf.sap.corp' unknown/cpi-c error cm_parameter_error.
please let me know how to resolve this.
ThanksCheck in OVZ1 where for your availability check, the box is checked under the tab "Blocked".
G. Lakshmipathi -
Lead Creation Error thro ABAP Code
Hi CRM ABAP Experts,
I have written a code for lead creation by referring SDN Code. when i execute code , lead is created and transaction get saved in to system. but atlast one error comes. plz help me. when i pass testrun = 'X' then i am not getting error but lead trasaction is not created. and when i passedtestrun = blank then lead is created but gives below error.Below error i am facing.
Short text
An exception occurred that was not caught.
What happened?
The exception 'CX_OS_OBJECT_NOT_FOUND' was raised, but it was not caught
anywhere along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_METHODCALL_PPF=============CP' has to be
terminated.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_OS_OBJECT_NOT_FOUND', was not
caught in
procedure "IF_MEDIUM_PPF~EXECUTE" "(METHOD)", 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:
Could not find the referenced object with the OID
"00000000000000000000000000000000" (instance GUID) and
My Code is as follows
DATA: it_HEADER type standard table of BAPIBUS2000108_HEADER_INS.
DATA: wa_HEADER like line of it_HEADER.
DATA:it_ORGANISATION TYPE STANDARD TABLE OF BAPIBUS20001_ORGMAN_INS,
wa_ORGANISATION LIKE LINE OF it_ORGANISATION.
DATA: it_partner type table of BAPIBUS20001_PARTNER_INS.
DATA: wa_partner like line of it_partner.
DATA:HEADERX TYPE STANDARD TABLE OF BAPIBUS2000108_HEADER_INSX,
st_headerx TYPE bapibus2000108_header_insx,
PARTNERX TYPE STANDARD TABLE OF BAPIBUS20001_PARTNER_INSX,
st_partnerx TYPE bapibus20001_partner_insx,
i_orgx TYPE STANDARD TABLE OF BAPIBUS20001_ORGMAN_INSX,
st_orgx TYPE bapibus20001_orgman_insx,
i_save TYPE TABLE OF bapibus20001_object_id,
i_return TYPE TABLE OF bapiret2,
DATEX TYPE STANDARD TABLE OF BAPIBUS20001_APPOINTMENT_INSX.
DATA:i_itemx TYPE TABLE OF bapibus20001_item_insx,
i_item TYPE TABLE OF bapibus20001_item,
st_itemx TYPE bapibus20001_item_insx,
st_item TYPE bapibus20001_item,
i_schedulex TYPE TABLE OF bapibus20001_schedlinx,
i_schedule TYPE TABLE OF bapibus20001_schedlin,
st_schedulex TYPE bapibus20001_schedlinx,
st_schedule TYPE bapibus20001_schedlin.
DATA :c_x TYPE char01 VALUE 'X',
TESTRUN type BAPIFLAG-BAPIFLAG.
data i_input TYPE TABLE OF bapibus20001_input_fields.
data st_input TYPE bapibus20001_input_fields.
DATA:ORG_NO TYPE OBJEKTID,
PARTNER_NO1 TYPE BU_PARTNER,
CUST_BP TYPE BU_PARTNER,
SALE_OFF TYPE CRMT_SALES_ORG_RESP.
DATA:msg TYPE ZRETURN_ERROR.
DATA:w_item TYPE CRMT_ITEM_NO,
w_handle TYPE CRMT_HANDLE.
CLEAR:st_headerx.
st_headerx-handle = c_x.
st_headerx-process_type = c_x.
st_headerx-DESCR_LANGUAGE = c_x.
st_headerx-POSTING_DATE = c_x.
st_headerx-lead_type = c_x.
st_headerx-importance = c_x.
st_headerx-source = c_x.
APPEND st_headerx TO headerx.
CLEAR wa_header.
wa_HEADER-HANDLE = '0000000001'.
wa_HEADER-PROCESS_TYPE = 'ZCDL'.
wa_HEADER-DESCR_LANGUAGE = 'EN'.
wa_HEADER-POSTING_DATE = '20100603'.
wa_HEADER-IMPORTANCE = '5'.
wa_HEADER-SOURCE = '019'.
wa_HEADER-LEAD_TYPE = '0016'.
APPEND WA_HEADER TO IT_HEADER.
CLEAR:st_input.
st_input-ref_handle = '0000000001'.
st_input-ref_kind = 'A'.
st_input-objectname = 'ORDERADM_H'.
st_input-fieldname = 'PROCESS_TYPE'.
APPEND st_input TO i_input.
CLEAR st_input.
st_input-ref_handle = '0000000001'.
st_input-ref_kind = 'A'.
st_input-objectname = 'LEAD_H'.
st_input-fieldname = 'SOURCE'.
APPEND st_input TO i_input.
st_input-fieldname = 'IMPORTANCE'.
APPEND st_input TO i_input.
st_input-fieldname = 'LEAD_TYPE'.
APPEND st_input TO i_input.
*To fill the Organization X Structure
CLEAR:st_orgx.
st_orgx-ref_handle = c_x.
st_orgx-ref_kind = c_x.
st_orgx-dis_channel = c_x.
st_orgx-sales_org_resp = c_x.
APPEND st_orgx TO i_orgx.
*To fill the Organization Structure
CLEAR:wa_ORGANISATION.
wa_ORGANISATION-ref_handle = '0000000001'.
wa_ORGANISATION-ref_kind = 'A'.
wa_ORGANISATION-dis_channel = '01'.
wa_ORGANISATION-sales_org_resp = 'O 50000041'.
APPEND wa_ORGANISATION TO it_ORGANISATION.
*Fill input fields for Organization data
CLEAR st_input.
st_input-ref_handle = '0000000001'.
st_input-ref_kind = 'A'.
st_input-objectname = 'ORGMAN'.
st_input-fieldname = 'DIS_CHANNEL'.
APPEND st_input TO i_input.
st_input-fieldname = 'SALES_ORG'.
APPEND st_input TO i_input.
*To fill the Partner X Structure
st_partnerx-ref_handle = c_x.
st_partnerx-ref_kind = c_x.
st_partnerx-ref_partner_handle = c_x.
st_partnerx-kind_of_entry = c_x.
st_partnerx-partner_no = c_x.
st_partnerx-partner_fct = c_x.
st_partnerx-no_type = c_x.
st_partnerx-display_type = c_x.
st_partnerx-MAINPARTNER = c_x.
APPEND st_partnerx TO partnerx.
*To fill the Partner Structure
*CLEAR:wa_partner.
*wa_partner-ref_handle = '0000000001'.
*wa_partner-ref_kind = 'A'.
*wa_partner-ref_partner_handle = '0001'.
*wa_partner-kind_of_entry = 'C'. """""""A
*wa_partner-partner_no = '62563'.
*wa_partner-partner_fct = '00000022'.
*wa_partner-no_type = 'BP'.
*wa_partner-display_type = 'BP'.
*wa_partner-MAINPARTNER = 'X'.
*APPEND wa_partner TO it_partner.
CLEAR:wa_partner.
wa_partner-ref_handle = '0000000001'.
wa_partner-ref_kind = 'A'.
wa_partner-ref_partner_handle = '0001'.
wa_partner-kind_of_entry = 'C'. """""""A
wa_partner-partner_no = '62564'.
wa_partner-partner_fct = '00000021'.
wa_partner-no_type = 'BP'.
wa_partner-display_type = 'BP'.
wa_partner-MAINPARTNER = 'X'.
APPEND wa_partner TO it_partner.
CLEAR:wa_partner.
wa_partner-ref_handle = '0000000001'.
wa_partner-ref_kind = 'A'.
wa_partner-ref_partner_handle = '0001'.
wa_partner-kind_of_entry = 'C'. """"""""A
wa_partner-partner_no = '71024'.
wa_partner-partner_fct = 'ZCDLSM'.
wa_partner-no_type = 'BP'.
wa_partner-display_type = 'BP'.
wa_partner-MAINPARTNER = 'X'.
APPEND wa_partner TO it_partner.
*Fill input fields for Partner data
CLEAR st_input.
st_input-ref_handle = '0000000001'.
st_input-ref_kind = 'A'.
st_input-objectname = 'PARTNER'.
*st_input-logical_key = w_logickey_partner.
st_input-fieldname = 'DISPLAY_TYPE'.
APPEND st_input TO i_input.
st_input-fieldname = 'KIND_OF_ENTRY'.
APPEND st_input TO i_input.
st_input-fieldname = 'NO_TYPE'.
APPEND st_input TO i_input.
st_input-fieldname = 'PARTNER_FCT'.
APPEND st_input TO i_input.
st_input-fieldname = 'PARTNER_NO'.
APPEND st_input TO i_input.
st_input-fieldname = 'MAINPARTNER'.
APPEND st_input TO i_input.
*To fill the Item X Structure
st_itemx-handle = c_x.
st_itemx-header_handle = c_x.
st_itemx-ordered_prod = c_x.
st_itemx-number_int = c_x.
st_item-mode = c_x.
APPEND st_itemx TO i_itemx.
*To fill Schedule line X Structure
st_schedulex-item_handle = c_x.
st_schedulex-handle = c_x.
st_schedulex-quantity = c_x.
st_schedulex-logical_key = c_x.
APPEND st_schedulex TO i_schedulex.
CLEAR: w_item, w_handle.
w_item = '0000000010'.
*To fill the Item Structure
w_handle = 1.
st_item-handle = w_handle.
st_item-header_handle = '0000000001'.
st_item-ordered_prod = '400000120' .
st_item-number_int = w_item.
st_item-mode = 'A'.
APPEND st_item TO i_item.
*To fill Schedule line Structure
DATA:qty TYPE CRMT_SCHEDLIN_QUAN VALUE '1'.
st_schedule-item_handle = w_handle.
st_schedule-quantity = qty.
APPEND st_schedule TO i_schedule.
*Fill input fields for Item data
CLEAR st_input.
st_input-ref_handle = w_handle.
st_input-ref_kind = 'B'.
st_input-objectname = 'ORDERADM_I'.
st_input-fieldname = 'MODE'.
APPEND st_input TO i_input.
st_input-fieldname = 'NUMBER_INT'.
APPEND st_input TO i_input.
st_input-fieldname = 'ORDERED_PROD'.
APPEND st_input TO i_input.
Fill input fields for schedule line data
CLEAR st_input.
st_input-ref_handle = w_handle.
st_input-ref_kind = 'B'.
st_input-objectname = 'SCHEDLIN'.
st_input-fieldname = 'LOGICAL_KEY'.
APPEND st_input TO i_input.
st_input-fieldname = 'QUANTITY'.
APPEND st_input TO i_input.
CLEAR testrun.
*Testrun = 'X'.
CALL FUNCTION 'BAPI_LEAD_CREATEMULTI'
EXPORTING
TESTRUN = Testrun
TABLES
HEADERX = headerx
PARTNERX = partnerx
ORGANISATIONX = i_orgx
itemx = i_itemx
sched_linx = i_schedulex
HEADER = it_header
ORGANISATION = it_ORGANISATION
PARTNER = it_partner
item = i_item
SCHED_LIN = i_schedule
INPUT_FIELDS = i_input
RETURN = i_return
SAVED_PROCESS = i_save .
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'x'.
IF SY-SUBRC = 0.
IF sy-subrc = 0.
ENDIF.
ENDIF.Hi,
Look at the post. No one will be able to understand anything out of this. Kindly Repaste code using markup.
Regards,
Harsh.
Edited by: Harsh Saxena on Aug 28, 2010 11:40 AM -
RC-00118: Error occurred during creation of database
adcrdb.sh started at Mon Nov 14 16:16:13 EAT 2011
The environment settings are as follows ...
ORACLE_HOME : /u04/d01/tech_st/11.2.0
ORACLE_SID : JCLONE
TWO_TASK :
PATH : /usr/bin:/u04/d01/tech_st/11.2.0/bin:/usr/bin:/usr/sbin:/u0 4/d01/tech_st/11.2.0/jdk/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/u04/ d01/tech_st/11.2.0/appsutil/clone/bin/../jre/jre/bin:/usr/lib/qt-3.3/bin:/usr/ke rberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbi n:/usr/bin:/usr/X11R6/bin:/root/bin:.
LD_LIBRARY_PATH : /u04/d01/tech_st/11.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib :/u04/d01/tech_st/11.2.0/ctx/lib
Executable : /u04/d01/tech_st/11.2.0/bin/sqlplus
The log information will be written to
/u04/d01/tech_st/11.2.0/appsutil/log/JCLONE_oracle/adcrdb_JCLONE.txt
Creating the control file for JCLONE_oracle database ...
SQL*Plus: Release 11.2.0.2.0 Production on Mon Nov 14 16:16:13 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1348968 bytes
Variable Size 427821720 bytes
Database Buffers 629145600 bytes
Redo Buffers 13017088 bytes
CREATE CONTROLFILE REUSE SET DATABASE "JCLONE"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01159: file is not from same database as previous files - wrong database id
ORA-01110: data file 1: '/u04/d01/apps_st/data/system01.dbf'
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP add tempfile '/u04/d01/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "JCLONE.jtl.co.ke"
ERROR at line 1:
ORA-01109: database not open
ORA-01507: database not mounted
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1348968 bytes
Variable Size 427821720 bytes
Database Buffers 629145600 bytes
Redo Buffers 13017088 bytes
Database mounted.
BEGIN dbms_backup_restore.zeroDbid(0); END;
ERROR at line 1:
ORA-01119: error in creating database file
'/u04/d01/tech_st/11.2.0/dbs/MISSING00015'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4754
ORA-06512: at line 1
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1348968 bytes
Variable Size 427821720 bytes
Database Buffers 629145600 bytes
Redo Buffers 13017088 bytes
CREATE CONTROLFILE REUSE SET DATABASE "JCLONE"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01159: file is not from same database as previous files - wrong database id
ORA-01110: data file 1: '/u04/d01/apps_st/data/system01.dbf'
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP add tempfile '/u04/d01/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "JCLONE.jtl.co.ke"
ERROR at line 1:
ORA-01109: database not open
Error Running create/replace library with adupdlib.sql
ORA-01109: database not open
PL/SQL procedure successfully completed.
File created.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Pr oduction
With the Partitioning, OLAP, Data Mining and Real Application Testing options
exit_code=0
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 11.2.0.2.0 Production on Mon Nov 14 16:16:32 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected.
ORACLE instance shut down.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Pr oduction
With the Partitioning, OLAP, Data Mining and Real Application Testing options
.end std out.
.end err out.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : oracle
sDbDomain : jtl.co.ke
sDbPort : 1524
sDbSid : JCLONE
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@oracle.jtl.co.ke:1524:JCLONE
Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle .jtl.co.ke)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=JCLONE)))
Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle .jtl.co.ke)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=JCLONE.jtl.co.ke)))
Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
StackTrace:
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:661)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:595)
Current database Version is 11.2.0.2
Apps Version is 11.5.10.2
RUP version is 6
Forms Patchset version is 19
Please advise how to resolve this error ?
Regards
Mohammed.Please refer to these docs/links.
Troubleshooting RapidClone issues with Oracle Applications 11i [ID 364565.1]
Adcfgclone.pl DBTier is failing with error for dbms_backup_restore.zeroDbid(0) [ID 361157.1]
https://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-01503+AND+ORA-01159+AND+ORA-01110&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Hi...
I am passing the values of the fields SOURCE and IMPORTANCE in the exporting parameter IT_LEAD_H to the FM CRM_ORDER_MAINTAIN while lead creation...When I check the CRM_LEADH table I find that these values arent gettin reflected ...The guid and the leadtype are gettin saved but the values of these two fields are not present...This is the code I'm using.....
CT_ORDERADM_H
ls_orderadm_h-handle = '1'.
. ls_orderadm_h-PROCESS_TYPE = 'LEAD'.
ls_orderadm_h-mode = 'A'.
INSERT ls_orderadm_h INTO TABLE lt_orderadm_h.
build table with change fields
FREE lt_input_field_names.
ls_input_field_names-fieldname = 'PROCESS_TYPE'.
INSERT ls_input_field_names INTO TABLE lt_input_field_names.
ls_input_field_names-fieldname = 'MODE'.
INSERT ls_input_field_names INTO TABLE lt_input_field_names.
CLEAR ls_input_fields.
ls_input_fields-ref_handle = '1'.
ls_input_fields-objectname = 'ORDERADM_H'.
ls_input_fields-field_names = lt_input_field_names.
INSERT ls_input_fields INTO TABLE ct_input_fields.
CRMT_LEAD_H_COMT
IF IT_LEAD_H IS INITIAL.
ls_lead_h-ref_handle = '1'.
ls_lead_h-SOURCE = '002'.
ls_lead_h-IMPORTANCE = '2'.
ENDIF.
INSERT ls_lead_h INTO TABLE lt_lead_h.
build table with change fields
FREE lt_input_field_names.
IF ls_lead_h-SOURCE IS NOT INITIAL.
ls_input_field_names-fieldname = 'SOURCE'.
INSERT ls_input_field_names INTO TABLE lt_input_field_names.
ENDIF.
IF ls_lead_h-IMPORTANCE IS NOT INITIAL.
ls_input_field_names-fieldname = 'IMPORTANCE'.
INSERT ls_input_field_names INTO TABLE lt_input_field_names.
ENDIF.
CLEAR ls_input_fields.
ls_input_fields-ref_handle = '1'.
ls_input_fields-ref_kind = 'A'.
ls_input_fields-objectname = 'LT_LEAD_H'.
ls_input_fields-field_names = lt_input_field_names.
INSERT ls_input_fields INTO TABLE ct_input_fields.
IT_STATUS
IF is_status IS INITIAL.
ls_status-ref_handle = '1'.
ls_status-status = STATUS.
ls_status-user_stat_proc = 'CRMLEAD'.
ls_status-activate = 'X'.
ls_status-process = 'ACCI'.
ENDIF.
INSERT ls_status INTO TABLE lt_status.
build table with change fields
FREE lt_input_field_names.
IF ls_status-status IS NOT INITIAL.
ls_input_field_names-fieldname = 'STATUS'.
INSERT ls_input_field_names INTO TABLE lt_input_field_names.
ENDIF.
IF ls_status-activate IS NOT INITIAL.
ls_input_field_names-fieldname = 'ACTIVATE'.
INSERT ls_input_field_names INTO TABLE lt_input_field_names.
ENDIF.
CLEAR ls_input_fields.
ls_input_fields-ref_handle = '1'.
ls_input_fields-ref_kind = 'A'.
ls_input_fields-objectname = 'STATUS'.
ls_input_fields-field_names = lt_input_field_names.
INSERT ls_input_fields INTO TABLE ct_input_fields.
ENDIF.
bring changed fields with values to object layer
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
it_lead_h = lt_lead_h
it_survey = it_survey
it_status = lt_status
CHANGING
ct_orderadm_h = lt_orderadm_h
ct_orderadm_i = lt_orderadm_i
ct_input_fields = ct_input_fields
EXCEPTIONS
error_occurred = 1
document_locked = 2
no_change_allowed = 3
no_authority = 4
OTHERS = 5.
Are there any other parameters that I have to pass?Plz suggest a solution for this......Hi Francois,
Thank you for looking into the issue. Your first response was did you try get_form_field. Yes I did, and it did not work. I realised later (hopefully correctly) that get_form_field will work only if the field below is treated as an input field within <htmlb:form> and </htmlb:form>.
I shall re-explain the scenario. In default.htm, I enter an IDoc Number(input field) and click submit button. In the <form action > I have mentioned idoc.htm page. In idoc.htm, in On Initialization , I create a tree.
Method of creating tree
a) I create a table of type TVIEWNODE and populate the relevant details, except for the link field. The parameters that needs to be passed to the next page is a structure. In order to achieve this(I found this method in one of the posts in the forum),
Step I -- Serialize the structure data using CL_BSP_UTILITY=>SERIALIZE_DATA and fill a table LT_PARAMETER_LIST.
Step II -- I then construct a URL using CL_BSP_RUNTIME=>IF_BSP_RUNTIME~CONSTRUCT_BSP_URL passing APPLICATION NAME, 'SEGMENT.HTM' and table LT_PARAMETER_LIST.
Step III -- This method returns a URL which is then appended in the TVIEWNODE table and the tree is created.
The tree is created perfectly and the links are perfect as well.
However as mentioned in my earlier post when I click on the link, the URL shows all the attributes but I am not able to fetch the same using GET_ATTRIBUTE method or GET_FORM_DATA method.
Next point mentioned was create an attribute. This is an interesting point that you have mentioned. In page attributes, when I try pa_s_idoc-segnam, it mentions special characters not allowed.
I will explore the possibility of creating fields of internal table as page attributes i.e. using SEGNAM instead of pa_s_idoc-SEGNAM and then pass values to these.
If there are any other solutions do let me know.
Thanks again, Francois. -
Error occured during creation of oracle snapshot
Dear All,
I am getting error messange in my SAP Inbox in t.code SBWP.
In SBWP, the nessage text is as follow.
=============================
Error occured during creation of oracle snapshot (Creation aborted)
(Log see also transaction SLG1, Object ORASNAP, Subobject ORASNAPCR)
Oracle snapshot creation program aborted
Error while copying from oracle view to SAP table
Oracle view SAP$KCBFWAIT
SAP table ORA_SAPKCBFWAIT
Return code (ORA-....) 942
You tried to work with the name of a table or view that does not exist in the database
The table does not exist on the database. A table name or view name was used that does not exist on the database.
===============================
I also check in T.Code SLG1, but i am not getting the reason for this error.
Regards,
NisitHi,
Check each of the following :
the spelling of the table or view name.
that a view is not specified where a table is required.
that an existing table or view name exists.
Contact the database administrator if the table needs to be created or if user or application privileges are required to access the table.
Also, if attempting to access a table or view in another schema, make certain the correct schema is referenced and that access to the object is granted.
Regards
Krishna -
Error during PO creation "Total BED % rate exceeds 100 % "
Hi.
Its concerned to Indian Excice.
Error during the creation of PO is " Total BED % rate exceeds 100 % " ,
( Message no. 8I453).
And you pls note in J1ID its 16% maintained for that perticular chapter id and its 100% for BED in tax code.
Can you pls tell me the reason for this error.
RegdsHi Santosh,
362 is not maintained for BASB,but its maintained for condition type JMO1(IN:A/P BED Deductable) & JMO2(IN: A/P BED non deduct )in <b>AltCTy</b> field.
And For BASB 605 is maintained in the field AltCBV.
Can you Pls explain the significance of this alternative calculation type.
Regds -
Hi all,
I am getting an error in Jcos creation.This is tyhe error I am facing.I checked evrything.Evrything seems ok.But i am getting the belwo error.
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=zimssap GROUP=PUBLIC R3NAME=PRD MSSERV=sapmsPRD PCS=1 ERROR timeout while pending for route completion TIME Tue Jan 06 20:21:50 2009 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -12 DETAIL NiErrSet COUNTER 1
I configured sld so many times but never faced this issue.Some starnge error .Timeout oending for route completion.Please let me know what could be the problem?
Thanks and reagrds,
RajeshHi
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION:
RFC_ERROR_COMMUNICATION | Unknown host
RFC_ERROR_COMMUNICATION - time out
Thanks,
Tulasi -
RC-00118: Error occurred during creation of database Raised by oracle.apps.
Hi Experts,
Please note i am doing the clonning from production to test server.
Production Server -
1. Run the adpreclone.pl on the apps & db tier.
2. run the autoconfig on the apps and db tier.
3. shut down the production instance.
4. Moved the files and started the clonning process on the db tier i am getting the below issue.
My current E-Business Suit Version is R12.0.4 Database Version is 10.2.0.3. Operating system is SUN SPARC 64 BIT SUN SOLARIS 10.
Executing CreateDB...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : proddb
sDbDomain : clientdomain
sDbPort : 1530
sDbSid : TEST
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@proddb.clientdomain:1530:TEST
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
adcrdb.sh started at Wed Mar 21 18:09:54 WAT 2012
The environment settings are as follows ...
ORACLE_HOME : /erptestdata2/u01/d01/tech_st/10.2.0
ORACLE_SID : TEST
TWO_TASK :
PATH : /erptestdata2/u01/d01/tech_st/10.2.0/perl/bin:/erptestdata2/u01/d01/tech_st/10.2.0/bin:/usr/ccs/bin:/usr/sbin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/jre/bin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/sbin:/usr/bin:/opt/EMCpower/bin:/etc/emc/bin:/etc:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,SPARC-Enterprise/sbin:/opt/sun/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin
LD_LIBRARY_PATH : /erptestdata2/u01/d01/tech_st/10.2.0/lib:/usr/dt/lib:/usr/openwin/lib:/erptestdata2/u01/d01/tech_st/10.2.0/ctx/lib:/erptestdata2/u01/d01/tech_st/10.2.0/lib32
Executable : /erptestdata2/u01/d01/tech_st/10.2.0/bin/sqlplus
The log information will be written to
/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/log/TEST_proddb/adcrdb_TEST.txt
Creating the control file for TEST_proddb database ...
SQL*Plus: Release 10.2.0.3.0 - Production on Wed Mar 21 18:09:54 2012
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 2035496 bytes
Variable Size 432017624 bytes
Database Buffers 624951296 bytes
Redo Buffers 14737408 bytes
CREATE CONTROLFILE REUSE SET DATABASE "TEST"
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 31: '/erptestdata2/u01/d01/apps_st/data/olap.dbf'
ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/odm.dbf'
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp03.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp04.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp10a5.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "TEST.clientdomain"
ERROR at line 1:
ORA-01109: database not open
ORA-01507: database not mounted
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 2035496 bytes
Variable Size 432017624 bytes
Database Buffers 624951296 bytes
Redo Buffers 14737408 bytes
ORA-00205: error in identifying control file, check alert log for more info
BEGIN dbms_backup_restore.zeroDbid(0); END;
ERROR at line 1:
ORA-00210: cannot open the specified control file
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4168
ORA-06512: at line 1
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 2035496 bytes
Variable Size 432017624 bytes
Database Buffers 624951296 bytes
Redo Buffers 14737408 bytes
CREATE CONTROLFILE REUSE SET DATABASE "TEST"
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 31: '/erptestdata2/u01/d01/apps_st/data/olap.dbf'
ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/odm.dbf'
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp03.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp04.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp10a5.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "TEST.clientdomain"
ERROR at line 1:
ORA-01109: database not open
Error Running create/replace library with adupdlib.sql
ORA-01109: database not open
PL/SQL procedure successfully completed.
File created.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
exit_code=0
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 10.2.0.3.0 - Production on Wed Mar 21 18:10:16 2012
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected.
ORACLE instance shut down.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
.end std out.
.end err out.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : proddb
sDbDomain : clientdomain
sDbPort : 1530
sDbSid : TEST
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@proddb.clientdomain:1530:TEST
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
Please advise ASAP.
Regards
Mohammed.Nikki,
Check alert<SID>.log file for more details about the error.
It looks like that the source database was not cleanly shutdown before copying the files to the target node. Please do the following and check then:
SQL> connect / as sysdba
SQL> startup mount;
SQL> recover database using backup controlfile until cancel;
-- type CANCEL
SQL> alter database open resetlogs; If the above does not help, then shutdown the source database normally (make sure it is down), re-copy the files and start the cloning process again. -
Oracle R12 Clone failing with RC-00118 Error occurred during creation of...
Im encountering the above error message i have seen the below thread which looks like the same issue, i was wondering if someone could confirm if the clone process requires an off-line backup on the source system for the clone process to work. Currently i'm using a tape backup which runs overnight, the system is up at the time of backup.
RC-00118: Error occurred during creation of database
Thanksthanks for quick response, its a hot backup.
the steps ive followed are
1. adpreclone on source
2. apps,db,inst directories deleted on destination. (after services have of course been shutdown)
3. oracle variables removed from path
4. backup restored from tape
5. deleted program files/oracle/inventory directory
6. on cmd window run set PERL5LIB=
followed by perl adcfgclone.pl dbTier
is there anything ive missed? -
RC-00118: Error occurred during creation of databas
On 11.5.9 with windows, while running the clone with the following command:
perl adcfgclone.pl dbTier
The following error occurs:
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 581506616 bytes
Fixed Size 452152 bytes
Variable Size 402653184 bytes
Database Buffers 167772160 bytes
Redo Buffers 10629120 bytes
Control file created.
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/u1/TEST/testora/testdata/system01.dbf'
alter tablespace TEMP add tempfile '/u1/TEST/testora/testdata/temp01.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
alter tablespace TEMP add tempfile '/u1/TEST/testora/testdata/temp02.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "TEST.zexsa.com"
ERROR at line 1:
ORA-01109: database not open
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
StackTrace:
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:658)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:479)
I found note no. 375389.1 similar to this issue.
Any body guide me, about solution no-1, how i can apply it.
after running perl adcfgclone.pl dbTier
my DB is on above mentioned stage....SQL*Plus: Release 10.2.0.4.0 - Production on Sun Feb 13 21:52:19 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1271540 bytes
Variable Size 427821324 bytes
Database Buffers 633339904 bytes
Redo Buffers 11309056 bytes
Database mounted.
SQL> recover database using backup controlfile until cancel;
ORA-00283: recovery session canceled due to errors
ORA-00600: internal error code, arguments: [kcvhvdf_1], [], [], [], [], [], [],
SQL> -
An error occurred during creation of the central repository. (BODI-300020)
I am trying to create a central repository for Data Service, the following error appear
Creating repository... (BODI-300026)
Reading SQL file <C:\BO\DataServices_12\admin\repo\MSSQL\ms.sql>. (BODI-20001)
Executing SQL file <C:\BO\DataServices_12\admin\repo\MSSQL\ms.sql>. (BODI-20002)
Reading SQL file <C:\BO\DataServices_12\admin\repo\MSSQL\ms_content.sql>. (BODI-20001)
Executing SQL file <C:\BO\DataServices_12\admin\repo\MSSQL\ms_content.sql>. (BODI-20002)
Reading SQL file <C:\BO\DataServices_12\Admin\repo\options.sql>. (BODI-20001)
Executing SQL file <C:\BO\DataServices_12\Admin\repo\options.sql>. (BODI-20002)
Verifying repository... (BODI-300077)
Importing objects... (BODI-300036)
Adding Data Quality new substitution configuration... (BODI-300133)
An error occurred during creation of the central repository. (BODI-300020)
It's a sql DBMS, and the default user language is spanish, during the installation was the same issue.
The first installation user language was english and everything was ok, then the default user anguage was set to spanish and the jobs crashed because an english format was sent to the al_history table. I tried to recreate the repository and an error ocurrer during the creation.
has someone faced the same problem?what is the version of Data Services ? if its 12.2, then there was a bug that is fixed in 12.2 SP1 (12.2.1.0), apply the SP1 or it would be better if you apply the latest fix pack for 12.2 i.e 12.2.1.2
the problem was with date format used in insert was different than the user's default date format. -
Cloning Issue RC-00118: Error occurred during creation of database
Friends,
I execute following scripts on source system preclone.pl dbTier &perl adpreclone.pl appsTier
then take the cold source backup and transfer on another machine for cloning but when i am executing cloning script on db tier i am getting below mention error after 50% completion. I have very limited time and i cant go back on source system for fresh backup, please help me to sort out his issue.
-------------------ADX Database Utility Finished--------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
StackTrace:
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.doConf(ApplyData
at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDat
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyData
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier
at sun.reflect.NativeConstructorAccessorImpl.newInstan
at sun.reflect.NativeConstructorAccessorImpl.newInstan
at sun.reflect.DelegatingConstructorAccessorImpl.newIn rce)
at java.lang.reflect.Constructor.newInstance(Unknown S
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneP
at java.lang.Thread.run(Unknown Source)
Hopes you will support.
Regards
Irfan Ahmadplz check :
http://doganayn.blogspot.in/2013/11/rc-50004-fatal-error-occurred-in.html
Rapid Clone Failed While Running "Adcfgclone.pl dbTier": ORA-01194 and RC-00118 (Doc ID 375389.1)
Troubleshooting RapidClone issues with Oracle Applications R12 (Doc ID 603104.1)
Troubleshooting RapidClone issues with Oracle Applications 11i (Doc ID 364565.1)
Regards,
Haafiz -
Throw error during PO creation if a material is not extended to storage loc
Hi,
Users require for SAP to throw an error during PO creation if a material is not extended to the storage location that is entered on the PO.
Presently it neither gives warning or error message.
Please advise.
Regards,
PratapSAP does not validate that, if you want it, then you have to do such check in a user exit.
SAP can be customized to create the material master storage location segment itself when posting the goods receipt, so it is not necessary to check this in the PO.
Further this design speeds up the process, you can already order before others have finished the material master maintenance. -
hi,
i am getting an error while delivery creation for qty 2.The error is "Only 0 EA of material xxxx available".
The schedule line cat in this case is cp and avalibility check is carried out and confirmed qty is given on some date ahead.
User then runs the MRP and PR is created .
Then the user creates a PO but not with ref to the PR created from above,instead the user creates a SO assigned PO and then creates GR which is SO assigned.
Now when the user is trying to create delivery the erroe is "Only 0 EA of material xxxx available".
Pl tell me why am i getting this error inspite of having the qty against the SO?
Is it because a PR is generated from the MRP run for tht order and we have no GR agaist tht PR?Where do u i check this settingHi,
In SAP there is no stock available for that material. That is the reason it is showing that message..
Please check MMBE t.code stock overview for that material. I think sales order scheduleline date is showing some other date.becuase today there is no stock so u will be not able to create any delvery. So please create delivery only on confirmed schdulines date....
Other wise do stock posting and then do availability check then try to create delivery...
Regards
sankar
Edited by: sankar sankar on Jul 1, 2008 1:10 PM
Maybe you are looking for
-
I had alot of bookmarks and passwords on my firefox sync. However, I rebooted my computer a few days ago and now when I clicked on "Merge sync data" my data still does not appear and it seems like everything has been deleted. Can I restore this data?
-
Error retrieving Certificate from Default JKS in PI 7.1 WAS JAVA
Hi everyone. I'm trying to retrieve a Certificate from the Default JKS of a WAS Java (PI 7.1). Java code follows: +InitialContext ctx = new InitialContext(ctxProp); + Object o = (Object) ctx.lookup("keystore"); KeyStoreManager manager =
-
Hi, When I try to send a mail from my app it is throwing javax.mail.SendFailedException: Sending failed; nested exception is: class javax.mail.SendFailedException: Invalid Addresses; nested exception is: class javax.mail.SendFailedException
-
What is the correct sequence for the install of discoverer that is bundled with 10gias. do i have to install the database first ect database10g appserver10g discoverer10g
-
Using .DLL in a JSP application
Hi, I have a dll component wrote with Visual Basic 6.0, and i'm thinking in reutilize it in a JSP project. Is it possible?? How could i do? Please give me some tips! []�s Cas�