ST03 Visualization Issue - Application Server Missing
Hi Gurus.
I've a strange issue related to the Workload analysis.
When I call transaction ST03N I see in the the workload only the Central Instance.....Application Server is missing.
I've checked the SAPWLSERV table and both server are listed here.
What I'm noticing is that no entry are found in table SWNCMONI nor in SWNCMONIINDEX.
Well, it's not correct at all...I found an old entry of last february, but nothing more!
Already checked the time_zone also....everything seems to be corretly configured.
Any Ideas?
Thanks in Advance,
Marco
Problem seems to be with report : RSSTAT98 ,
Check the following notes:
Note 966309 - Contents of table TCOLL in SAP_BASIS 700 (schedule of report RSSTAT98)
Note 1135491 - RSSTAT98 - Inconsistent host name when setting up SAPWLSERV
If it was visible earlier and vanished one fine day , pls let us know if there was any kernel upgrade performed?
Similar Messages
-
Oracle BIEE installation issue: Application Server default OC4J name error
Hi all,
I am installing OBIEE 10.1.3.3.2 windows 32bit version on windows 2003 sp2. Before the installation I have installed the JDK 5 and Application Server 10.1.3.1.0(J2EE Server and Web Server) on the same server according to the pre-install section in the OBIEE installation guide.
When I install OBIEE (advanced installation), I got the error when I specify the Oracle Application server location:
Please specify a valid Oracle Application Server 10g installation location. A valid Oracle Application Server 10g installation must have the default OC4J instance named home and that home OC4J instance must be enabled.
When I install the Application Server 10.1.3.1.0, I have change the default OC4J name to "oc4j-soa", I think this is the root reason I got the error. I have tried to create another OC4J instance named "home", but failed coz the name is used for another directory.
Then can I have another way to continue the installation? Why OBIEE installer have this strange constrain while not any words about this issue in the installation guide (coz I follow the each steps in the guild before I take action)? I have search some threads and the only information is to install a simple installation, but it would create another application server..... and the simple installation type is not what I want.
Can anybody give me some hint or information about this issue? otherwise I have to purge and reinstall the server...... Thanks
ScottReinstalling the App Server and naming oc4j instance to be called "home" resolves the issue but this is an odd requirement. I have an OC4J instance already running and it is named something else. Is there any other alternative to make this work?
Swapan.
PS. I can always create a new oc4j instance named "home" but this is wasting of server resources. -
SAP 64bit Linux application server (Linux on Power) memory config issues
Hello Everyone,
Let me give some background. I have been tasked with replacing our AIX6.1 SAP application server with new Linux on Power servers (SLES11SP3)
Our current production BW application servers (AIX) are running fine given their current setup. We are fine implementing the same size of the AIX systems on the new Linux systems, but we now have more room to grow in the fur, however when I tried to implement the Linux server using the same memory sizing I am getting runtime errors: "TSV_TNEW_PAGE_ALLOC_FAILED" with a specific user created program and process chain. The AIX servers do not run into this issue running the exact same program. When this process runs, it utilizes 3 BTC process for the program.
Using the note 941735, I have tried to correctly setup the system using STD memory implementation, however I have a feeling that I am missing something or setup something incorrectly which is causing the above issue. Looking in ST02 here is the SAP buffer parameters for two of the systems. Perhaps someone might notice something that I am not see or point me in the right direction. Please let me know if more parameters from the profile are needed. Thanks!
AIX system (existing):
ztta/roll_area 6500000 Byte Roll area per workprocess (total)
ztta/roll_first 1 Byte First amount of roll area used in a dialog WP
ztta/short_area 3200000 Byte Short area per workprocess
rdisp/ROLL_MAXFS 32768 8 kB Maximum roll file size
rdisp/ROLL_SHM 16384 8 kB Part of roll file in shared memory
rdisp/PG_SHM 16384 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 2027 MB Initial size of extended memory
em/blocksize_KB 4096 kB Size of one extended memory block
em/address_space_MB 4092 MB Address space reserved for ext. mem. (NT only)
em/global_area_MB 256 MB Extended global memory
ztta/roll_extension 2000000000 Byte Max. extended mem. per session (external mode)
abap/heap_area_dia 2000000000 Byte Max. heap memory for dialog workprocesses
abap/heap_area_nondia 2000000000 Byte Max. heap memory for non-dialog workprocesses
abap/heap_area_total 2000000000 Byte Max. usable heap memory
abap/heaplimit 250000000 Byte Workprocess restart limit of heap memory
abap/use_paging 0 Paging for flat tables used (1) or not (0)
abap/shared_objects_size_MB 20 MB Shared objects
Linux system (new):
ztta/roll_area 6500352 Byte Roll area per workprocess (total)
ztta/roll_first 1024 Byte First amount of roll area used in a dialog WP
ztta/short_area 3200000 Byte Short area per workprocess
rdisp/ROLL_MAXFS 131072 8 kB Maximum roll file size
rdisp/ROLL_SHM 32768 8 kB Part of roll file in shared memory
rdisp/PG_SHM 16384 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 4092 MB Initial size of extended memory
em/blocksize_KB 4096 kB Size of one extended memory block
em/address_space_MB 4096 MB Address space reserved for ext. mem. (NT only)
em/global_area_MB 256 MB Extended global memory
ztta/roll_extension 2000683008 Byte Max. extended mem. per session (external mode)
abap/heap_area_dia 2000683008 Byte Max. heap memory for dialog workprocesses
abap/heap_area_nondia 2000683008 Byte Max. heap memory for non-dialog workprocesses
abap/heap_area_total 2000683008 Byte Max. usable heap memory
abap/heaplimit 250609664 Byte Workprocess restart limit of heap memory
abap/use_paging 0 Paging for flat tables used (1) or not (0)
abap/shared_objects_size_MB 20 MB Shared objectsYes sapconf has been installed. sapconf however only sets the kernel settings.
I was able to resolve the issue by having Zero Admin tool using 'es/implementation = map' and setting the PHYS_MEMSIZE to the desired amount. Then commenting out all the values that are defaulted in the 32bit version of the memory management guide for linux and let it size many of the values. Then I simply copied those from st02. I updated the profile with those values to override default for 'es/implementation = std' and commented out PHYS_MEMSIZE as it is not needed. In a nut shell, the following parameters were updated.
es/implementation = std
em/address_space_MB = 4096
em/blocksize_KB = 4096
em/initial_size_MB = 14320
em/max_size_MB = 14326
rdisp/PG_MAXFS = 131072
rdisp/PG_SHM = 16384
rdisp/ROLL_MAXFS = 131072
rdisp/ROLL_SHM = 131072
ztta/roll_area = 6500352
ztta/roll_extension = 4000000000
ztta/roll_extension_dia = 4000000000
ztta/roll_extension_nondia = 4000000000
ztta/roll_first = 1 -
Folks,
Hello. I am installing PeopleTools 8.53 Internet Architecture. Database Server is Oracle Database 11gR1. OS is Oracle Linux 5.
I confront the issue regarding booting Application Server Domain PT853 while Database Server is listening as below:
[user@userlinux PT8.53]$ . ./psconfig.sh
[user@userlinux appserv]$ export SYSTEM_PASS=SYS/SYS
[user@userlinux appserv]$ export ORACLE_HOME=/home/user/OracleDB_Home
[user@userlinux appserv]$ export ORACLE_SID=PT853
[user@userlinux appserv]$ export TUXDIR=/home/user/Oracle/Middleware/tuxedo11gR1
[user@userlinux appserv]$ export LD_LIBRARY_PATH=$TUXDIR/lib:$LD_LIBRARY_PATH
[user@userlinux appserv]$ export PATH=$TUXDIR/bin:$PATH
[user@userlinux appserv]$ ./psadmin
Its output gets 2 errors in the current server log file /home/user/psft/pt/8.53/appserv/PT853/LOGS/APPSRV_0919.LOG as below:
First, GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library libpsora64 (200,0)
Second, GenMessageBox(0, 0, M): Database Signon: Could not sign on to database PT853 with user PSADMIN.
I create a symlink in /home/user/OracleDB_Home/lib and /lib32 as below:
[user@userlinux lib]$ ln -s libclntsh.so.11.1 libclntsh.so.8.0
[user@userlinux lib32]$ ln -s libclntsh.so.11.1 libclntsh.so.8.0
After that, I run ./psadmin to boot the domain PT853 again, I see the first error is solved. Now, there is only one error in the current server log file /home/user/psft/pt/8.53/appserv/PT853/LOGS/APPSRV_0924.LOG is below:
GenMessageBox(0, 0, M): Database Signon: Invalid user ID or password for database signon. (id=MyOwnerName)
Server failed to start
I have changed UserId as PSADMIN in Configuration file, purge cache and clean IPC resources and reboot. Password is correct. But the error always indicates id=MyOwnerName.
Application Designer login as PSADMIN successfully. Data Mover Bootstrap login as MyOwnerName successfully.
My question is:
Why both PSADMIN and MyOwnerName are invalid user ID or password for database signon ? How to solve the issue ?
Thanks.As stated in the installation manual there are a few prerequisites in chapter CHAPTER 8B Configuring the Application Server on UNIX page 238
Prerequisites
Before beginning this procedure, you should have completed the following tasks:
Installed your application server.
See "Using the PeopleSoft Installer," Understanding PeopleSoft Servers
Installed Tuxedo 11gR1
See "Installing Additional Components."
Granted authorization to a PeopleSoft user ID to start the application server.
The database configuration procedure includes a step for setting up the user ID with authorization to start
the application server. See the application-specific installation instructions for information on the user IDs
for your PeopleSoft application. See the PeopleTools: Security Administration product documentation
for information on PeopleSoft PeopleTools delivered user profiles.
See "Creating a Database on UNIX," Running the Database Configuration Wizard.
See "Creating a Database Manually <on Windows or UNIX>," Creating Data Mover Import Scripts.
Run the following SQL statements on your database server to review and if needed, update the PSCLASSDEFN table:
SELECT CLASSID, STARTAPPSERVER FROM PSCLASSDEFN
WHERE CLASSID IN (SELECT OPRCLASS FROM PSOPRCLS WHERE OPRID='<OPRID>');
UPDATE PSCLASSDEFN SET STARTAPPSERVER=1 WHERE CLASSID='<CLASSID>';
Note. Installers typically use VP1 or PS to test the application server. If these users are deleted or their
passwords are changed, the application server will no longer be available. To avoid this problem, you can set
up a new operator (called PSADMIN or PSASID, for instance) with privileges to start the application server.
If you do this, you can use the new operator for your servers and you won't need to change the
password each time VP1 or PS is changed.
Does you user have privileges to start the applications server.
Also pay attention to the connectid configuration in the application server. This should be the same connectid and password as you provided during the database creation script connect.sql -
ST03N - missing Application Server Statistics
One of our SAP system has 7 application servers and out of which only 5 application server statistics is available through Wprkload ST03N, 2 application servers are entirely missing in the ST03N transaction.
When I explicitly logon into the application servers(which are not shown in ST03N) and try ST03 and to check today's statistics, it shows another servers statistics - Can anyone kindly explain why?
SAP System is 4.6c running in Solaris 9 , with Database as Oracle 9.2.0.8
Thanks in advace.
Regards,
Sureshcheck the time zones in 000 and prd client,whether all are same??
-
Install PeopleTools 8.53 with Linux Issue: Configure Application Server using psadmin
Folks,
Hello. I am installing PeopleTools 8.53 Internet Architecture. Database Server is Oracle Database 11gR1. OS is Oracle Linux 5. I have installed JDK7, WebLogic 10.3.6, Tuxedo 11gR1 and PeopleTools 8.53 successfully into Oracle Linux 5. I have set up PeopleTools 8.53 Database Instance into Oracle Database Server successfully. Data Mover and Application Designer login into the Database Instance successfully. Web Server has been configured successfully.
Now, I confront the issue regarding configuring Application Server as below:
In Windows, I run /PT8.53/appserv/psadmin.exe to create a domain for the PeopleTools Database Instance successfully. But in Linux, the file /PT8.53/appserv/psadmin is light blue color and not executable, I try to run it in the following way:
[user@userlinux appserv]$ ./psadmin
Its output: ./psadmin: error while loading shared libraries: libtrio64.so: cannot open shared object file: No such file or directory
My question is:
Can any folk tell me how to configure Application Server using psadmin in Linux for PeopleTools Internet Architecture ? How to solve the above issue ?
Thanks.Folks,
Hello. Thanks a lot for replying. I run psadmin in the way below:
[user@userlinux PT8.53]$ . ./psconfig.sh
[user@userlinux appserv]$ export TUXDIR=/home/user/Oracle/Middleware/tuxedo11gR1
[user@userlinux appserv]$ export LD_LIBRARY_PATH=$TUXDIR/lib:$LD_LIBRARY_PATH
[user@userlinux appserv]$ export PATH=$TUXDIR/bin:$PATH
[user@userlinux appserv]$ ./psadmin
For Application Designer login, I use UserId PSADMIN and password PSADMIN, it works successfully.
For Data Mover Bootstrap Mode login, I use UserId MYNAME and password MYNAME, it works successfully.
When configure Application Server, I use UserID PSADMIN and password PSADMIN. But when boot the domain, the current server log file "APPSRV_0919.LOG" indicates that "Database Signon: Could not sign on to database PT853 with user PSADMIN."
Then I use UserId MYNAME and password MYNAME to configure the Application server again. I boot this domain again. Strangely, the log file APPSRV_0919.LOG gets the same error message "Database Signon: Could not sign on to database PT853 with user PSADMIN."
I purge the cache and clean IPC resources of this domain, and boot this domain again but get the same error message as above.
The content of current server log file /home/user/psft/pt/8.53/appserv/PT853/LOGS/APPSRV_0919.LOG is below:
PSADMIN.5732 (0) [2013-09-19T11:01:10.841](0) Begin boot attempt on domain PT853
PSAPPSRV.9537 (0) [2013-09-19T11:01:30.338](0) PeopleTools Release 8.53 (Linux) starting. Tuxedo server is APPSRV(99)/1
PSAPPSRV.9537 (0) [2013-09-19T11:01:30.484](0) Cache Directory being used: /home/user/psft/pt/8.53/appserv/PT853/CACHE/PSAPPSRV_1/
PSAPPSRV.9537 (0) [2013-09-19T11:01:30.539](1) GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library libpsora64 (200,0)
PSAPPSRV.9537 (0) [2013-09-19T11:01:30.548](0) Database Options: override_connection_reset: 0
PSAPPSRV.9537 (0) [2013-09-19T11:01:30.550](1) GenMessageBox(0, 0, M): Database Signon: Could not sign on to database PT853 with user PSADMIN.
PSAPPSRV.9537 (0) [2013-09-19T11:01:30.551](0) Server failed to start
PSADMIN.5732 (0) [2013-09-19T11:01:38.906](0) End boot attempt on domain PT853
PSADMIN.10674 (0) [2013-09-19T11:02:20.766](0) Begin boot attempt on domain PT853
PSAPPSRV.11239 (0) [2013-09-19T11:02:34.736](0) PeopleTools Release 8.53 (Linux) starting. Tuxedo server is APPSRV(99)/1
PSAPPSRV.11239 (0) [2013-09-19T11:02:34.823](0) Cache Directory being used: /home/user/psft/pt/8.53/appserv/PT853/CACHE/PSAPPSRV_1/
PSAPPSRV.11239 (0) [2013-09-19T11:02:34.848](1) GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library libpsora64 (200,0)
PSAPPSRV.11239 (0) [2013-09-19T11:02:34.854](0) Database Options: override_connection_reset: 0
PSAPPSRV.11239 (0) [2013-09-19T11:02:34.855](1) GenMessageBox(0, 0, M): Database Signon: Could not sign on to database PT853 with user PSADMIN.
PSAPPSRV.11239 (0) [2013-09-19T11:02:34.856](0) Server failed to start
PSADMIN.10674 (0) [2013-09-19T11:02:41.270](0) End boot attempt on domain PT853
PSADMIN.5107 (0) [2013-09-19T11:56:37.435](0) Begin boot attempt on domain PT853
PSAPPSRV.5182 (0) [2013-09-19T11:56:57.842](0) PeopleTools Release 8.53 (Linux) starting. Tuxedo server is APPSRV(99)/1
PSAPPSRV.5182 (0) [2013-09-19T11:56:58.068](0) Cache Directory being used: /home/user/psft/pt/8.53/appserv/PT853/CACHE/PSAPPSRV_1/
PSAPPSRV.5182 (0) [2013-09-19T11:56:58.134](1) GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library libpsora64 (200,0)
PSAPPSRV.5182 (0) [2013-09-19T11:56:58.142](0) Database Options: override_connection_reset: 0
PSAPPSRV.5182 (0) [2013-09-19T11:56:58.144](1) GenMessageBox(0, 0, M): Database Signon: Could not sign on to database PT853 with user PSADMIN.
PSAPPSRV.5182 (0) [2013-09-19T11:56:58.145](0) Server failed to start
PSADMIN.5107 (0) [2013-09-19T11:57:05.737](0) End boot attempt on domain PT853
PSADMIN.4966 (0) [2013-09-19T18:55:48.131](0) Begin boot attempt on domain PT853
PSAPPSRV.5009 (0) [2013-09-19T18:56:08.869](0) PeopleTools Release 8.53 (Linux) starting. Tuxedo server is APPSRV(99)/1
PSAPPSRV.5009 (0) [2013-09-19T18:56:09.071](0) Cache Directory being used: /home/user/psft/pt/8.53/appserv/PT853/CACHE/PSAPPSRV_1/
PSAPPSRV.5009 (0) [2013-09-19T18:56:09.130](1) GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library libpsora64 (200,0)
PSAPPSRV.5009 (0) [2013-09-19T18:56:09.138](0) Database Options: override_connection_reset: 0
PSAPPSRV.5009 (0) [2013-09-19T18:56:09.140](1) GenMessageBox(0, 0, M): Database Signon: Could not sign on to database PT853 with user PSADMIN.
PSAPPSRV.5009 (0) [2013-09-19T18:56:09.141](0) Server failed to start
PSADMIN.4966 (0) [2013-09-19T18:56:16.253](0) End boot attempt on domain PT853
PSADMIN.4966 (0) [2013-09-19T19:40:11.049](0) Begin boot attempt on domain PT853
PSAPPSRV.6475 (0) [2013-09-19T19:40:26.633](0) PeopleTools Release 8.53 (Linux) starting. Tuxedo server is APPSRV(99)/1
PSAPPSRV.6475 (0) [2013-09-19T19:40:26.731](0) Cache Directory being used: /home/user/psft/pt/8.53/appserv/PT853/CACHE/PSAPPSRV_1/
PSAPPSRV.6475 (0) [2013-09-19T19:40:26.776](1) GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library libpsora64 (200,0)
"~/psft/pt/8.53/appserv/PT853/LOGS/APPSRV_0919.LOG" 64L, 7012C
My question are:
1) I have changed UserId from PSADMIN to MYNAME and password from PSADMIN to MYNAME in Application Server configuration, why the log file APPSRV_0919.LOG gets the same error message "Database Signon: Could not sign on to database PT853 with user PSADMIN." ?
2) I purge the cache and clean IPC resources of this domain and reboot this doamin, why the log file APPSRV_0919.LOG gets the same error message "Database Signon: Could not sign on to database PT853 with user PSADMIN." ?
3) How to solve the above issues ?
Thanks. -
OPEN DATA SET to write files in application server folder - some of the files are missing
Hi,
I'm using OPEN DATASET statement in batch job to write the files in application server. what i'm experiencing is when i schedule the batch job all the files are not writing into the folder.
If i run the report again to write the missed files, the files are writing into the application server folder.
after opening the dataset, i'm closing it. do we need to give any delay between creation of the files? or until the first write operation is done, 2nd one can't start ..how can we achieve this.
Thanks for your help in advance.
Thanks,
Adi.Hello Bathineni,
Are you using the sy-subrc check after the OPEN DATASET statement.
If not use a sy-subrc check and transfer the contents to file only when the OPEN DATASET returns value sy-subrc = 0.
if sy-subrc is 8 repeat the same loop say for 3 attempts until the OPEN DATASET becomes 0.
DO 3 TIMES. <---- put any number of attempts as you need
OPEN DATASET.
IF sy-subrc = 0.
TRANSFER contents to file.
EXIT.
ENDIF.
ENDDO.
CLOSE DATASET.
Regards,
Thanga -
Regarding Sun Java System Application Server Issue with JVM
Regarding Sun Java System Application Server Issue with JVM
Hi
I have installed SJSAS9.1 on solaris system. I m trying to deploy war file which i compiled in windows enviorment by jdk1.5.0_05. Every time i got the following error :
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
PWC6199: Generated servlet error:
[javac] javac: invalid target release: 1.5
[javac] Usage: javac
[javac] where possible options include:
[javac] -g Generate all debugging info
[javac] -g:none Generate no debugging info
[javac] -g:{lines,vars,source} Generate only some debugging info
[javac] -nowarn Generate no warnings
[javac] -verbose Output messages about what the compiler is doing
[javac] -deprecation Output source locations where deprecated APIs are used
[javac] -classpath Specify where to find user class files
[javac] -sourcepath Specify where to find input source files
[javac] -bootclasspath Override location of bootstrap class files
[javac] -extdirs Override location of installed extensions
[javac] -d Specify where to place generated class files
[javac] -encoding Specify character encoding used by source files
[javac] -source Provide source compatibility with specified release
[javac] -target Generate class files for specific VM version
[javac] -help Print a synopsis of standard options
note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs.
I have cheked jvm version on both system the only difference is :
Solaris points to jdk 1.5.0_09
Windows point to jdk1.5.0_05
Even i tried to run blank jsp also but again i got the same error.
Can any help me to sort out the problem or give me any idea so i can do something by my own.
Thanks in Advance
GaganDo you have ANT installed and available?
Thanks,
Kedar -
Issue with uploading XML file from application server into internal table
i Need to fetch the XML file from the application server and place into internal table and i am getting error message while using the functional module SMUM_XML_PARSE and the error message is "line 1 col 1-unexpected symbol; expected '<', '</', entity reference, character data, CDATA section, processing instruction or comment" and could you please let me know how to resolve this issue?
TYPES: BEGIN OF T_XML,
raw(2000) TYPE C,
END OF T_XML.
DATA:GW_XML_TAB TYPE T_XML.
DATA: GI_XML_TAB TYPE TABLE OF T_XML INITIAL SIZE 0.
DATA:GI_STR TYPE STRING.
data: GV_XML_STRING TYPE XSTRING.
DATA: GI_XML_DATA TYPE TABLE OF SMUM_XMLTB INITIAL SIZE 0.
data:GI_RETURN TYPE STANDARD TABLE OF BAPIRET2.
OPEN DATASET LV_FILE1 FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF SY-SUBRC NE 0.
MESSAGE 'File does not exist' TYPE 'E'.
ELSE.
DO.
* Transfer the contents from the file to the work area of the internal table
READ DATASET LV_FILE1 INTO GW_XML_TAB.
IF SY-SUBRC EQ 0.
CONDENSE GW_XML_TAB.
* Append the contents of the work area to the internal table
APPEND GW_XML_TAB TO GI_XML_TAB.
ELSE.
EXIT.
ENDIF.
ENDDO.
ENDIF.
* Close the file after reading the data
CLOSE DATASET LV_FILE1.
IF NOT GI_XML_TAB IS INITIAL.
CONCATENATE LINES OF GI_XML_TAB INTO GI_STR SEPARATED BY SPACE.
ENDIF.
* The function module is used to convert string to xstring
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
TEXT = GI_STR
IMPORTING
BUFFER = GV_XML_STRING
EXCEPTIONS
FAILED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE 'Error in the XML file' TYPE 'E'.
ENDIF.
ENDIF.
IF GV_SUBRC = 0.
* Convert XML to internal table
CALL FUNCTION 'SMUM_XML_PARSE'
EXPORTING
XML_INPUT = GV_XML_STRING
TABLES
XML_TABLE = GI_XML_DATA
RETURN = GI_RETURN.
ENDIF.
READ TABLE GI_RETURN TRANSPORTING NO FIELDS WITH KEY TYPE = 'E'.
IF SY-SUBRC EQ 0.
MESSAGE 'Error converting the input XML file' TYPE 'E'.
ELSE.
DELETE GI_XML_DATA WHERE TYPE <> 'V'.
REFRESH GI_RETURN.
ENDIF.Could you please tel me why the first 8 lines were removed, till <Soap:Body and also added the line <?xml version="1.0" encoding="UTF-8"?> in the beggining .
Becuase there will be lot of XML files will be coming from the Vendor daily and that should be uploaded in the application server and should update in the SAP tables based on the data in the XML file.
what information i need to give to vendor that do not add the first 8 lines in the XML file and add the line in the beggining <?xml version="1.0" encoding="UTF-8"?> ??????
Is there any other way we can do with out removing the lines? -
Issue: XML File Downloading to Application Server
Hi All,
I am experiencing an issue downloading an XML File to the Application Server.
I'm using FM SAP_CONVERT_TO_XML_FORMAT to convert SAP data to XML Format.
After getting the XML data into XMLTAB, I'm using:
OPEN DATASET pfile_fs FOR OUTPUT IN BINARY MODE .
LOOP AT xmltab INTO xmltab_w.
TRANSFER xmltab_w TO pfile_fs.
CLEAR xmltab_w.
ENDLOOP.
CLOSE DATASET pfile_fs.
The xml file is downloaded show an Error in 'XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
Invalid at the top level of the document. Error processing resource 'file:/shared/TEST/2009'
But when i download xml file using the FM WS_Download , the XML page has no errors .
I am unable to figure out what could be the issue, If this issue is due to some characters like Chinese or Japanese then .. is there any solution for this .
Please, give me your valuable suggestions.
Thank you,
PraseadDear Prasead,
Hope things are good at your end, i have got the same issue as well, could you please care to share the solution...Wud be of a gr8 help if you could do that, hope to have your response back.
Regards,
Abdul. -
Issue in Uploading file to application server
Hi folks,
I need to transfer data to excel file on application server but i am facing issues while doing so.
I am working on ECC6.0 system.
I am trying with this code and it giving dump error on transfer command.
w_file = '/usr/data/020//varun.xls'.
OPEN DATASET w_file for input in text mode encoding non-unicode.
LOOP AT T_MARD.
TRANSFER string to w_file.
endloop.
CLOSE DATASET w_file.
Please help.
Is there any other way to do so please let me knowHi Got the solution :-
If the data to be transferred is having all characters then we can use this:-
OPEN DATASET w_file for output in text mode encoding non-unicode.
if sy-subrc eq 0.
LOOP AT T_MARD into wa_mard.
TRANSFER wa_mard to w_file.
endloop.
endif.
CLOSE DATASET w_file.
If all the data is not in char then - declare a char strinf of the table length.
Data: loc_string(300) type c.
OPEN DATASET w_file for output in text mode encoding non-unicode.
if sy-subrc eq 0.
LOOP AT T_MARD into wa_mard.
CALL FUNCTION 'HR_99S_COPY_STRUC1_STRUC2'
EXPORTING
p_struct1 = wa_mard
IMPORTING
p_struct2 = loc_string.
TRANSFER loc_string to w_file.
endloop.
endif.
CLOSE DATASET w_file.
Thanks for the help -
Issue with reading XLSX with multiple sheets file in application Server
Hi,
We're currently implementing SAP CRM 7.40.
In one requirement we have to process an XLSX file and load its information to a set of Z tables.
The file has 6 sheets of data to process, each sheet with distinct number of columns and types (each sheet will be upload to a different Z table).
We're able to process the XLSX using the Desktop Office integration for local files.
However, we must also be able to process files on the application server.
We tried the following approaches without success
- The DOI library doesn't seem to support remote files processing:
- OPEN DATASET. with the dataset we're able to read a remote file, however since the file format is XLSX, the information we read in the dataset comes in an unreadable format
- FTP. we tried to use FTP to download the remote file to a local folder so that we could then use the DOI library to process the file. However, the client only allows SFTP connections and SAPFTP doesn't provide SFTP
There's another approache we're considering to try which is to have a perl script on the application server to split the Excel file into CSV files (one for each tab) and then use OPEN DATASET to read the contents of each file and work from there. This approach seems quite cumbersom
The approach with DOI would be the best one but either we're missing a key configuration or it truly can't be used for files. Are there any special requirements that we should take into account for this option?
We'd like to know if you have any other approach that proves successfull or if any of the above can work but with some aditional adjustments.
Thanks in advance.
Best regards.Hello Ricardo,
Go through below link.
to read Excel file from the application server in a BACKGROUND process
You can try below approach if it is feasible for you.
Turning ".XLSX" into XML & read XML file through application.
XLSX Upload - a Unified Approach - SCN - SAP.com
Thanks!
Sameer -
Error opening files on a server "Application is missing" for every file type
Hello,
I have got quite a strange problem with Maverick and a server (Isilon NAS).
When we connect to this server, with SMB or CIFS, it's impossible to open a file because "The application is missing". They are .PDF or .XLSX files mainly, so nothing exotic.
If we copy those files locally we are able to open them. The problem is only happening on two new MacBook Pro, we have roughly 40 other various Macs without this bug.
It's possible to "fix" the problem temporary by connecting to the same server, but on another share : smb://my_server/one_share -> "The application is missing", smb://my_server/another_share -> Working as expected. But next time "another_share" won't work, but "one_share" will...
We tried to troubleshoot the problem but it looks like a really rare bug, we are going to install the Combo Updates to see if it helps.
Any suggestion or idea is welcomed.
Have a nice dayHi
Did you try some steps given in the following article
"Some files on the server may be missing or incorrect" Warning Message
See if that helps. Do let me know if you have any question. -
Oracle Application Server 10g thread stuck issue.
We are having,
Oracle Application Server 10g [10.1.3.1 + 10.1.3.4patch] along with Oracle Http Server 2.0
Now there is a issue of thread stuck [some application threads taking longer times] due to which the application server is unable to respond and sometimes it reinits the oc4j instance.
=> Is there any setting to increase the Thread Stuck Time in OAS.
=> Is there any setting to stop the auto reinit of oc4j instance.
=> Does the auto re init of oc4j get logged in opmn.log as well as in service.log.
It will be really helpful if any advice on the same.
Thanks in advance...
ManojCLook in httpd.conf file anything that is like thread in there you will find a simple description of the Directives.
Greetings. -
Oracle Application Server Install Issue
Gurus,
There were 2 CD/DVDS (media) sent for the Oracle Application Server Install, but the Oracle Universal Installer did not ask for the 2nd CD while doing the Install, is this normal or I am not sure I missed any steps while installing the 1st CD/DVD.
I was waiting that it would ask for the IInd CD/DVD, But it never? but the Install looked clean and exited clean without any error.
Please advice.
Thanks
SheikThe 2nd disk is Companion CD. It contains the install files for other components.
For instance, If you want to install Oracle HTTP Server only, then you use the companion CD to do so. It has many other individual installations.
Aalap Sharma :)
Maybe you are looking for
-
How to Display Query Variables in Text Titles?
Hi experts, I have created a web template that has a query parameter screen and then displays the results in the form of charts and tables. My question is how do I display the parameters entered by the user in a chart title? For example if the user e
-
Hi Experts, we are testing file to RFC scenario. file adapter picked the file but not moving to Integration engine.we are getting below error someone can help us to resolve the issue. already we tested same one in development there it was works fine.
-
Any ideas on how to resolve the following error: There was a problem downloading "The Bear and the Maiden Fair / Game of Thrones / Game of Thrones". An unknown error occurred (502). Please check that the connection to the network is active and try ag
-
Hi, on 11.2.0.4.0 on Win 2008, I have : select count(*) NOT_NE from EXEMPLAIRES WHERE ETAT !='NE'; NOT_NE 23 select count(*) NE from EXEMPLAIRES WHERE ETAT ='NE'; NE 3 select count(*) TOTAL from EXEMPLAIRES; TOTAL 26 But : the follo
-
ORA-01445: cannot select ROWID from a join view without a key-preserved tab
Hi All, I have 2 windows in a form. When i click on a button in first window, then 2nd window will be opened. (Note: both windows are based have master-details relationship with Table1 and Table2 respectively) When i enter the information in 2nd wind