AL11 Directory length
Dear all,
Let say I have a work area with 6 fileds and each is of CHAR100 type. so if I completely populate the work area then, it will contain 600 characters.
Now, when I create a file in the AL11 Directory with the contents of the work area, it is showing only 512 characters in the AL11 directory. However, if we open the same file through Unix system and display it, it displays all the characters.
There is no truncation of data. But my requirement is to increase the limit from 512 characters to say 1024 or something like that, so that I can see all the characters in AL11 also.
Is that possible? if so how can I do that?
Thanks and Regards,
S.Dakshna Nagaratnam.
evem the display is not there also,once you download the files you will have all the data..
if particlulary you want to increase the size viewable in AL11 then contact the BASIS..
Similar Messages
-
How to upload and download a files into AL11 directory in ABAP
Hi,
How to upload and download a files into AL11 directory in ABAP
thanks
Moderator message: please search for available information/documentation.
Edited by: Thomas Zloch on Mar 21, 2011 9:18 AMYou should try one of these forums for an answer to your question:
http://swforum.sun.com/jive/forum.jspa?forumID=116
http://community.java.net/netbeans
http://linux.java.net -
Download records in AL11 directory in XML format
Hi Experts,
Please advise me, is any function module which transfers the records in XML format of specified AL11 directory path?
Thanks,
PrashanthHi,
Refer this thread for XML conversion to app server
http://forums.sdn.sap.com/thread.jspa?threadID=1083407
One more expamle http://forums.sdn.sap.com/thread.jspa?threadID=1817869
Edited by: Vinit Joshi on Feb 22, 2012 3:05 PM -
Write to excel file (into AL11 directory)
Hi,
I am able to loop an internal table and write to csv file in AL11 directory.
But how to write to excel file instead of csv file. And how to format the excel file (for example, column B should be format to numeric and column E should format to date format), and are we able to put like red color on column C for example?
Thanks in advance.Hi,
You need to add the tab inbetween all the fields of internal table and upload to application server using
OPEN DATASET
TRANSFER
CLOSE DATASET.
to add the tab inbetween the fields..you can use this code....
concatenete itb-field1 itab-field2......... into string seperated by CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
one exception whicle uploading data to the Application server you need to convert dec or currency field to char type otherwise it will give you short dump. -
Add AL11 directory: what authorizations are required?
We are on V5R3, SAP 4.70 x110.
We are attempting to add a directory to AL11 using the instructions found in
[SM69 access;
We have been successful in adding the link (to a DIFFERENT partition via QFileSvr.400):
/QFileSvr.400/System1/Directory1/INV810
However, when clicking the link, we receive error message:
"Wrong order of calls <- CALL opendir: Permission denied.(,,..)"
In our SAP version , there is no help text for this error message; however, I am assuming that it is an authorization issue at the OS-level.
What users and/or groups need to be added to the other (non-SAP) partition and what access do they need to each directory in the IFS?
Any assistance is greatly appreciated.
RobertHi Bob,
the user is sidnn )
You should change this user, so that you can logon and hit commands and try wrklnk to that location ...
my guess is: it doesn't exist on the target, is disblaed or has a different password there ...
Regards
Volker Gueldenpfennig, consolut international ag
http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de -
Selective deletion frm DSO based on selection in csv file on AL11 directory
Hi Experts,
I have a requirement where I have to automate the Flat File Upload coming from AL11 SAP directory followed by the selective deletion from DSO with the selection in the Flat file (.csv) on the directory.
The csv file having fixed name and column. We have to take first selection i.e. Date (single entry) from second column and Comp Code from the 4th column (multiple entry).
based on both the selection i have to perform selective deletion and then file upload.
Could anybody please help me to write code and steps.
Thanking you.
Regards
Ajaycheck this where i have written in start routine
CALL METHOD P_R_REQUEST->get_TGT
RECEIVING
R_TGT = I_TGT.
CONCATENATE '/BIC/A' I_TGT '00' INTO ACT_TABLE.
CONCATENATE '8' I_TGT '_VA' INTO ACT_TABLE_RSTSODS.
DATA: SOURCE_PACKAGE1 LIKE LINE OF SOURCE_PACKAGE.
READ TABLE SOURCE_PACKAGE INTO SOURCE_PACKAGE1 INDEX 1.
DELETE FROM (ACT_TABLE) WHERE /BIC/ZVERSION =
SOURCE_PACKAGE1-PL_VERSION.
SELECT SINGLE ODSNAME_TECH FROM RSTSODS INTO ZDSNAME_TECH WHERE ODSNAME
= ACT_TABLE_RSTSODS.
DELETE FROM (ZDSNAME_TECH) WHERE /BIC/ZVERSION =
SOURCE_PACKAGE1-PL_VERSION. -
Reg the Al11 directory parameter FM
I need a FM that takes the Directory parameter(DIR_LOCAL) in AL11 as import and File path(D:/test\data\path\) as output, please help me in this reg.
Hi,
U can use Tcode CG3Y for downloading the file from application server to file on presentation server.
With Regards,
Dwaraka.S -
Hello Everybody,
I feel like this question has either been answered and/or asked before, but I can't really find exactly what I'm looking for. The solutions that I did find didn't really match what I'm doing either.
Basically, I have a directory parameter in AL11 DIR_PASSWORD Which real path is on the server E:\usr\...\passwords.
As of now, I have the path hard-coded, but this can't stay like this. The idea is this system has to work on different application servers where the path is different, so using the directory parameter DIR_PASSWORD saves a lot of time. The path is obviously different on each application server.
I've so far looked at transaction FILE but a logical path isn't what I'm looking for. I've also checked into multiple function modules such as file_get_name, eps2_get_directory_listing, eps_get_directory_listing, and rzl_read_dir_local. These are all ok, but the problem is that I have to use the hardcoded path, I can't use the directory parameter.
Even after doing SQL traces and debugging I can't really find what I'm looking for either, and using google and SDN search just brings up these function modules which aren't really what I'm looking for either.
Is there a way that I can use the directory parameter to point to a path of a folder on the application server without hard coding it? Or maybe a function module or so that'll make the conversion for me?
Thanks a lot!Hi Bryan, this is a difficult one ;).
There seems to be no Function Module to retrieve these paths.
If you check this link, you'll see that the Directories in AL11 are all hardcoded in the standard program.
AL11 - table behind
There is only one table, USER_DIR, that might contain some entries (those created by the user? I am not sure though). If this is correct, then you might want to create a new Directory (the same for all of the application servers) and then you can maintain it through this table.
Regards,
Ernesto. -
Hello,
On SAP R/3 4.6c, I want to delete a directory from AL11. Not delete content but only remove logical link.
Does anyone know how I can do this ?
many thanksHi,
I've got half an answer, and while I've not been able to use it to delete a directory from AL11 I think the potential's there.
In AL11 highlight a directory on the list and choose 'Configure'. Now the fun starts, then next screen hasn't actually pulled through the line you selected, but it does have an option to delete on the menu. So if you could fill the three fields with the right values you could potential delete a directory.
Like I said, half an answer but hopefully it will set you in the right direction.
Regards,
Nick -
List of files in a AL11 directory
Requirement: To get the file list in an internal table in a specific directory
Current Scenario: We are using the FM 'SUBST_GET_FILE_LIST' to get the file list.
But the file names in the return table are being truncated after 75 characters but we are having long file names(100 chars)
Could anybody sugest an alternate FM or the table from where we can retrieve the file list?
Thanks in advance !!PARAMETER p_path(50) TYPE c DEFAULT '/TMP' LOWER CASE.
PARAMETER p_file(50) TYPE c DEFAULT '*.* ' LOWER CASE.
dpath = p_path.
pfile = p_file.
CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
EXPORTING
dir_name = dpath
* FILE_MASK = PFILE
TABLES
dir_list = dlist
EXCEPTIONS
invalid_eps_subdir = 1
sapgparam_failed = 2
build_directory_failed = 3
no_authorization = 4
read_directory_failed = 5
too_many_read_errors = 6
empty_directory_list = 7
OTHERS = 8. -
File generated in AL11 directory
Hi Experts,
I have created a logical file path and assigned it to physical path in FILE transaction.
I have also created logical file name and mapped it to Physical File name.
The physical file name is "stock<YYYY><MM><DD>.csv" . But when I execute APD and the file is generated, it gets generated at different directory and the file name appears as "stock201".
I dont know where it is getting wrong, but I think it is getting replaced with exact no. of characters in <FILENAME> parameter.
The output file "stock201" is exactly 8 characters long as the the no. of characters in parameter <FILENAME>.
Any suggestions to resolve the above problem.
Regards,
HardikHello Hardik,
Can you please check that you have the coding correction applied from the SAP notes 1318160 and 1416830 if they are relevant for your release? Although the note symptoms don't exactly describe your problem they are relevant for the issue.
Kind Regards,
Des -
Hello Gurus,
I have written SAP ABAP program which calls FM 'SAP_TO_CSV_CONVERT'
to convert internal table data to .CSV Format.
I use OPEN and CLOSE Dataset to place the File in AL11.
Filepath/Filename is '/usr/sap/trans/Credit Limit Interface for UK- File FTP
Old files should not be replaced , but each time a new file has to be generated and placed in the folder when program is run
to place file in AL11
Please help me on this.
Thanks
Supreeth M SHi,
In your Program, use "Concatenate" Statement and concatenate the File name and current date time.
Concatenate '/usr/sap/trans/Credit_Limit_Interface_for_uk_File_FTP' sy-datum sy-uzeit into GV_file_name.
So the File name will be unique and will not be overwritten.
Regards
Shaik -
AL11 Directory F4 Help.
Hi,
How to implement F4 help for file path and name in report section screen?.
1. Report have file path and name filed in slection screen. I want to show directories in application server
as a F4 help.
parameters: P_APP type filepath-pathintern.
which displaying only some entries which are there in FILEPATH table.
Please advise how to implement AL11 f4 help.
Regards,
RC.In my system I can reach it the same way I reach files on the PC. If you can get to your application server thru the network, then this will work for you as well. The file path must be valid.
report zrich_0003.
parameters: p_file1 type localfile .
at selection-screen on value-request for p_file1.
data: start type string.
data: ifiletable type filetable.
data: xfiletable like line of ifiletable.
data: return type i.
start = '\<ip_address>qfilesvr400<system_name>usrsapTST'.
call method cl_gui_frontend_services=>file_open_dialog
exporting
* WINDOW_TITLE =
* DEFAULT_EXTENSION =
* DEFAULT_FILENAME =
* FILE_FILTER =
initial_directory = start
* MULTISELECTION =
changing
file_table = ifiletable
rc = return
* USER_ACTION =
* EXCEPTIONS
* FILE_OPEN_DIALOG_FAILED = 1
* CNTL_ERROR = 2
* ERROR_NO_GUI = 3
* others = 4
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
read table ifiletable into xfiletable index 1.
p_file1 = xfiletable.
We are running on an AS400
Regards,
Rich Heilman -
Extracting a csv file into a Z directory in AL11 via Open Hub
Hi All,
After reviewing alot of treads I am able to etracte a .csv file via Open Hub Destination into DIR_HOME in AL11.
But, My requirement is to create the file in AL11 directory "ZBIWCOPA" and this directory is available in all systems in the landscape.
Kindly provide inputs on creating this file in this "Z" AL11 directory and precauious while transporting the Open Hub.
Appreciate your suggestions
PotuI see where I went wrong in my answer, now that I'm able to actually logon (my apologies). In your case, you're going to have to create a Logical File Path and Logical File Name in tcode FILE.
1) When you get into tcode FILE, click on the New Entries button.
2) Enter a Logical File Path technical name and description.
3) Click on Save.
4) Back out of the screen, highlight the Logical File Path you created, double-click on the Assignment of Physical Paths to Logical Path on the left-navigation bar and click the New Entries button.
5) Enter the OS compatibility you wish this path to have for the Syntax Group. In your case, you want to select the OS for the application servers that are going to be the landing zone for your file.
6) Enter /ZBIWCOPA/ in the Phyiscal Path. Save the assignment.
7) Go back to the main screen for tcode FILE and double-click on the Logical File Name Definition, Cross-Client selection on the left navigation bar.
8) Click on the New Entries button.
9) Enter the Logical File Name technical name, description in Name, Phyiscal File name (e.g. this is the actual name of the file to be sent to the landing zone), Data Format, Application Area, Logic File Path that you created and then Save.
10) In your OHD, remove any server name and enter to the Logical File Name that you created in tcode FILE. -
Problem in output file generation in AL11 tcode - need quick help
Hi experts,
Scenario:- Proxy to File ( file is generated in AL11 directory folder.
Probelm:
Last field value is generated with correct values in SXMB_MONI output payload, But when I open a file in AL11 the last field fiew value are getting trimmed. Also when I get the dump of file - file also has the same trimmed value.
For example: Expected value in MONI is 12345 where as in AL11 i m getting 1234
I have reduce the length of previous fields and run the scenario again - for this scenario all the values are coming in AL11 as well as in MONI.
Is somthing to do with screen width length.
Deepak Jaiswal.
Edited by: deepak jaiswal on Aug 6, 2009 11:45 AMHI ,
Its a problem with File Transfer tcode sxda_tools and AL11 sometimes. Ask your Basis team to give you file contents from PI Server directly. This file should have right contents as you expected.
I also faced the same problem and wasted lot of time to solve it.
Hence, check the folder where you dump this file on application server and give this path to basis to provide you this file from server.
Regards,
Anurag Garg
Maybe you are looking for
-
Can I return My IMac to exchange it for a Macbook Pro?
I have had a IMac 27 inch since march and it is the newest one. I dont like it, so can i return it for a macbook pro? I have the receipt and everything that it was bought with. Please let me know, because im going to the apple store soon!
-
How to get an alert when user login with "DDIC" in any of the systems?
Hi all, Can it be possible when ever the user login with DDIC user in any of the satellite system,can we we get an alert -as DDIC login attempt in any system? Is this possiblem in CCMS or BPM or...? Regards, Neni
-
PSE 11 Catalog not showing up in Catalog Manager
My latest battle with PSE11 is trying to access my catalog in PSE11 via the Catalog Manager but it doesn't show up in the list. The catalog is named My Catalog 2 is located at C:\ProgramData\Adobe\Elements Organizer\Catalogs\My Catalog 2. It is the
-
Hi guys i am creating a flash as3 video chat i am having a problem when i refresh the webpage the video not display please help me urgent regards kamal
-
Why are calls from my favorites not ringing when my phone is silenced at night?
Why are calls from my favorites not ringing when my phone is silenced at night?