New Directory in Application server
Hi,
I need to load data in SAP application server. i will use CG3X to load the data.
I need to create a new directory in the application server to load all my flat files. Does any one know how to create a directoty?
Please provide list of steps and transactions used for creating this.
Thnks
Hi Sakthi Kumar,
Also you can try below FMs
GUI_CREATE_DIRECTORY
WBMR_CREATE_APPL_FOLDER
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya
Similar Messages
-
New Directory in Application server Required for data upload
Hi,
I need to load data in SAP application server. i will use CG3X to load the data.
I need to create a new directory in the application server to load all my flat files. Does any one know how to create a directoty?
Please provide list of steps and transactions used for creating this.
ThnksGo to t-code FILE.
Click on Logical file path definition and hit the New Entries button
Enter your logical path name, say ZXXX
Go back to FILE
In the right window, click on the block on the left to highlight the line you just created.
Now double-click on Assignment of physical paths to logical path
Now click New Entries.
Select your syntax group (this is just your O/S)
Here you can enter your physical path. -
How to Raise alert in XI when a new file reaches application server
Hey guys
i have a requirement in which i need to trigger a piece of ABAP code whenever a new file reaches a specific directory of Application server.
i m using File adapter on receiver side and i want to raise a trigger so that the ABAP code is executed automatically whenever some new file reaches the directory
we are running Win server
thanx
ahmad
Message was edited by:
AhmadHI,
It is possible to write a ABAP program to raise alert.and schedule it , In ABAP program we can check the file is existed or not in a specified folder if existes then we can raise Alert.Actually Alerts are maintained by SAP Alert Management only.
So , but not clear , you said you are using the File receiver adapter .
-- onoption is -this can bepossible with OS command .
-- also we can raise alert from Payload itself , why becz i understand whenever you are going to write a file with file adapter then you need to raise an alert right?
so if message is existed i mean data existed then from raise alert and store the file onoption
-- Also you can try calling an ABAP program as the auto-reaction method of the MTE in CCMS
Regards
Chilla
See the below links
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/434fa590-0201-0010-1e9a-c27e6283a0fe
SMS through SAP ABAP program
XI Alert from BPM with Follow-Up Activity
ABAP programming BAPI To XML
How to send qRFC Alert to Internet Email from AP0 3.1 running 4.6D BASIS
/people/gregor.wolf3/blog/2005/03/05/create-users-in-an-abap-system-with-bapi-ostermiler-java-utilities -
To create a new file in application server and transfer data to ti
i am doing the following where i have to create a new file in application server and transfer data to tht file from an internal table.but its saying file cant be opened.the path i am giving to parameter p_prefil is /tmp/prachi.txt.
wats the prob..can anyone help.
DATA:L_WA_FINAL TYPE TY_FINAL,
l_wa_string type string.
OPEN DATASET P_PREFIL FOR OUTPUT IN text mode encoding default.
if sy-subrc <> 0.
write: ' file cannot be opened'.
stop.
endif.
LOOP AT P_I_FINAL INTO L_WA_FINAL.
move l_wa_final to l_wa_string.
TRANSFER l_wa_string TO P_PREFIL.
if sy-subrc <> 0.
write: 'file can not be written'.
stop.
endif.
clear l_wa_final.
ENDLOOP.
CLOSE DATASET P_PREFIL.
if sy-subrc <> 0.
write: ' file cannot be closed'.
stop.
endif.DATA:L_WA_FINAL TYPE TY_FINAL,
l_wa_string type string.
OPEN DATASET P_PREFIL FOR OUTPUT IN text mode encoding default.
if sy-subrc ne 0.
write: ' file cannot be opened'.
stop.
endif.
LOOP AT P_I_FINAL INTO L_WA_FINAL.
move l_wa_final to l_wa_string.
TRANSFER l_wa_string TO P_PREFIL.
write: 'file can not be written'.
clear l_wa_final.
ENDLOOP.
CLOSE DATASET P_PREFIL.
if sy-subrc ne 0.
write: ' file cannot be closed'.
stop.
endif. -
How to create a directory in application server
Hi all,
How to create a directory in application server through Progaram??
eg:\tmp - is already existing
I want to create \tmp\fi
Within \tmp\fi - i should able to store my file,,,
Kindly help me urgent...Hello San,
Either contact Basis guys at ur end for the same or u can do it dynamically via a piece of ABAP code, i hope it wll help u.
call function 'GUI_CREATE_DIRECTORY'
exporting
dirname = '//<ip_address>/qfilesvr400/<host>/usr/sap/TST/SYS/Folder1'
exceptions
failed = 1
others = 2.
Reward If Helpful.
Regards
Sasidhar Reddy Matli. -
Directory content application server
Hi,
Is there any function module present of getting the contents of directory at application server ?
Thanks,
Amit R.Hi Amit,
Use the below function module
F4_DXFILENAME_TOPRECURSION -
Creating Directory in Application Server
Hi Friends,
Can anyone help me on,
How to create directory in application server.
Also, I need to create one file in this directory with fixed name, how do we do that?
Also, tell me how to use transaction FILE in detail...
I am working on CRM and there is no transaction CB3Z ...
Kindly help.
Good answers will be rewarded...
Cheers!
PradeepHi Pradeep
Refer the Links:
<b>Creating a directory & subdirectory on Application Server
API for creating a directory in the application server
Regards,
Sree -
Directory in application server has multiple flat files
Hi
How should we know that the Directory in application server has multiple flat files.
my requirement is, daily my program runs in batch at night. So, i have to know are there more than 1 flat file existing in the directory.
regards
macTry this FM,
CALL FUNCTION 'SUBST_GET_FILE_LIST'
EXPORTING
dirname = ws_filepath
filenm = ws_fname
TABLES
file_list = i_rsfillst
EXCEPTIONS
access_error = 1
OTHERS = 2.
Pass the path and
say ur file name starts with ALPXXXXX
then pass
ws_fname = 'ALP*' .
In the table i_rsfillst you will get all the file in directory.
Try this through a sample prorgam ,dont try through SE37, it will show ACCESS_ERROR.
Regards,
Message was edited by: sreejesh purapadiath
Message was edited by: sreejesh purapadiath -
Support for the creation of a new BEA WebLogic Application Server v10.3
To All,
After downloading and installing the Enterprise Pack for Eclipse (Ganymede: http://download.oracle.com/otn_software/oepe/ganymede) I attempted to create a new BEA WebLogic 10.3 server - since that is the version of the application server that I have installed on my machine.
I went to create the new server and selected "BEA WebLogic Server v10.0", since there was no option to select a WebLogic 10.3 server. I selected as the WebLogic Home directory "D:\BEA_HOME\wlserver_10.3" and received the error message: "The path "D:\BEA_HOME\wlserver_10.3" contains the wrong version of WebLogic Server. Expected version 10.0. Found version 10.3."
Is there some way that I can create a new WLS v10.3 in Eclipse Ganymede? Do I need to download an additional plugin?
Thanks in advance for your help on this,
John LivingstoneLook for WLS 10.3 under Oracle rather than BEA group.
Konstantin -
How to start new instance of Application server 6.0 sp3 on Solaris
Hi!
I am a new user of iPlanet Application server (ver. 6.0 sp3) for Solaris and I have problems with starting new instance of App. Server. Directory server and administration server are started during installation but application server isn't started. I've used Application Server Command Line Utilities to start server but I've got message "you must register
the server instance via the application server admin tool". I've tried to do that but I don't know how. I've searched documentation and I haven't found what I'm looking for.I would like to know where can I find instructions for starting App. server?Hello,
Start your "ksvradmin" from $IASHOME/bin/ksvradmin tool - a GUI tool and under file menu register the server instance by supplying port on which the server is running.. it is intuitive..
Thanks
Sudhir -
How to set up a virtual directory on Application Server
The environment of my application is Application server 9i version 2, on windows 2000, form 9.0.2.
I am trying to get the ORACLE 9i forms show_document to work.
I have successfully created an out file in the server directory.
I need the document to be displayed by the form.
Let me tell you more about my server.
I installed Oracle application server on drive E.
I copied my application to drive E and named PY which has 4 folders including :
E:\PY\fmb (for fmb)
E:\PY\forms (for fmx)
E:\PY\sql (for sql programs)
E:\PY\locrep (for lst files which are generated from sql programs)
Someone told me I should create a virtual directory, e.g. docs, in your httpd.conf file to point to e:\py\locrep
I've seen 4 httpd.conf files so I don't know which one I should modify and what should I type in exactly on what part ????
E:\ora9ias\apache\apache\conf\httpd.conf
E:\ora9ias\apache\apache\conf\httpd.conf.default
E:\ora9ias\apache\apache\conf\httpd.conf.smibak
E:\ora9ias\dcm\config\plugins\apache\httpd.conf
After I modify the httpd.conf file, so what will my URL be ? Also, I have a lot of reports, I would like to run different reports at the same time ??????
Thank you very much.
TrangThe best way to edit httpd.conf is using Enterprise Manager Website. Open this site (http://machine:1810) and drill down on your application server, and then on HTTP Server. Open link Advanced server Properties. Now you see a list of all configuration files. Click on a file to open it.
To add the virtual path:
- You could best add your virtual path in file forms90.conf (it is included in httpd.conf with the <include> tag).
- Within this file you already find some virtual path definitions: Look for the AliasMatch tag, e.g. for the 'forms90/html' virtual directory.
- Copy this line and change 'html' into the directory name you like to use, e.g. 'myfiles'. Map it to the physical directory (on your E: drive) where your files are. (E: must not be a network drive, however).
- browse to your files using: http://machine:7777/forms90/myfiles/filename.
Peter -
Which services should be moved to a new SharePoint Enterprise Application server?
Our farm is currently a WFE and a SQL server. I've been tasked with creating a new SP Enterprise Application/Search server.
Which services should be moved? This is what's currently listed in Services on Server:
Access Database Service Started Stop
Application Registry Service Started Stop
Business Data Connectivity Service Started Stop
Central Administration Started Stop
Claims to Windows Token Service Started Stop
Document Conversions Launcher Service Stopped Start
Document Conversions Load Balancer Service Stopped Start
Excel Calculation Services Started Stop
Lotus Notes Connector Stopped Start
Managed Metadata Web Service Started Stop
Microsoft SharePoint Foundation Incoming E-Mail Started Stop
Microsoft SharePoint Foundation Sandboxed Code Service Stopped Start
Microsoft SharePoint Foundation Subscription Settings Service Stopped Start
Microsoft SharePoint Foundation Web Application Started Stop
Microsoft SharePoint Foundation Workflow Timer Service Started Stop
PerformancePoint Service Started Stop
Search Query and Site Settings Service Started Stop
Secure Store Service Started Stop
SharePoint Foundation Search Stopped Start
SharePoint Server Search Started Stop
User Profile Service Started Stop
User Profile Synchronization Service Started Stop
Visio Graphics Service Started Stop
Web Analytics Data Processing Service Started Stop
Web Analytics Web Service Started Stop
Word Automation Services Started StopTake a look at http://www.microsoft.com/en-us/download/details.aspx?id=37000. It should help you decide where it is most appropriate to locate services.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Path in SWPM to install a new Central instance application server to which I would move existing one
Hello
We migrated an ERP system to HANA via DMO.
As the result we have an system with DB on Hana appliance and application server on preavious central system server (which I would like to get rid of)
So I wander how to do that..
At first I in SWPM I used path ". SAP Netweaver 7.4 Support Release 2>SAP HANA Database>SAP Sytems>Application server ABAP>Distributed System> >Primary Application Serer Installation"
However when doing so I am asked to create a new Schema on Hana appliance I point to (not the existing schema)
So I guess I should use an other path in SWPM but which one?
I ask kindly for help
JanHello
We migrated an ERP system to HANA via DMO.
As the result we have an system with DB on Hana appliance and application server on preavious central system server (which I would like to get rid of)
So I wander how to do that..
At first I in SWPM I used path ". SAP Netweaver 7.4 Support Release 2>SAP HANA Database>SAP Sytems>Application server ABAP>Distributed System> >Primary Application Serer Installation"
However when doing so I am asked to create a new Schema on Hana appliance I point to (not the existing schema)
So I guess I should use an other path in SWPM but which one?
I ask kindly for help
Jan -
Listing files of directory on application server
hi all,
I want to download a list of files from the application server.
I tried the functions:
- SUBST_GET_FILE_LIST
- EPS_GET_DIRECTORY_LISTING
- RZL_READ_DIR_LOCAL
but the result gives me the name of my file truncated.
My filename is much longer than the functions give me.
Is there any other function, or can i bypass this problem in a way.
Thanks in advance.
Merijn.Hello,
This is a common problem with this FMs. Even SAP acknowledges this:
In EPS_GET_DIRECTORY_LISTING you have this:
data: begin of file,
dirname(75) type c, " name of directory. (possibly truncated.)
name(75) type c, " name of entry. (possibly truncated.)
end of file.
The FM uses a Kernel Call 'C_DIR_READ_NEXT' to get the list of the files in the directory. The file name is returned in the field file-name.
call 'C_DIR_READ_NEXT'
id 'TYPE' field file-type
id 'NAME' field file-name
id 'LEN' field file-len
id 'OWNER' field file-owner
id 'MTIME' field file-mtime
id 'MODE' field file-mode
id 'ERRNO' field file-errno
id 'ERRMSG' field file-errmsg.
The program RSWATCH0(trxn: AL11) also uses the Kernel call but the structure file is different.
DIrectory name can be 1024 character long & file name is 260 character long
data: begin of file,
dirname(1024) type c, " name of directory. (possibly
" truncated.)
name(260) type c, " name of entry. (possibly
" truncated.)
type(10) type c, " type of entry.
len(8) type p, " length in bytes.
owner(8) type c, " owner of the entry.
mtime(6) type p, " last modification date, seconds since 1970
mode(9) type c, " like "rwx-r-x--x": protection mode.
useable(1) type c,
subrc(4) type c,
errno(3) type c,
errmsg(40) type c,
mod_date type d,
mod_time(8) type c, " hh:mm:ss
seen(1) type c,
changed(1) type c,
end of file.
So one workaorund would be to copy EPS_GET_DIRECTORY_LISTING to some custom FM & change the length of the structure file to suit your requirement
BR,
Suhas
PS: Use of Kernel Call is for internal use only & is highly not recommended by SAP. -
Download data to specified directory in application server
HI experts,
i need to download data from internal table to specified application server directory which is already created. how i can check the directory is already availble in server and i need to specify the name of the file dynamically. after download how i can check the downloaded file in application server.
Edited by: Alvaro Tejada Galindo on Apr 14, 2008 5:27 PMHi,
If u wanna give file name dynamically, you can add it to the selection screen as parameter and let user enter the filename while executing.
To get file path, check FILE transaction.
To check the downloaded file in the server (guess u know the server name and path), Use AL11 transaction.
<REMOVED BY MODERATOR>
regards,
Ramya
Edited by: Alvaro Tejada Galindo on Apr 14, 2008 5:27 PM
Maybe you are looking for
-
Can I connect 2 sony bravia's, a sony home theatre, 2 macbooks, 2 ipads, 3 iphones and a dell laptop and stream media from my apple devices to my tv? I have a sony bravia 600 series and 700 series and a home theatre( sony 7100 series)
-
MFL Exception while parsing fixed length file
Hello Folks, I am getting a MFLException when I run a fixed length file through a MFL Format tester. <MFLException> <ErrorMessage>Did not completely process all input data.</ErrorMessage> <Details> <Detail> <Name>ErrorCode</Name> <Value>-3</Value> </
-
Retreving Values from RFC in Adapter Module
Hi All I have a scenario where I have to retreive a value from database table using RFC and import those values in adapter module for comparing it with some other Values. Can some one guide me how to retreive values in RFC using Adapter module. Some
-
How to create Secret Key.
Hi, Can any one point me, where I can find to create a Secret Key and store it inside the KeyStore ? I am trying to use the w3'c encryption / decryption and I want to create a key which can be compatible to TripleDESCBC or rsa-1_5. Since I am new to
-
Line Item Level Approval For SC-SRM7.02-WS14500015
Hi Expert, I am using workflow template WS14500015 for line item level approval.i have few doubts on this i am using cost center based approval, so if the 1st line item is approved will it generate a PO or will it wait for the entire shopping cart to