Database not creating using DBCA
Hi,
I installed oracle on solaris 10 sparc system
when i try to create a database using dbca, it is not creating.
after i click on finish button on dbca to create a database, database creating windows is not opening, i mean it is in same window, i clicked thousand times on that finish button, no windows is opening, nothing is happening.
please help, i will really appreciate if anyone tell me how to resolve this issue.
Regards,
Veeresh S
solaris server is 64 sparc
and i installed oracle 10.2.0.1 64 bit for sparc 64
now this is not working.
can i install oracle 10.2.0.2 x86 in this sparc 64 bit server
Similar Messages
-
Invoking a web service not created using oracle web service lib
Hi All,
I have a need to invoke my web service from oracle sql command. My web service not created using oracle web service library, but it is created using axis c++ libraries. Is it possible to do so,
Thanks in advance,
Regards,
MonicaIn order to call out from the database process, is SQL (or PL/SQL) you need to generate some client code, that understand the details about the specific of the service you want to invoke and can produce the correct SOAP request. Once this proxy is uploaded in the Database, you can use it.
There is a set of Database Web services samples that should help you get started. You can also take a look at the developer's guide - see Developing a Web Service Client in the Database.
Hope it answers your question.
--eric -
I have problem sending a email ..spool not created using custom FM
Hi experts,
i have problem sending a email ..spool not created using custom FM...this the custom FM
* Send email notification
lv_subject = text-037.
lv_attachment = text-038.
CALL FUNCTION 'Z_SEND_EMAIL_FROM_SPOOL'
EXPORTING
email1 = lv_email1
email2 = lv_email2
email3 = lv_email3
subject = lv_subject
attachment_name = lv_attachment
EXCEPTIONS
spool_not_created = 1
OTHERS = 2.
Source code
this is the source code for this FM
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
PERFORM convert_spool_to_pdf.
IF sy-subrc IS NOT INITIAL.
MESSAGE e040(zhrcd) RAISING spool_not_created.
ENDIF.
PERFORM process_email USING email1
email2
email3
subject
attachment_name.
WAIT UP TO 5 SECONDS.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.....
Please let me know
Edited by: Thomas Zloch on Nov 16, 2010 5:53 PM - please use code tagsHi srinivas ,
Could you please Check
FORM summary_report .
DATA: lv_success TYPE i,
lv_error TYPE i,
lv_total TYPE i.
DESCRIBE TABLE gt_data LINES lv_success.
DESCRIBE TABLE gt_error LINES lv_error.
DESCRIBE TABLE gt_message LINES lv_error.
lv_total = lv_success + lv_error.
lv_total = lv_success.
gwa_summary-record = text-008."Number of Successful records.
gwa_summary-number = lv_success.
APPEND gwa_summary TO gt_summary.
gwa_summary-record = text-009."Number of error records'.
gwa_summary-number = lv_error.
APPEND gwa_summary TO gt_summary.
gwa_summary-record = text-010."Total number of records processed.
gwa_summary-number = lv_total.
APPEND gwa_summary TO gt_summary.
CLEAR gt_fieldcat.
gwa_fieldcat_summ-col_pos = 1 .
gwa_fieldcat_summ-fieldname = 'RECORD'.
gwa_fieldcat_summ-tabname = 'GT_SUMMARY'.
gwa_fieldcat_summ-seltext_l = text-011."Records
gwa_fieldcat_summ-outputlen = '70'.
APPEND gwa_fieldcat_summ TO gt_fieldcat_summ.
gwa_fieldcat_summ-col_pos = 2 .
gwa_fieldcat_summ-fieldname = 'NUMBER'.
gwa_fieldcat_summ-tabname = 'GT_SUMMARY'.
gwa_fieldcat_summ-seltext_l = text-012."Number
gwa_fieldcat_summ-outputlen = '10'.
APPEND gwa_fieldcat_summ TO gt_fieldcat_summ.
ENDFORM. " SUMMARY_REPORT
*& Form ERROR_REPORT
FORM error_report .
gt_fieldcat_err[] = gt_fieldcat[].
gv_fieldcat_err-col_pos = 1.
gv_fieldcat_err-fieldname = 'PERNR'.
gv_fieldcat_err-tabname = 'GT_MESSAGE'.
gv_fieldcat_err-seltext_l = text-070."Employee Number
gv_fieldcat_err-outputlen = '20'.
APPEND gv_fieldcat_err TO gt_fieldcat_err.
gv_fieldcat_err-col_pos = 2.
gv_fieldcat_err-fieldname = 'MESSAGE'.
gv_fieldcat_err-tabname = 'GT_MESSAGE'.
gv_fieldcat_err-seltext_l = text-071."Error Message
gv_fieldcat_err-outputlen = '80'.
APPEND gv_fieldcat_err TO gt_fieldcat_err.
ENDFORM. " ERROR_REPORT
*& Form FINAL_REPORT
FORM final_report .
DATA:lv_layout TYPE slis_layout_alv,
lt_events_summ TYPE slis_t_event,
lv_events_summ LIKE LINE OF lt_events_summ,
lt_events_det TYPE slis_t_event,
lv_events_det LIKE LINE OF lt_events_det,
lt_events_err TYPE slis_t_event,
lv_events_err LIKE LINE OF lt_events_det,
lt_events_msg TYPE slis_t_event,
lv_events_msg LIKE LINE OF lt_events_det.
lv_events_summ-name = 'TOP_OF_PAGE'.
lv_events_summ-form = 'TOP_OF_PAGE1'.
APPEND lv_events_summ TO lt_events_summ.
lv_events_det-name = 'TOP_OF_PAGE'.
lv_events_det-form = 'TOP_OF_PAGE2'.
APPEND lv_events_det TO lt_events_det.
lv_events_err-name = 'TOP_OF_PAGE'.
lv_events_err-form = 'TOP_OF_PAGE3'.
APPEND lv_events_err TO lt_events_err.
lv_events_msg-name = 'TOP_OF_PAGE'.
lv_events_msg-form = 'TOP_OF_PAGE4'.
APPEND lv_events_msg TO lt_events_msg.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = sy-repid.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_summ
i_tabname = 'IT_SUMMARY'
it_events = lt_events_summ
IT_SORT =
I_TEXT = ' '
TABLES
t_outtab = gt_summary
EXCEPTIONS
PROGRAM_ERROR = 1
MAXIMUM_OF_APPENDS_REACHED = 2
OTHERS = 3
IF CHK_DTL IS NOT INITIAL.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat
i_tabname = 'gt_data'
it_events = lt_events_det
IT_SORT =
I_TEXT = ' '
TABLES
t_outtab = gt_data
EXCEPTIONS
PROGRAM_ERROR = 1
MAXIMUM_OF_APPENDS_REACHED = 2
OTHERS = 3
ENDIF.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_err
i_tabname = 'gt_error'
it_events = lt_events_err
TABLES
t_outtab = gt_error.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_msg
i_tabname = 'gt_message'
it_events = lt_events_msg
TABLES
t_outtab = gt_error.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_err
i_tabname = 'gt_message'
it_events = lt_events_err
TABLES
t_outtab = gt_message.
IF GT_MESSAGE[] IS NOT INITIAL.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_msg
i_tabname = 'gt_message'
it_events = lt_events_msg
TABLES
t_outtab = gt_message.
ENDIF.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
EXPORTING
i_interface_check = ' '
IS_PRINT =
i_screen_start_column = 0
i_screen_start_line = 0
i_screen_end_column = 0
i_screen_end_line = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
ENDFORM. " FINAL_REPORT
*& Form top_of_page
text
FORM top_of_page1. "#EC CALLED
WRITE text-013."SUMMARY REPORT.
ENDFORM. "top_of_page
*& Form top_of_page2
text
FORM top_of_page2. "#EC CALLED
WRITE text-014."DETAIL REPORT.
ENDFORM. "top_of_page
*& Form top_of_page3
text
FORM top_of_page3. "#EC CALLED
WRITE text-015."ERROR REPORT
ENDFORM. "top_of_page
*& Form EMAIL_NOTIFICATION
FORM email_notification .
DATA: lv_email1 TYPE somlreci1-receiver,
lv_email2 TYPE somlreci1-receiver,
lv_email3 TYPE somlreci1-receiver,
lv_subject TYPE char200,
c_flag TYPE c VALUE 'X',
lv_attachment TYPE char50.
CLEAR: lv_email1,
lv_email2,
lv_email3,
lv_subject,
lv_attachment.
SELECT SINGLE email1
email2
email3
FROM zhr_interface_pr
INTO (lv_email1,lv_email2,lv_email3)
WHERE zinterfaceid EQ gc_objectid.
IF sy-subrc EQ 0.
IF sy-batch EQ 'X'.
Send email notification
lv_subject = text-037.
lv_attachment = text-038.
CALL FUNCTION 'Z_SEND_EMAIL_FROM_SPOOL'
EXPORTING
email1 = lv_email1
email2 = lv_email2
email3 = lv_email3
subject = lv_subject
attachment_name = lv_attachment
EXCEPTIONS
spool_not_created = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
ENDIF.
ENDIF.
ENDFORM. "
Edited by: katewinslate@SAP on Nov 17, 2010 12:50 PM -
I wish to download a Muse Site I did not create , using Muse. How may I do this?
I wish to download a Muse Site I did not create , using Muse. How may I do this?
Thank you.Ok once again.
Let's assume a friend using Muse creates a site using his PC and publishes it.
It’s now a hosted site created in Muse.
Let’s also assume he wishes to have me work on the Muse created website which he created and published using Muse.
Can I use my copy of Muse on my PC , a PC different than my freinds, to download the site my friend created so I may work on it in my copy of Muse?
It can’t be done right? -
ORA-12523 while creating a database on ASM using DBCA
HI PPL,
I have set up am ASM instance and also configured the listener services to it.
But when I try to create database on the configured ASM instance using DBCA , I am getting the following error
TNS:listener could not find instance appropriate
for the client connection
The Connection descriptor used by the client was:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP(Host=10.10.199.141)
(Port=6881))(CONNECT_DATA=(SERVICE_NAME++ASM1)
(INSTANCE_NAME=+ASM1)(UR=A)))
I have checked the listener status and ASM instance and booth seem to be fine:
$ lsnrctl status ASM
LSNRCTL for HPUX: Version 10.2.0.3.0 - Production on 30-JUL-2010 12:40:17
Copyright (c) 1991, 2006, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.199.141)(PORT=6881)))
STATUS of the LISTENER
Alias ASM
Version TNSLSNR for HPUX: Version 10.2.0.3.0 - Production
Start Date 30-JUL-2010 11:36:11
Uptime 0 days 1 hr. 4 min. 5 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /uat06/asm_home/network/admin/listener.ora
Listener Log File /uat06/asm_home/network/log/asm.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.199.141)(PORT=6881)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "ASM", status BLOCKED, has 1 handler(s) for this service...
Service "+ASM_XPT" has 1 instance(s).
Instance "ASM", status BLOCKED, has 1 handler(s) for this service...
Service "ASM" has 1 instance(s).
Instance "ASM", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
SQL> sho parameter local
NAME TYPE VALUE
local_listener string ASM
log_archive_local_first boolean TRUE
Please help as I am new to ASM.
OS-HP-UX
Database;10gR2
regardsHI Chinar,
I have already checke the same and made the changes as per the metalink note.
But stil I am getting teh following error:
$ lsnrctl status ASM
LSNRCTL for HPUX: Version 10.2.0.3.0 - Production on 30-JUL-2010 12:40:17
Copyright (c) 1991, 2006, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.199.141)(PORT=6881)))
STATUS of the LISTENER
Alias ASM
Version TNSLSNR for HPUX: Version 10.2.0.3.0 - Production
Start Date 30-JUL-2010 11:36:11
Uptime 0 days 1 hr. 4 min. 5 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /uat06/asm_home/network/admin/listener.ora
Listener Log File /uat06/asm_home/network/log/asm.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.199.141)(PORT=6881)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "ASM", status BLOCKED, has 1 handler(s) for this service...
Service "+ASM_XPT" has 1 instance(s).
Instance "ASM", status BLOCKED, has 1 handler(s) for this service...
Service "ASM" has 1 instance(s).
Instance "ASM", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
Why is it showing status "BLOCKED" if i check the listener status. -
Problem creating database in RHEL3 using dbca
I have installed oracle 9iR2 on RHEL3 and applied the patch 3006854
but while installing installing Net Configuration Assistant was not installed it gave an error.
now I am trying to create database using dbca but getting an error as
ORA-12546:TNS:Permission denined.
plz guide me in solving this problemAt which step/stage in DBCA you get this error?
You can try to dump out the creation scripts and run them manually see if you can get through. -
Database Storage location using DBCA
I'm trying to create a database. I would like to put the database on drive M and the logs on drive N.
I'm getting that if I want to do it during creation using DBCA I need to define the location on step 11 - Database Storage.
When I click on Datafile I then click on File Location Variables do I change ORACLE_BASE, ORACLE_HOME or both?
When I click on Redo Log Groups I then click on File Location Variables do I change ORACLE_BASE, ORACLE_HOME or both?
Do I do anything with the Control files location?In that step you got File Name and File Directory menu.
Change the paths in File Directory menu.
Suppose you have create oradata folder in both M and N drives.
System01.dbf M:\oradata
redolog01a.log N:\oradata
suggestion:- Please multiplex controlfiles and redo log files. -
Cisco LMS 4.1 Installation on Windows Server 2008 R2, Databases not created
Hi There,
As always, I am trying to install LMS 4.1 on windows server 2008 R2 and after the installation and login to the LMS I find the following:
DCRServer is down or may not be completely up. Check if the DCRServer process is running.
And after some troubleshooting I found that the LMS is not creating the CMF database and the other databases. Attached is the installation log file, if someone could help me with it would be appreciated. Please note the following:
1. I have downloaded the installation file from Cisco website twice, so I do not think it is the file that is corrupted, also it is only evaluation license.
2. I have met all the prerequisites and requirement as in the documentation guides, but maybe there is something still wrong.
Thanks,Also Here is more info output:
C:\Program Files (x86)\CSCOpx>pdshow -brief
Process State Pid
Tomcat Program started - No mgt msgs received 1572
TomcatMonitor Running normally 2236
Apache Program started - No mgt msgs received 2436
DataPurge Administrator has shut down this server 0
DCRServer Failed to run 0
CMFOGSServer Administrator has shut down this server 0
EssentialsDM Administrator has shut down this server 0
ConfigMgmtServer Never started 0
ConfigUtilityService Never started 0
CTMJrmServer Administrator has shut down this server 0
ChangeAudit Never started 0
SyslogAnalyzer Program started - No mgt msgs received 2976
ICServer Running normally 5096
EnergyWise Never started 0
PMCOGSServer Administrator has shut down this server 0
IPMOGSServer Administrator has shut down this server 0
IPMProcess Never started 0
TISServer Program started - No mgt msgs received 2544
DFMOGSServer Program started - No mgt msgs received 876
InventoryCollector Running normally 3052
Interactor Program started - No mgt msgs received 5136
InventoryCollector1 Program started - No mgt msgs received 5144
Interactor1 Program started - No mgt msgs received 5308
PTMServer Program started - No mgt msgs received 5320
UPMProcess Never started 0
TISDiscoveryJobCreate Administrator has shut down this server 0
SyslogCollector Running normally 5340
Proxy Program started - No mgt msgs received 5348
PMServer Running normally 5360
NameServer Program started - No mgt msgs received 5680
NameServiceMonitor Running normally 5876
LicenseServer Program started - No mgt msgs received 5884
FHPurgeTask Never started 0
EventFramework Program started - No mgt msgs received 5892
EPMServer Program started - No mgt msgs received 5904
FHServer Administrator has shut down this server 0
NOSServer Program started - No mgt msgs received 5580
diskWatcher Running normally 5640
DFMMultiProcLogger Program started - No mgt msgs received 5864
DFMLogServer Program started - No mgt msgs received 4896
DFMCTMStartup Administrator has shut down this server 0
DfmBroker Running normally 6104
DfmServer Running normally 6416
DfmServer1 Running normally 6424
DCRDevicePoll Never started 0
CSRegistryServer Running normally 6432
CSDiscovery Never started 0
AdapterServer1 Program started - No mgt msgs received 6440
AdapterServer Program started - No mgt msgs received 6448
C:\Program Files (x86)\CSCOpx>pdshow DCRServer
Process= DCRServer
State = Failed to run
Pid = 0
RC = -3
Signo = 1073741821
Start = N/A
Stop = 07/02/2012 17:39:06
Core = Not applicable
Info = Application failed or was registered incorrectly.
C:\Program Files (x86)\CSCOpx>net stop crmdmgtd
The Cisco Prime Daemon Manager service is stopping..........................................
The Cisco Prime Daemon Manager service was stopped successfully.
C:\Program Files (x86)\CSCOpx>bin\perl.exe objects\db\conf\configureDb.pl action=validate dsn=cmf
INFO: C:\PROGRA~2\CSCOpx/objects/db/conf/ConfigureDB.LOCK locked for the operation...
ERROR: [StandardDbUpgrade] : Database cmf is not installed.
INFO: C:\PROGRA~2\CSCOpx/objects/db/conf/ConfigureDB.LOCK released for the future operations...
C:\Program Files (x86)\CSCOpx>bin\perl.exe bin\dbpasswd.pl all
ERROR: There is no database available to change password.
C:\Program Files (x86)\CSCOpx>bin\perl.exe bin\dbRestoreOrig.pl dsn=cmf dmprefix=Cmf npwd=pwd
'cmf' is not a valid data source for the product. -
HPCM - Manage Database not creating outline in Essbase application
Hi,
I've created the HPCM application from EPM 11.1.2.1 and I have also created the Stages, POV , Drivers and assignments but I cannot do data entry since the Essbase cube outline itself is not created.
I've gone to Manage Database -> "Deploy Now" several times to no avail . The Application and the Database gets created in Essbase but when I open the outline it is Blank!
My taskflow keeps showing the Status as "Done" but result variable as "Failed". Can anyone suggest what I'm doing wrong here? Or is there any setting/configuration in HPCM or Essbase that I need to set before I Deploy the HPCM application Calulation database and Reporting database?
Below is the Taskflow message I get :
Taskflow Participant Summary
Id wf-1330001062632 Application HPCMCG
Taskflow HPCMCG_DeployCube_D20120223T074416_e3f Initiator user1
Started Feb 23, 2012 7:44:22 AM Status Done
Description Run Now button initiated workflow
Participant Stage Name Status Result Variable Status Message Completed
user1 CalcCube Done Failure Action failed Feb 23, 2012 7:51:16 AM
Edited by: user8540032 on Feb 23, 2012 5:28 AM
Edited by: user8540032 on Feb 23, 2012 10:24 PM
Edited by: user8540032 on Feb 23, 2012 10:28 PMHi,
I've got the solution. To solve this problem, you would need to configure the registry of the PC where HPCM client is installed with:
TcpTimedWaitDelay
Registry key=HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Data type=REG_DWORD
Default value=0xF0 (240 seconds = 4 minutes)
Valid values=0x1E to 0x12C (30 to 300 seconds)
MaxUserPort
Registry key=HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Data type= REG_DWORD
Default value=20000
Valid values= 5,000 to 65,534 (port numbers)
In order to do this , you would have to do the following :
1. Create a new REG_DWORD value named TcpTimedWaitDelay. Set the value to decimal 30, which is Hex 0x0000001e. This value sets the wait time to 30 seconds.
2. Create a new REG_DWORD value named MaxUserPort. Set this value to at least decimal 32768 or 65534.
3. Create a new REG_DWORD value named MaxFreeTcbs. Set the value to decimal 6250. (The default is 2000 so you are basically tripling this value.).
4. Reboot the machine for the new settings to take effect.
Regards,
Jonathan -
Log file is not created used util.logger
I need to write a log into a file using java.util.logging.
File name should read from properties file.
Issue is file is not created in D:\TestLogging.log
Below are the configuration:
src\resources\logger.properties
handlers=java.util.logging.FileHandler, java.util.logging.ConsoleHandler
.level=INFO
java.util.logging.ConsoleHandler.level=SEVERE
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.FileHandler.level=ALL
java.util.logging.FileHandler.pattern=D:\TestLogging.log
# Number of output files to cycle through, by appending an
# integer to the base file name:
java.util.logging.FileHandler.count=1
# Style of output (Simple or XML):
java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
SimpleLogger.java
import java.util.logging.*;
public final class SimpleLogger {
public static void main(String argv[]) {
SimpleLogger thing = new SimpleLogger();
thing.doSomething();
public void doSomething() {
fLogger.finest("this is finest");
fLogger.finer("this is finer");
fLogger.fine("this is fine");
fLogger.config("this is config");
fLogger.info("this is info");
fLogger.warning("this is a warning");
fLogger.severe("this is severe");
fLogger.logp(Level.INFO, this.getClass().toString(), "doSomething", "blah");
Throwable ex = new IllegalArgumentException("Some exception text");
fLogger.log(Level.SEVERE, "Some message", ex);
fLogger.exiting(this.getClass().toString(), "doSomething");
private static final Logger fLogger =
Logger.getLogger(SimpleLogger.class.getName());
Could you please help, any configuration is missedMalar,
Check for the file in the server folder of your server installed directory.
ie..<Drive where server installed>:\usr\sap\<name>\<instance>\j2ee\<server node>
Regards
Abu Bakar -
Log file is not created using LOG4J
Hi all,
I want to use Log4j to log the details about my portal application. I would prefer using Log4j instead of SAP Logging. I have created properties file in my portal application which extends Abstract Portal Component. This my Log4j.properties file which i created under dist\PORTAL-INF\classses folder. I could read the Properties file. There is no problem on that. I am able to refer the API s available in Log4j. I am using Log4j-1[1].2.14.jar.
log4j.rootLogger = INFO, R1
log4j.appender.R1 = org.apache.log4j.RollingFileAppender
log4j.appender.R1.File = LoggerForMyApplicationC.log
log4j.appender.R1.MaxFileSize=100KB
log4j.appender.R1.MaxBackupIndex=1
log4j.appender.R1.layout=org.apache.log4j.PatternLayout
log4j.appender.R1.layout.ConversionPattern=[%-5p] [%d] [%c] - [%m]%n
But the problem is Log file is not created (LoggerForMyApplicationC.log) under \logs foler in SAP J2EE Server.
Do i miss any other configuration? Please bring me the solution.
Thanks,
MalarMalar,
Check for the file in the server folder of your server installed directory.
ie..<Drive where server installed>:\usr\sap\<name>\<instance>\j2ee\<server node>
Regards
Abu Bakar -
Database is not creating through DBCA
hi,
I am trying to create database "orcl" through DBCA but during the database creation process an error occur "ORA-03114 not connected to Oracle". I select ASM configured Disk "+DATA" to store the database file.
Please help me
Regards
Shaheer BadarWe need to see what's in those logs that the guys mentioned...
A good place to start would be the Install logs from dbca, I think they should be in:
$ORACLE_HOME\cfgtoollogs\dbca
There should be several in there, including one "orcl.log". Post that one up here and any interesting bits from the others...
It would also be worth looking for and alert log (and any trace files) too.
Let us know what you find.
Ados -
Service PO for Multiple Acct Assig is not created using BAPI_PO_CREATE1
Hi,
Im unable to create the Service po with multiple acct assiignment using BAPI_PO_CREATE1
Header Data
w_poheader-comp_code = w_src-bukrs. "Company Code
w_poheader-doc_type = w_src-bsart. "Document type
w_poheader-delete_ind = w_src-vrtkz. "Deletion Indicator
CLEAR: lv_date.
CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
EXPORTING
date_external = w_src-aedat
IMPORTING
date_internal = lv_date
EXCEPTIONS
date_external_is_invalid = 1
OTHERS = 2.
w_poheader-creat_date = lv_date. "Creation Date
w_poheader-created_by = sy-uname. "Creator Name
w_poheader-vendor = w_src-lifnr. "Vendor
w_poheader-pmnttrms = w_src-zterm. "Payment Terms
w_poheader-purch_org = w_src-ekorg. "Purchase Organization
w_poheader-pur_group = w_src-ekgrp. "Purchase Group
w_poheader-ref_1 = w_src-ihrez. "OLD PO
w_poheaderx-comp_code = 'X'. "Company Code
w_poheaderx-doc_type = 'X'. "Document type
w_poheaderx-delete_ind = 'X'. "Deletion Indicator
w_poheaderx-creat_date = 'X'. "Creation Date
w_poheaderx-created_by = 'X'.
w_poheaderx-vendor = 'X'.
w_poheaderx-pmnttrms = 'X'. "Payment Terms
w_poheaderx-purch_org = 'X'. "Purchase Organization
w_poheaderx-pur_group = 'X'. "Purchase Group
w_poheaderx-ref_1 = 'X'.
Item Data
w_poitem-po_item = w_src-ebelp.
IF NOT w_src-elikz IS INITIAL.
w_poitem-delete_ind = w_src-elikz.
ENDIF.
IF NOT w_src-txz01 IS INITIAL.
w_poitem-short_text = w_src-txz01.
ENDIF.
IF NOT w_src-werks IS INITIAL.
w_poitem-plant = w_src-werks.
ENDIF.
Material group
IF NOT w_src-matkl IS INITIAL.
w_poitem-matl_group = w_src-matkl.
ENDIF.
Open or Partial Qty
IF w_src-opqty IS NOT INITIAL.
w_poitem-quantity = w_src-opqty.
ELSEIF NOT w_src-paqty IS INITIAL.
w_poitem-quantity = w_src-paqty.
ENDIF.
IF NOT w_src-meins IS INITIAL.
w_poitem-po_unit = w_src-meins. "Base Unit of Measure
ENDIF.
IF NOT w_src-netpr IS INITIAL.
w_poitem-net_price = w_src-netpr. "Net Price
ENDIF.
IF NOT w_src-mwskz IS INITIAL.
w_poitem-tax_code = w_src-mwskz.
ENDIF.
IF NOT w_src-pstyp IS INITIAL.
w_poitem-item_cat = w_src-pstyp.
ENDIF.
IF NOT w_src-knttp IS INITIAL.
w_poitem-acctasscat = w_src-knttp.
ENDIF.
w_src-vrtkz = '2'. "Added
IF NOT w_src-vrtkz IS INITIAL.
w_poitem-distrib = w_src-vrtkz.
ENDIF.
Package No
IF w_src-srv_line_no EQ '2'.
w_poitem-pckg_no = 0000000001. "Assign dummy package no "w_src-packno. "Package no
ELSEIF w_src-srv_line_no EQ '3'.
w_poitem-pckg_no = 0000000004. "Assign dummy package no "w_src-packno. "Package no
ENDIF.
IF w_poitem-delete_ind IS INITIAL AND
w_poitem-short_text IS INITIAL AND
w_poitem-plant IS INITIAL AND
w_poitem-matl_group IS INITIAL AND
w_poitem-quantity IS INITIAL AND
w_poitem-po_unit IS INITIAL AND
w_poitem-net_price IS INITIAL AND
w_poitem-tax_code IS INITIAL.
CLEAR lv_item.
ELSE.
APPEND w_poitem TO i_poitem.
CLEAR: w_poitem.
lv_item = 'X'.
ENDIF.
w_poitemx-po_item = w_src-ebelp.
w_poitemx-delete_ind = 'X'.
w_poitemx-short_text = 'X'.
w_poitemx-plant = 'X'.
w_poitemx-matl_group = 'X'.
w_poitemx-quantity = 'X'.
w_poitemx-po_unit = 'X'.
w_poitemx-net_price = 'X'.
w_poitemx-tax_code = 'X'.
w_poitemx-item_cat = 'X'.
w_poitemx-acctasscat = 'X'.
w_poitemx-distrib = 'X'.
w_poitemx-pckg_no = 'X'.
IF lv_item = 'X'.
APPEND w_poitemx TO i_poitemx.
CLEAR: w_poitemx,
lv_item.
ENDIF.
PO Deliery Address
w_poaddrdelivery-po_item = w_src-ebelp.
IF NOT w_src-adrn2 IS INITIAL.
w_poaddrdelivery-addr_no = w_src-adrn2.
APPEND w_poaddrdelivery TO i_poaddrdelivery.
CLEAR w_poaddrdelivery.
ENDIF.
POschedule
w_poschedule-po_item = w_src-ebelp.
w_poschedule-SCHED_LINE = w_src-
CLEAR: lv_date.
CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
EXPORTING
date_external = w_src-eindt
IMPORTING
date_internal = lv_date
EXCEPTIONS
date_external_is_invalid = 1
OTHERS = 2.
IF NOT lv_date IS INITIAL.
w_poschedule-del_datcat_ext = 'D'. "Delivery Date in Day Format
w_poschedule-delivery_date = lv_date.
w_poschedule-quantity = w_src-menge.
APPEND w_poschedule TO i_poschedule.
CLEAR w_poschedule.
lv_schd = 'X'.
ENDIF.
w_poschedulex-po_item = w_src-ebelp.
w_poschedule-SCHED_LINE = 'X'.
w_poschedulex-del_datcat_ext = 'X'.
w_poschedulex-delivery_date = 'X'.
w_poschedulex-quantity = 'X'.
IF lv_schd = 'X'.
APPEND w_poschedulex TO i_poschedulex.
CLEAR : w_poschedulex,
lv_schd.
ENDIF.
PO Account Assignment
w_poaccount-po_item = w_src-ebelp.
w_poaccount-serial_no = w_src-zekkn.
Distribution Indicator is 1
IF w_src-vrtkz EQ '1'.
w_poaccount-distr_perc = w_src-vproz.
IF NOT w_src-menge IS INITIAL.
CLEAR lv_menge.
lv_menge = w_src-menge.
ENDIF.
lv_acct_qty = lv_menge * w_src-vproz / 100.
Get Round value of Quanity
frac = FRAC( lv_acct_qty ).
IF frac EQ 0.
lv_acct_qty = FLOOR( lv_acct_qty ).
ELSE.
lv_acct_qty = CEIL( lv_acct_qty ).
ENDIF.
w_poaccount-quantity = lv_acct_qty.
ELSEIF w_src-vrtkz IS INITIAL.
w_poaccount-quantity = w_src-menge.
ENDIF.
w_poaccount-quantity = w_src-menge. "added
w_poaccount-gl_account = w_src-saknr.
w_poaccount-costcenter = w_src-kostl.
w_poaccount-asset_no = w_src-anln1.
w_poaccount-wbs_element = w_src-wbs.
w_poaccount-network = w_src-nplnr.
w_poaccount-tax_code = w_src-mwskz.
w_poaccount-activity = w_src-vornr.
APPEND w_poaccount TO i_poaccount.
CLEAR w_poaccount.
w_poaccountx-po_item = w_src-ebelp.
w_poaccountx-serial_no = w_src-zekkn.
IF w_src-vrtkz EQ '1'.
w_poaccountx-distr_perc = 'X'.
ENDIF.
w_poaccountx-quantity = 'X'.
w_poaccountx-gl_account = 'X'.
w_poaccountx-costcenter = 'X'.
w_poaccountx-wbs_element = 'X'.
w_poaccountx-network = 'X'.
w_poaccountx-tax_code = 'X'.
w_poaccountx-activity = 'X'.
w_poaccountx-cmmt_item = 'X'.
APPEND w_poaccountx TO i_poaccountx.
CLEAR w_poaccountx.
Extension for ZZSub
IF NOT w_src-zzsub IS INITIAL.
w_extensionin-structure = 'BAPI_TE_MEPOACCOUNTING'.
w_extensionin-valuepart1+0(5) = w_src-ebelp.
w_extensionin-valuepart1+5(2) = '01'.
w_extensionin-valuepart1+28(5) = w_src-zzsub.
APPEND w_extensionin TO i_extensionin.
CLEAR w_extensionin.
w_extensionin-structure = 'BAPI_TE_MEPOACCOUNTINGX'.
w_extensionin-valuepart1+0(5) = w_src-ebelp.
w_extensionin-valuepart1+5(2) = '01'.
w_extensionin-valuepart1+11(1) = 'X'.
APPEND w_extensionin TO i_extensionin.
CLEAR w_extensionin.
ENDIF.
Extension to add Expense Type only
IF NOT w_src-zzexptype IS INITIAL.
w_extensionin-structure = 'BAPI_TE_MEPOHEADER'.
w_extensionin-valuepart1+10(4) = w_src-zzexptype.
APPEND w_extensionin TO i_extensionin.
CLEAR w_extensionin.
w_extensionin-structure = 'BAPI_TE_MEPOHEADERX'.
w_extensionin-valuepart1+10(4) = 'X'.
APPEND w_extensionin TO i_extensionin.
CLEAR w_extensionin.
ENDIF.
EXPORT i_extensionin[] TO MEMORY ID 'SUB'.
PO Services( One Line Iem)
IF w_src-srv_line_no EQ '2'.
w_poservices-pckg_no = 0000000001. "w_src-packno. "(assign package no as a dummy number)
w_poservices-line_no = 0000000001. "w_src-srv_line_no. "Line item
w_poservices-outl_ind = 'X'.
w_poservices-subpckg_no = 0000000003. "w_src-sub_packno. "(Dummy No.) "Sub package no
w_poservices-quantity = w_src-srqty. "Service Quantity
w_poservices-base_uom = w_src-srmeins. "Service Basic unit of Measure
w_poservices-price_unit = '1'.
w_poservices-from_line = '1'.
w_poservices-gr_price = w_src-brtwr. "GR Price
w_poservices-short_text = w_src-sh_text1. "Service Short Text
APPEND w_poservices TO i_poservices.
CLEAR w_poservices.
PO Services(Second Line Item )
w_poservices-pckg_no = 0000000003. "w_src-sub_packno. "(Dummy No.) "Sub package no
w_poservices-line_no = 0000000002.
w_poservices-ext_line = w_src-extrow. "External line
w_poservices-quantity = w_src-srqty. "Service Quantity
w_poservices-base_uom = w_src-srmeins. "Service Basic unit of Measure
w_poservices-price_unit = '1'.
w_poservices-gr_price = w_src-brtwr. "GR Price
w_poservices-short_text = w_src-sh_text1. "Service Short Text
APPEND w_poservices TO i_poservices.
CLEAR w_poservices.
PO Service Access values
w_posrvacc-pckg_no = 0000000003. "w_src-sub_packno. "Sub package no
w_posrvacc-line_no = 0000000002. "w_src-srv_line_no. "Line item
w_posrvacc-serno_line = w_src-zekkn. "'01'.
IF w_src-vproz IS INITIAL.
w_posrvacc-percentage = '100.0'.
ENDIF.
w_posrvacc-serial_no = '01'.
w_posrvacc-quantity = w_src-srqty. "Service Quantity
APPEND w_posrvacc TO i_posrvacc.
CLEAR w_posrvacc.
ELSEIF w_src-srv_line_no EQ '3'.
PO Services
if w_src-srv_line_no EQ '2'.
w_poservices-pckg_no = 0000000004. "(assign package no as a dummy number)
w_poservices-line_no = 0000000001. "Line item
w_poservices-outl_ind = 'X'.
w_poservices-subpckg_no = 0000000005. "(Dummy No.) "Sub package no
w_poservices-from_line = '1'.
APPEND w_poservices TO i_poservices.
CLEAR w_poservices.
w_poservices-pckg_no = 0000000005. "w_src-sub_packno. "(Dummy No.) "Sub package no
w_poservices-line_no = 0000000002.
w_poservices-ext_line = w_src-extrow. "External line
w_poservices-quantity = w_src-srqty. "Service Quantity
w_poservices-base_uom = w_src-srmeins. "Service Basic unit of Measure
w_poservices-price_unit = '1'.
w_poservices-gr_price = w_src-brtwr. "GR Price
w_poservices-short_text = w_src-sh_text1. "Service Short Text
APPEND w_poservices TO i_poservices.
CLEAR w_poservices.
endif.
if w_src-srv_line_no EQ '3'.
w_poservices-pckg_no = 0000000005. "w_src-sub_packno. "(Dummy No.) "Sub package no
w_poservices-line_no = 0000000003.
w_poservices-ext_line = w_src-extrow. "External line
w_poservices-quantity = w_src-srqty. "Service Quantity
w_poservices-base_uom = w_src-srmeins. "Service Basic unit of Measure
w_poservices-price_unit = '1'.
w_poservices-gr_price = w_src-brtwr. "GR Price
w_poservices-short_text = w_src-sh_text1. "Service Short Text
APPEND w_poservices TO i_poservices.
CLEAR w_poservices.
endif.
PO Service Access values
if w_src-srv_line_no EQ '2'.
w_posrvacc-pckg_no = 0000000005. "w_src-sub_packno. "Sub package no
w_posrvacc-line_no = 0000000002. "w_src-srv_line_no. "Line item
w_posrvacc-serno_line = '01'.
w_posrvacc-percentage = '100.0'.
w_posrvacc-serial_no = '01'. "w_src-zekkn.
w_posrvacc-quantity = w_src-srqty. "Service Quantity
APPEND w_posrvacc TO i_posrvacc.
CLEAR w_posrvacc.
endif.
if w_src-srv_line_no EQ '3'.
w_posrvacc-pckg_no = 0000000005. "w_src-sub_packno. "Sub package no
w_posrvacc-line_no = 0000000003. "w_src-srv_line_no. "Line item
w_posrvacc-serno_line = '01'.
w_posrvacc-percentage = '100.0'.
w_posrvacc-serial_no = '02'. "w_src-zekkn. "'01'.
w_posrvacc-quantity = w_src-srqty. "Service Quantity
APPEND w_posrvacc TO i_posrvacc.
CLEAR w_posrvacc.
endif.
ENDIF.
ENDIF.
***Create a NEW PO
Call BAPI
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
poheader = w_poheader
poheaderx = w_poheaderx
TESTRUN = ' '
IMPORTING
exppurchaseorder = gv_ebeln
TABLES
return = i_return
poitem = i_poitem[]
poitemx = i_poitemx[]
poaddrdelivery = i_poaddrdelivery[]
poschedule = i_poschedule[]
poschedulex = i_poschedulex[]
poaccount = i_poaccount[]
poaccountx = i_poaccountx[]
poservices = i_poservices[]
posrvaccessvalues = i_posrvacc[]
extensionin = i_extensionin[].
Commit the Transaction
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
Regards,
Deepthi.it is solved
-
Order schedule lines not created using BAPI_SALESORDER_CREATEFROMDAT2
Hi experts,
I am creating sales order using BAPI_SALESORDER_CREATEFROMDAT2. I want to update the Order quantity in VBAP-KWMENG.I got the information from SDN when including the Schedule line in BAPI 'BAPI_SALESORDER_CREATEFROMDAT2 '.
I tried by using Update flag = 'I'.I am not able to update, what are the values to be passed and how to update the field.
Is there any other way..Please suggest me..
Thanks&Regards,
Karthik.Hi, In the BAPI if you look at the tables parameter you will find ORDER_ITEMS_IN and ORDER_ITEMS_INX as well as ORDER_SCHEDULES_IN and ORDER_SCHEDULES_INX. To update KWMENG you will have to pass that value to ORDER_ITEMS_IN-TARGET_QTY and update the same in the table ORDER_ITEMS_INX (ORDER_ITEMS_INX-TARGET_QTY) with 'X'.
For updating schedule line go for ORDER_SCHEDULES_IN-SCHED_LINE and update X for the same in ORDER_SCHEDULES_INX.
Try looking into the following code, I am filling in both the Item data as well as the Schedule line data.
loop at t_mdata into fs_mdata.
fs_item-itm_number = fs_mdata-posnr.
fs_itemx-itm_number = c_flag.
fs_item-material = fs_mdata-matnr.
fs_itemx-material = c_flag.
fs_item-target_qty = fs_mdata-kwmeng.
fs_itemx-target_qty = c_flag.
fs_item-item_categ = fs_mdata-pstyv.
fs_itemx-item_categ = c_flag.
fs_itemx-updateflag = c_flag.
APPEND fs_item TO t_item.
APPEND fs_itemx TO t_itemx.
fs_sline-ITM_NUMBER = fs_mdata-posnr.
fs_slinex-ITM_NUMBER = c_flag.
fs_sline-SCHED_LINE = c_sline.
fs_slinex-SCHED_LINE = c_flag.
fs_sline-REQ_QTY = fs_mdata-kwmeng.
fs_slinex-REQ_QTY = c_flag.
APPEND fs_sline TO t_sline.
APPEND fs_slinex TO t_slinex.
endloop. " Loop t_mdata
c_flag contains 'X'.
fs_item is of structure ORDER_ITEMS_IN.
fs_sline is of structure ORDER_SCHEDULES_IN. -
Sales order not created using BAPI_SALESORDER_CREATEFROMDAT2
HI,
I have used the bapi BAPI_SALESORDER_CREATEFROMDAT2 to create sales order. I have passed the parameters, doc_type, sales_org, distr_chan, division, partn_role, part_numb and material.
It displays back the message as
sales_header_in createds,
sales_item_in created,
sales document not yet complete : Edit data.
Standard Order 135428 has been saved.
But when i check the same standard order in VA03 ( or vbak ), its not present.
I have also run BAPI_TRANSACTION_COMMIT, to commit work. But still cant figure out.
Any suggestions plzz...
regards,
TajI am able to create the sales order when i am entering these details in VA01. I mean the sales document type and othr details.
But when i pass the same parameters in bapi. This doesnt happen. Is there any thing more that needs to be passed.
Maybe you are looking for
-
Hi all, I've got a FX5600 TD and a CTX LCD DVI monitor. When I first installed everything it worked like a charm. However something must of gotten mesed up because now it only displays analoge while booting and then switches to DVI mode as soon as Wi
-
Why no osuser in DBA_HIST_ACTIVE_SESS_history
hi, One random question that came to my mind, while i was trying to figure out the osuser for one sql from DBA_HIST_ACTIVE_SESS_HISTORY. Why oracle hasnt provided this minor details in form of another column? As i understand the v$session details get
-
Trackpad will not open mail messages
After a year of flawless function I now find that I cannot open mail messages by clicking track pad. I can highlight the messages and open them by pressing return, but can no longer double click to open the message. Only happens in mail; other progra
-
I install it and I'm told installation successful but when I try and use it I get a message sayind Adobe Reader required Please someone help Thank You
-
Why ohhhhh why can I NOT get into the store? I have uninstalled and re-installed apps but nothing!! I can bring up my current music but cannot get into the store to purchase more!! Someone please HELP me. I'm soooooo ready to give up!!