Try to understand the Application Server
Assume there are three web sites hosted in an Application Server, they are www.1.com, www.2.com, and www.3.com, repectively.
When a user in somewhere type in www.1.com in his/her browser, the server machine that hosts the web sites will be located first. Then how is each individual web site located on the server, remember there are thee web sites hosted on the same machine?
Thanks to help
Scott
Hi,
CHapter I
http://iasdocs/iasdl/101200doc/web.1012/b14007.pdf
is a good starting point.
regards
Similar Messages
-
Upload tab-delimited file from the application server to an internal table
Hello SAPients.
I'm using OPEN DATASET..., READ DATASET..., CLOSE DATASET to upload a file from the application server (SunOS). I'm working with SAP 4.6C. I'm trying to upload a tab-delimited file to an internal table but when I try load it the fields are not correctly separated, in fact, they are all misplaced and the table shows '#' where supposedly there was a tab.
I tried to SPLIT the line using as separator a variable with reference to CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB but for some reason that class doesn't exist in my system.
Do you know what I'm doing wrong? or Do you know a better method to upload a tab-delimited file into an internal table?
Thank you in advance for your help.Try:
REPORT ztest MESSAGE-ID 00.
PARAMETER: p_file LIKE rlgrap-filename OBLIGATORY.
DATA: BEGIN OF data_tab OCCURS 0,
data(4096),
END OF data_tab.
DATA: BEGIN OF vendor_file_x OCCURS 0.
* LFA1 Data
DATA: mandt LIKE bgr00-mandt,
lifnr LIKE blf00-lifnr,
anred LIKE blfa1-anred,
bahns LIKE blfa1-bahns,
bbbnr LIKE blfa1-bbbnr,
bbsnr LIKE blfa1-bbsnr,
begru LIKE blfa1-begru,
brsch LIKE blfa1-brsch,
bubkz LIKE blfa1-bubkz,
datlt LIKE blfa1-datlt,
dtams LIKE blfa1-dtams,
dtaws LIKE blfa1-dtaws,
erdat LIKE lfa1-erdat,
ernam LIKE lfa1-ernam,
esrnr LIKE blfa1-esrnr,
konzs LIKE blfa1-konzs,
ktokk LIKE lfa1-ktokk,
kunnr LIKE blfa1-kunnr,
land1 LIKE blfa1-land1,
lnrza LIKE blfa1-lnrza,
loevm LIKE blfa1-loevm,
name1 LIKE blfa1-name1,
name2 LIKE blfa1-name2,
name3 LIKE blfa1-name3,
name4 LIKE blfa1-name4,
ort01 LIKE blfa1-ort01,
ort02 LIKE blfa1-ort02,
pfach LIKE blfa1-pfach,
pstl2 LIKE blfa1-pstl2,
pstlz LIKE blfa1-pstlz,
regio LIKE blfa1-regio,
sortl LIKE blfa1-sortl,
sperr LIKE blfa1-sperr,
sperm LIKE blfa1-sperm,
spras LIKE blfa1-spras,
stcd1 LIKE blfa1-stcd1,
stcd2 LIKE blfa1-stcd2,
stkza LIKE blfa1-stkza,
stkzu LIKE blfa1-stkzu,
stras LIKE blfa1-stras,
telbx LIKE blfa1-telbx,
telf1 LIKE blfa1-telf1,
telf2 LIKE blfa1-telf2,
telfx LIKE blfa1-telfx,
teltx LIKE blfa1-teltx,
telx1 LIKE blfa1-telx1,
xcpdk LIKE lfa1-xcpdk,
xzemp LIKE blfa1-xzemp,
vbund LIKE blfa1-vbund,
fiskn LIKE blfa1-fiskn,
stceg LIKE blfa1-stceg,
stkzn LIKE blfa1-stkzn,
sperq LIKE blfa1-sperq,
adrnr LIKE lfa1-adrnr,
mcod1 LIKE lfa1-mcod1,
mcod2 LIKE lfa1-mcod2,
mcod3 LIKE lfa1-mcod3,
gbort LIKE blfa1-gbort,
gbdat LIKE blfa1-gbdat,
sexkz LIKE blfa1-sexkz,
kraus LIKE blfa1-kraus,
revdb LIKE blfa1-revdb,
qssys LIKE blfa1-qssys,
ktock LIKE blfa1-ktock,
pfort LIKE blfa1-pfort,
werks LIKE blfa1-werks,
ltsna LIKE blfa1-ltsna,
werkr LIKE blfa1-werkr,
plkal LIKE lfa1-plkal,
duefl LIKE lfa1-duefl,
txjcd LIKE blfa1-txjcd,
sperz LIKE lfa1-sperz,
scacd LIKE blfa1-scacd,
sfrgr LIKE blfa1-sfrgr,
lzone LIKE blfa1-lzone,
xlfza LIKE lfa1-xlfza,
dlgrp LIKE blfa1-dlgrp,
fityp LIKE blfa1-fityp,
stcdt LIKE blfa1-stcdt,
regss LIKE blfa1-regss,
actss LIKE blfa1-actss,
stcd3 LIKE blfa1-stcd3,
stcd4 LIKE blfa1-stcd4,
ipisp LIKE blfa1-ipisp,
taxbs LIKE blfa1-taxbs,
profs LIKE blfa1-profs,
stgdl LIKE blfa1-stgdl,
emnfr LIKE blfa1-emnfr,
lfurl LIKE blfa1-lfurl,
j_1kfrepre LIKE blfa1-j_1kfrepre,
j_1kftbus LIKE blfa1-j_1kftbus,
j_1kftind LIKE blfa1-j_1kftind,
confs LIKE lfa1-confs,
updat LIKE lfa1-updat,
uptim LIKE lfa1-uptim,
nodel LIKE blfa1-nodel.
DATA: END OF vendor_file_x.
FIELD-SYMBOLS: <field>,
<field_1>.
DATA: delim TYPE x VALUE '09'.
DATA: fld_chk(4096),
last_char,
quote_1 TYPE i,
quote_2 TYPE i,
fld_lth TYPE i,
columns TYPE i,
field_end TYPE i,
outp_rec TYPE i,
extras(3) TYPE c VALUE '.,"',
mixed_no(14) TYPE c VALUE '1234567890-.,"'.
OPEN DATASET p_file FOR INPUT.
DO.
READ DATASET p_file INTO data_tab-data.
IF sy-subrc = 0.
APPEND data_tab.
ELSE.
EXIT.
ENDIF.
ENDDO.
* count columns in output structure
DO.
ASSIGN COMPONENT sy-index OF STRUCTURE vendor_file_x TO <field>.
IF sy-subrc <> 0.
EXIT.
ENDIF.
columns = sy-index.
ENDDO.
* Assign elements of input file to internal table
CLEAR vendor_file_x.
IF columns > 0.
LOOP AT data_tab.
DO columns TIMES.
ASSIGN space TO <field>.
ASSIGN space TO <field_1>.
ASSIGN COMPONENT sy-index OF STRUCTURE vendor_file_x TO <field>.
SEARCH data_tab-data FOR delim.
IF sy-fdpos > 0.
field_end = sy-fdpos + 1.
ASSIGN data_tab-data(sy-fdpos) TO <field_1>.
* Check that numeric fields don't contain any embedded " or ,
IF <field_1> CO mixed_no AND
<field_1> CA extras.
TRANSLATE <field_1> USING '" , '.
CONDENSE <field_1> NO-GAPS.
ENDIF.
* If first and last characters are '"', remove both.
fld_chk = <field_1>.
IF NOT fld_chk IS INITIAL.
fld_lth = strlen( fld_chk ) - 1.
MOVE fld_chk+fld_lth(1) TO last_char.
IF fld_chk(1) = '"' AND
last_char = '"'.
MOVE space TO fld_chk+fld_lth(1).
SHIFT fld_chk.
MOVE fld_chk TO <field_1>.
ENDIF. " for if fld_chk(1)=" & last_char="
ENDIF. " for if not fld_chk is initial
* Replace "" with "
DO.
IF fld_chk CS '""'.
quote_1 = sy-fdpos.
quote_2 = sy-fdpos + 1.
MOVE fld_chk+quote_2 TO fld_chk+quote_1.
ELSE.
MOVE fld_chk TO <field_1>.
EXIT.
ENDIF.
ENDDO.
<field> = <field_1>.
ELSE.
field_end = 1.
ENDIF.
SHIFT data_tab-data LEFT BY field_end PLACES.
ENDDO.
APPEND vendor_file_x.
CLEAR vendor_file_x.
ENDLOOP.
ENDIF.
CLEAR data_tab.
REFRESH data_tab.
FREE data_tab.
Rob -
Error while configuring the application server for ESB on Jdeveloper
While i try to configure a application server connection on Jdeveloper for a remote installation of ESB (advanced mode with all the three components together and not in a cluster mode) i get the following error :
Error getting OC4J Process for: opmn-home+oc4j-10.10.36.21-6003-default:
Error connecting to OPMN (is it running?): Connection refused: connect
All the OC4J processes are running on the server as i get the following output for the ./opmnctl status command :
[oraclesoa@esboid2 bin]$ ./opmnctl status
Processes in Instance: home.localhost.localdomain
--------------------------------------------------------------+---------
ias-component | process-type | pid | status
--------------------------------------------------------------+---------
OC4JGroup:default_group | OC4J:oc4j_soa | 10000 | Alive
OC4JGroup:default_group | OC4J:home | 9999 | Alive
ASG | ASG | N/A | Down
HTTP_Server | HTTP_Server | 9998 | Alive
The installation is on a Linux box.
I give the following details in the connection properties box in Jdeveloper :
host : 10.10.36.21
opmn port : 6003
oc4j instance : home
Also the opmn port is correct :
[oraclesoa@esboid2 bin]$ ./opmnctl status -port
esboid2:6003
Any ideas on this?
Message was edited by:
Nilayi tried with taht.....same error.......is this an issue with port 6003 on the server........it is a linux server and I cannot telnet to it......i can use SSH though.......how to know whether the opmn port(6003) is open or not?.....
-
Error while accessing the application server file
Hello,
When I try to load the data from CSV file to PSA , I am getting following error message
"Error while accessing the application server file"
"Errors in source system"
I gave the right file path
I am not sure about this error message.
Thanks,Hi ram,
if you have more than one application server running in your BI system (see at transaction SM51) be aware that your infopackage will be executed on the right one. Each application server has its own file system and your job need to run on the server your file is stored on.
Also check if the os user of the SAP system itself (<sid>adm on Unix) has rights to read that file.
Bye
Frank -
Error while extracting XML file from the application server
Hi ,
I am writing a XML file into the application server, after which when i try to extract the file to the local server using the report - RFASLDPC ,
the file is extracted, but with a '#' symbol at the first position.
Because of which the XML File does not open. But after i open the file in notepad and manually delete the '#' symbol and then reopen the file, it works fine.
Is there any way to remove the '#' symbol while extracting itself ??
Thanks in advance,
Vikas.Select the option "No Character Set Conversion" in stead of Code page 1100.
However, I still have troubles -> the downloaded xml file misses a space on several places. This causes errors too. -
How to find out the application server instance name?
Hi,
I installed an Oracle application server a long long while ago and completely forgot the things about the installation, including the name of the instance (I installed single instance, not cluster). Now I am trying to create a connection to the application server and I am prompted to fill in the instance name. Where in the installation can I find out the instance name?
The version of the server as displayed when the server is started:
$ ./oc4j -start
Starting OC4J from /oraInventory/j2ee/home ...
09/10/08 16:04:39 Oracle Containers for J2EE 10g (10.1.3.2.0) initializedThis 10.1.3.2.0 number is somewhat confusing. As I understand it, right now if you download a copy of the Application server from Oracle web site, the current version is 10.1.3.1.0.
I am also reading the installation guide now and when looking at the server starting messages on the screen, I realize that installing the server in the oraInventory directory is not quite right. Does that interfere with the correct functioning of the server? I installed it but have never tried to use it until now.
Many thanks for your help!
NewmanJ. Newman wrote:
Hi,
I installed an Oracle application server a long long while ago and completely forgot the things about the installation, including the name of the instance (I installed single instance, not cluster). Now I am trying to create a connection to the application server and I am prompted to fill in the instance name. Where in the installation can I find out the instance name?If you have access to that server, then the following should give the instance name.
grep 'IASname' $ORACLE_HOME/config/ias.properties
you should also see it in the AS Control Console page.
The version of the server as displayed when the server is started:
$ ./oc4j -start
Starting OC4J from /oraInventory/j2ee/home ...
09/10/08 16:04:39 Oracle Containers for J2EE 10g (10.1.3.2.0) initializedThis 10.1.3.2.0 number is somewhat confusing. As I understand it, right now if you download a copy of the Application server from Oracle web site, the current version is 10.1.3.1.0.
Regarding the version numbers, this fourth digit refers to the Component-specific release number. The OAS documentation says this about it.
"This digit identifies a release level specific to a component. Different components can have different numbers in this position depending upon, for example, component patch sets or interim releases."
I am also reading the installation guide now and when looking at the server starting messages on the screen, I realize that installing the server in the oraInventory directory is not quite right. Does that interfere with the correct functioning of the server? I installed it but have never tried to use it until now.
Many thanks for your help!
NewmanI think Oracle software should always be installed in a separate directory. I think it may also generate errors in its functioning but it will certainly create a whole lot confusion and mess in later administration and configurations.
hope that helps!
AMN
Edited by: AMN on Oct 8, 2009 5:14 PM -
FIle Creation in the Application Server With Unicode-8 and Byte-Order Mark
Hi Guys,
I've requirement of creating a file in the Application server with the Data.
The Data Format Should be in UTF-8 and Byte-Order Mark.
I need to supply this data from SAP to PRMS.
I'm able to create a file with Unicode, but any of the guys have worked on Umicode with Byte-Order Mark, please let me know.
Thanks,
Adi.Hi Mathieu,
If you haven't found an aswer yet, you can check in transaction SE24 CL_ABAP_FILE_UTILITIES method CREATE_UTF8_FILE_WITH_BOM. You can check the code of the method (it's very short) so you can understand how it works. It's also a static method so you can call it directly in your program.
Ex:
CALL METHOD cl_abap_file_utilities=>create_utf8_file_with_bom(your_file_name).
I hope this helps.
Pax Vobiscum.
~ Eric -
Cannot find the age in years csv file in the application server
Hi,
I want to upload the age in years hierarchy from the CSV file AGE_E.CSV that should be available in the application server.
When i try to preview file in the info package, a message is thrown which says that the file does not exist, which means that the perticular file is not present in the application server.
Can any one of you please tell me where else can i find this file.
Regards,
Chetana.dear Chetana,
transaction AL11 can be used to check the file location.
check DIR_TEMP or DIR_TRANS. or ask basis where the file is put.
hope this helps. -
Need to replace a file in the application server
Hello Experts,
Through ABAP coding, I need to replace a file which is available in the application server from one path to another. I should not use OPEN DATASET, CLOSE DATASET, DELETE DATASET and all as they deal with the data. I need to replace the file with out touching the data of the file.
Could anyone please help.
I heard that i have to use some UNIX script.
Regards,
SudheerSudheer,
Try this...
WITHOUT TOUCHING THE DATA OF A FILE . . .Just Moving the file ( unix commands in abap )
DATA: command(255) TYPE c,
fnam_sour(255),
fnam_target(255).
fnam_sour = '\hme\usr\interface\..... " path of source file
fnam_target = '\hme\usr\interface\..... " target path, where file to placed.
OPEN DATASET fnam_sour FOR INPUT " fnam_sour -> path of source file...
MESSAGE msg IN TEXT MODE
ENCODING DEFAULT.
IF sy-subrc <> 0.
< error msg : no file exits>
else.
OPEN DATASET fnam_target FOR INPUT " fnam_target -> path where file to be placed....
MESSAGE msg IN TEXT MODE
ENCODING DEFAULT.
if sy-surc = 0.
CONCATENATE 'mv' fnam_sour fnam_target INTO command SEPARATED BY
space.
CONDENSE command.
PERFORM uxcmd USING command.
endif.
endif.
*& Form UXCMD
FORM uxcmd USING p_command.
**issue UNIX command by calling system function.
DATA: BEGIN OF itab OCCURS 0,
line(255),
END OF itab.
CALL 'SYSTEM' ID 'COMMAND' FIELD p_command
ID 'TAB' FIELD itab-sys.
ENDFORM. " UXCMD
Regards
Ram -
ABEND while creating file in the application server
Dear All,
Please provide the solution for the following.
REPORT ZMAIN.
SELECT BKORM UP TO 1000
EXTRACT ext.
ENDSELECT
Imagine, now the extract file having 1000 Entries
Reading the above EXTRACT file
LOOP .
submit ZSUB.
ENDLOOP.
End OF Main Program----
REPORT ZSUB.
SELECT BKORM UPTO 500
EXTRACT ext.
ENDSELECT
Here for each submit of the ZSUB, it is creating one EXTRACT file in the application server. When it reaching to create 999, it is going for ABEND.
Can anybody provide the solution to avoid going for ABEND .
Is there any restriction to create extract files in the applciation server?
Thanks in advance.Instead of select/endselect, try to use a loop with internal tables..
There's no limit in the extracts you can do..
<removed by moderator>
Edited by: Thomas Zloch on Nov 2, 2010 5:20 PM - please do not ask for... -> Ok
Edited by: Roberto Vacca on Nov 2, 2010 5:29 PM -
ABAP Trial version u2013 starting the application server
Hi,
I have a problem starting the application server via the management console. After choosing action ->start I have to enter user and password. Do I have to create a new user password combination, use the OS password or try bcuser and minisap? None of these three options worked out. I always get the message 'Start failed: 2 Invalid Credentials'. Or went there something wrong during the installation?
Thanks for your help.
BirgitHey Birgit,
In my case I installed ABAP Trial version (also known as MiniSap) on my local machine (Windows).
When I turn on the machine, my Windows(OS) requires a User/Password (It was configured this way but it is possible you configure to not require a User/Password, it uses a default).
When I instaled the ABAP Trial version, I logged on with a User/Password with administrator rights (it is necessary for installation).
When, in the "Management Console", I start the ABAP (the "NSP" node), it asks me the user and password and I use the OS User/Password that I used to install ABAP Trial (above).
If you are doing the same I don't know why the message "Start failed: 2 Invalid Credentials".
Merry Christmas,
Edited by: Walmir Catunda on Dec 15, 2008 11:34 AM -
Save the image in the application server directly
Hi,
I have developed a report which displays piechart as the output and saves the image on the presentation server. For that i have used the following code.
when 'SAVE'.
DATA : D TYPE GFW_EXP_DATA,
R TYPE SYMSGNO.
DATA: S TYPE STRING,
N TYPE I.
CALL METHOD GP_INST->IF_GRAPHIC_PROXY~EXPORT
EXPORTING
FORMAT =
IF_GRAPHIC_PROXY=>co_format_bmp
WIDTH = 50
HEIGHT = 200
name = 'C:\Documents and Settings.........'
IMPORTING
CONTENT_TYPE = S
CONTENT_LENGTH = N
CONTENT = D
RETVAL = R
I have a requirement where i have to save the output of the screen(piechart) in the application server directly with out using the presentaion server.
Is there any method to do so.
Thanks and regards,
Parvatha ReddyHi parvatha ,
your question is really good.
Well i really haven't come across your scenario i many years . But my suggestion is to can use java code to achieve the same .
Or try to use hexadecimal type in your normal class to read the pie-chart and use transfer with same type . -
Regarding the File Format on the application server
Hi,
I would like to know the file format (ANSI, UTF-8, UTF-16, UTF-32) of the file placed on the application server in my program. Can anyone help me with the Function Module or Class or any other way which will retrieve this information.
Thanks
Sarves S V KHi
You can try the standard class CL_ABAP_FILE_UTILITIES and the method
CALL METHOD cl_abap_file_utilities=>check_utf8
EXPORTING
file_name = filename
IMPORTING
bom = file_bom
encoding = file_encoding.
Check the possible values returned by encoding and BOM:
NO_BOM
BOM_UTF8
BOM_UTF16_BE
BOM_UTF16_LE
ENCODING_UTF8
ENCODING_7BIT_ASCII
ENCODING_OTHER -
Transaction Code for seeing the files in the Application Server
Hello All,
Can anybody please give me the transaction code for seeing the files in the Application Server
Thanks in Advance,
Regards,
LIJO.hi
good
try with tcode AL11.
thanks
mrutyun^ -
How to change the application server paramters in 9ias
I want to change the change the heap size that JVM can use at runtime instead of changing it manually. The paramters are Command Line Options, for OC4j(Multiple VM configuration), the parameter is -Xmx in Java Options.
So I wanted to know if it is possible to change these Command Line Options at run time through Java code inside the application.Hi,
I think you didn't get what I intended to say. you said "what i find is :Problem:
RZ21->Technical Infrastructure->Availability Monitoring->CCMSPING instance for XB1 -Under Monitored systems".
Now, find your saplogon.ini file . It should have the correct information about your system with the application server. Try 'Load System' from your saplogon.ini file. You should be able to the correct information then.
Hope it will help you.
Rajeev
Maybe you are looking for
-
I can't use shared folders feature in VMware
Arch Linux is the guest system. Windows 7 is the host OS. I'm using VMware Workstation 10.0.1. After installing vmware tools (the original ones) I can't mount my shared folder. It says ~ mount -t vmhgfs .host:/ /mnt Error: cannot mount filesystem: No
-
Error While creating Domain offline in windows...
I am trying to create a domain in windows using my scripts which i use in unix. But i am getting the following error. Here i am using Ant /build.xml/ and domain.properties( in this i pass the details) Please help.... C:\scripts>setenv C:\scripts>set
-
How to do Analysis in ST03? Any sample documents or explanation?
Hi experts, Can anybody explain me how to analyze the parameters and take respective actions in ST03 Tx code..i.e BW technical content.. I would really appreciate if you have a document related to analysis on ST03.. thank you kishore karnati
-
Can't install 9.2 please help!!
I am trying to install 9.2 on a computer that was previously used for Linux. Here's the big problem. I can't find the hard disk. There's no icon for it, so when I try to install to a destination drive, there's nothing. I did see a "network disk" choi
-
Why does my iPad air keep freezing, it's only 2 days old
I have an iPad air that I was bought for Christmas. It keep freezing a few times a day, can anyone tell me if they have experienced this, what I am doing wrong or how I can fix this.