GUI_DOWNLOAD - fieldnames does not exist
Hi All,
I have managed to sort out the format of my question, so I have closed the other post and started a fresh
I am wondering if you can help in anyway, I am trying to create a datafile and dump it to a PC, so far I use the cl_gui_frontend_services=>file_save_dialog to allow the user to specify the file location and this does indeed create the file, what I really need are column heading added to the file.
I have search around and it seems that I have to pass FIELDNAMES to cl_gui_frontend_services=>gui_download.
I have created the headers and insterted the field FIELDNAMES but get an error saying :
Formal Parameter FIELDNAMES does not exist.
Also I really need the fieldnames to be created by myself as a couple of the column types are the same and that would confuse the users.
Here is the code I use.
TYPES: BEGIN OF t_fieldnames_structure, " Structure for table of internal fieldnames
col_text(10) TYPE c,
END OF t_fieldnames_structure.
DATA: lw_filename TYPE string, " For file_save_dialog to store the filename
lw_path TYPE string, " For file_save_dialog to store the filepath
lw_fullpath TYPE string, " For file_save_dialog to store the full path
lw_save_result TYPE i, " For file_save_dialog to store the user input, cancel, save.....
li_fieldnames TYPE TABLE OF t_fieldnames_structure, " Internal table for the fieldnames
lwa_fieldnames LIKE LINE OF li_fieldnames. " Work area for the fieldnames internal table
lwa_fieldnames-col_text = 'MATNR'.
APPEND lwa_fieldnames TO li_fieldnames.
" Display the file save dialog
cl_gui_frontend_services=>file_save_dialog(
EXPORTING
window_title = 'Data unload'
default_extension = 'TXT'
default_file_name = 'GLD-datadump'
initial_directory = 'c:\temp\'
CHANGING
filename = lw_filename
path = lw_path
fullpath = lw_fullpath
user_action = lw_save_result
IF sy-subrc <> 0.
ENDIF.
IF lw_save_result = 0.
" User wants the data to be saved
" Write the file to the desired destination
cl_gui_frontend_services=>gui_download(
EXPORTING
filename = lw_filename
filetype = 'DAT'
write_field_separator = 'X'
CHANGING
data_tab = i_simulation_structure
fieldnames = li_fieldnames
EXCEPTIONS
file_write_error = 1
others = 24
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF. " User wants the data to be saved
If you have any ideas how I can achieve this it would be great.
Thanking you in advance
Ian
Hi,
i would first download the header then the data with append.
here a short example:
TYPES: BEGIN OF TY_HEAD,
MATNR(18),
MTART(04),
END OF TY_HEAD.
TYPES: BEGIN OF TY_MARA,
MATNR LIKE MARA-MATNR,
MTART LIKE MARA-MTART,
END OF TY_MARA.
DATA: IT_MARA TYPE TABLE OF TY_MARA.
DATA: IT_HEAD TYPE TABLE OF TY_HEAD.
DATA: WA_HEAD TYPE TY_HEAD.
WA_HEAD-MATNR = 'Material'.
WA_HEAD-MTART = 'Mart'.
APPEND WA_HEAD TO IT_HEAD.
SELECT * FROM MARA INTO CORRESPONDING FIELDS OF TABLE IT_MARA UP TO 10 ROWS.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
EXPORTING
FILENAME = 'C:MATNR.TXT
FILETYPE = 'ASC'
WRITE_FIELD_SEPARATOR = 'X'
CHANGING
DATA_TAB = IT_HEAD[].
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
EXPORTING
FILENAME = 'C:MATNR.TXT
FILETYPE = 'ASC'
APPEND = 'X'
WRITE_FIELD_SEPARATOR = 'X'
CHANGING
DATA_TAB = IT_MARA[].
regards, Dieter
Sorry Rajvansh,
i have just see, that you post the idea before.
Regards, Dieter
Edited by: Dieter Gröhn on Jun 7, 2011 11:39 AM
Similar Messages
-
Function 0012 does not exist when saving contact???
Has anyone seen these before??
I also get Function 0022 does not exist errors also?
ThanksHi,
If you want any particular or number of fields output in UPPER case for an RT service, open the particular service related job in work space area-> open the particular query transform-> select the output schema -> select the field on which you want to apply UPPER case. In the field related Mapping area you will find the TABLE_NAME.FIELD_NAME structure, go to start of the TABLE_NAME in the same structure -> select FUNCTION..from the Function Category -> select String Function, from the function name select UPPER -> click Next, don't select anything from Input String drop down box simply click on Finish.
it will show you following structure:
UPPER()TABLE_NAME.FIELD_NAME , drag drop tablename.fieldname in UPPER function. After doing this it should show as:
UPPER(TABLE_NAME.FIELD_NAME)
Save the program and Execute..Output for particular field will display in UPPER case.
Hope this helps.. -
We are trying to find a function in ABAP program to download SAP table data to an excel file. We have tried the following two function on our BI 7.0 system:
1. function: GUI_DOWNLOAD
Exist, but when run it with following code, get the error msg "Wrong value of the parameter FILETYPE"
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'C:test\test.xls'
filetype = 'XLS'
TABLES
data_tab = itab.
2. function SAP_CONVERT_TO_XLS_FORMAT:
Does NOT exist in our BI 7.0 system. Could we create a new function on our BI system by referring to a R3 system if this function exist on our R3 system?
Thanks!Hello,
you could just check the OSS-Note 722513, which combinations specially in the SAPGUI - Versions support Excel 2007. Think normally it's the 7.10 version.
Regards Wolfgang -
The name "Folder" does not exist in the namespace
I am trying to learn Wpf and doing some of the examples on the Microsoft site. https://msdn.microsoft.com/en-us/library/vstudio/bb546972(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1
I am using Visual studio 2013. As I work through the example I am getting the following error.
Error 1
The name "Folder" does not exist in the namespace "clr-namespace:FolderExplorer".
c:\users\hbrown\documents\visual studio 2013\Projects\FolderExplorer\FolderExplorer\MainWindow.xaml
11 17
FolderExplorer
Error 2
The name "Folder" does not exist in the namespace "clr-namespace:FolderExplorer".
c:\users\hbrown\documents\visual studio 2013\Projects\FolderExplorer\FolderExplorer\MainWindow.xaml
16 7
FolderExplorer
Here is the code:
<Window x:Class="MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:my="clr-namespace:FolderExplorer"
Title="Folder Explorer" Height="350" Width="525">
<Window.Resources>
<ObjectDataProvider x:Key="RootFolderDataProvider" >
<ObjectDataProvider.ObjectInstance>
<my:Folder FullPath="C:\"/>
</ObjectDataProvider.ObjectInstance>
</ObjectDataProvider>
<HierarchicalDataTemplate
DataType = "{x:Type my:Folder}"
ItemsSource = "{Binding Path=SubFolders}">
<TextBlock Text="{Binding Path=Name}" />
</HierarchicalDataTemplate>
</Window.Resources>
I have a class file named Folder.vb with this code.
Public Class Folder
Private _folder As DirectoryInfo
Private _subFolders As ObservableCollection(Of Folder)
Private _files As ObservableCollection(Of FileInfo)
Public Sub New()
Me.FullPath = "c:\"
End Sub 'New
Public ReadOnly Property Name() As String
Get
Return Me._folder.Name
End Get
End Property
Public Property FullPath() As String
Get
Return Me._folder.FullName
End Get
Set(value As String)
If Directory.Exists(value) Then
Me._folder = New DirectoryInfo(value)
Else
Throw New ArgumentException("must exist", "fullPath")
End If
End Set
End Property
ReadOnly Property Files() As ObservableCollection(Of FileInfo)
Get
If Me._files Is Nothing Then
Me._files = New ObservableCollection(Of FileInfo)
Dim fi As FileInfo() = Me._folder.GetFiles()
Dim i As Integer
For i = 0 To fi.Length - 1
Me._files.Add(fi(i))
Next i
End If
Return Me._files
End Get
End Property
ReadOnly Property SubFolders() As ObservableCollection(Of Folder)
Get
If Me._subFolders Is Nothing Then
Try
Me._subFolders = New ObservableCollection(Of Folder)
Dim di As DirectoryInfo() = Me._folder.GetDirectories()
Dim i As Integer
For i = 0 To di.Length - 1
Dim newFolder As New Folder()
newFolder.FullPath = di(i).FullName
Me._subFolders.Add(newFolder)
Next i
Catch ex As Exception
System.Diagnostics.Trace.WriteLine(ex.Message)
End Try
End If
Return Me._subFolders
End Get
End Property
End Class
Can someone explain what is happening.
Thanks HalDid you try to build the application (Project->Build in Visual Studio) ? If the error doesn't go away then and you have no other compilation errors (if you do you need to fix these first), you should replace "FolderExplorer" with the namespace
in which the Folder class resides. If you haven't explicitly declared a namespace, you will find the name of the default namespace under Project->Properties->Root namespace. Copy the value from this text box to your XAML:
xmlns:my="clr-namespace:FolderExplorer"
The default namespace is usually the same as the name of the application by default so if your application is called "FolderExplorer" you should be able to build it.
If you cannot make it work then please upload a reproducable sample of your issue to OneDrive and post the link to it here for further help.
Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. -
Short dump 'Table does not exist in database'
Hello All,
When a report is executing it is going to short dump by saying 'Table does not exist in database'. As per the short dump analysis this issue is happening because of the following Native SQL statement statement :
Program : %_T050N0 (This is a dynamic program generating by SAP )
Form Name : DYN_LIC_SEL_TOT
exec sql performing LOOP_MOVE_WRITE_ISAP.
select single_plate, itm_num, ctry_code, model_lot,
lic_hold_flg, qty into :dcat-lplate, :dcat-matnr,
:dcat-werks, :dcat-charg, :dcat-holdflag,
:dcat-qty from ZLICENSE_R2 where itm_num = :p_matnr and
model_lot = :p_charg
endexec.
As per the customer this issue occurring since they migrated the SAP back-end data base from Oralce to DB6. Here I felt that ZLICENSE_R2 is not migrated from the Oracle to DB6. But as per the BASIS Team, even this table was not maintained in Oracle also. If the table was not maintained in the Oracle, this issue should have been there even before migration also.
Following is the short dump details:
Short text
Table does not exist in database.
What happened?
The table or view name used does not
exist in the database.
The error occurred in the current database connection "DEFAULT".
What can you do?
Check the spelling of the table names in your report.
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_NATIVE_SQL_ERROR', was not
caught in
procedure "DYN_LIC_SEL_TOT" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
Triggering SQL statement: "select single_plate, itm_num, ctry_code, model_lot,
lic_hold_flg, qty from ZLICENSE_R2 where itm_num = ? and model_lot = ? "
Database error code: "-204"
Could you please let me know what might be the reason for this issue.
Many Thanks in Advance.Transaction SE11, input ZLICENSE_R2 for table name, and display the table. Did the table display? If not, that is the main problem.
If the table displays, go to menu item Utilities -> Database Object -> Database Utility
In the resulting screen, under the "Status" fields, you should see text "Exists in the database." If you don't, then the table exists in the dictionary, but doesn't exist in the database system. Click the "Create database table" button and then you should be able to run the program.
You may need basis team's help to carryout some of these actions. -
Boot image does not exist and cannot read disk label errors.
Hi - I'm having a problem with installing Solaris 9 4/04 on a Netra T1. The Netra already has Solaris 7. I need to get this set up as a jumpstart server but it can't find the boot image. I'm using a brand new bonafide installation disk - not a copy. The system won't let me install/upgrade to Solaris 9 either. I get an error stating that disk label can't be read. I've tried swapping out the CDROM but I still get the same errors. Does anyone know what or why this may be happening? (Oh - and another strange thing - like I said the CDs are the original but there doesn't appear to be a cdrom/cdrom0/s0 directory. The directory I see is cdrom/cdrom0/sol_9_404_sparc/Solaris_9/Tools)
ERROR: Install boot image /cdrom/sol_9_404_sparc/Solaris_9/Tools/Boot does not exist
Check that boot image exists, or use [-t] to
specify a valid boot image elsewhere.
and
Excuting last command: boot cdrom [- nowin]
Boot device: /pci@1f,0/pc1@1/ide/cdrom@2:f file and args: [- nowin]
Can't read disk label.
Can't open disk label package
Evaulating: boot cdrom [- nowin]@1/ide@e/cdrom@2:f File and args: [- nowin]
Can't open boot device
I appreciate any help at all - is there anyone out there who can tell me what I may be doing wrong?
ThanksHi check that you are booting of the right cd. Make sure it is soalris 9 software 1/2 if that fails then it may well be that your cd is buggered. most likely it is buggered it it cant find the boot image.
-
Bursting Problem - A file or directory in the path name does not exist
I'm trying to burst some data via email using the standard DocumentProcessor java code but receiving an error relating, I assume, to an invalid temporary directory. I've checked that the directory exists, as do the data file and control file. By the way I am not running in Apps, just stand alone mode. Any ideas would be much appreciated.
[042308_104249440][oracle.apps.xdo.batch.bursting.FileHandler][EXCEPTION] java.io.FileNotFoundException: /u02/DIAS/bursting/BIPublisher/tmp/042308_104249338/xdo2.tmp (A file or directory in the path name does not exist.)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:205)
at java.io.FileOutputStream.<init>(FileOutputStream.java:96)
at oracle.apps.xdo.template.RTFProcessor.setOutput(Unknown Source)
at oracle.apps.xdo.batch.bursting.FileHandler.rtf2xsl(Unknown Source)
at oracle.apps.xdo.batch.bursting.ProcessDocument.getXSLFile(Unknown Source)
at oracle.apps.xdo.batch.bursting.ProcessDocument.processTemplate(Unknown Source)
at oracle.apps.xdo.batch.bursting.ProcessCoreDocument.processLayout(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.addDocument2Queue(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.createBurstingDocument(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.burstDocument(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.globalDataEndElement(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(Unknown Source)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201)
at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingRequest(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingEndElement(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(Unknown Source)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201)
at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingConfigParser(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.process(Unknown Source)
at oracle.apps.xdo.batch.DocumentProcessor.process(Unknown Source)
at PIreportburst.bEngine(PIreportburst.java:24)
at PIreportburst.main(PIreportburst.java:51)
-Below is the java code I'm using
public void bEngine(String ctrlFile, String dataFile, String tmpDir) {
try {
DocumentProcessor dp = new DocumentProcessor(ctrlFile,dataFile,tmpDir);
dp.process();
catch (Exception e) {
System.out.println(e);
}Thanks Ike
Where do you suggest setting the temp directory:
DocumentProcessor("control.xml","data.xml","/u02/DIAS/bursting/BIPublisher/tmp/042308_104249338/xdo2.tmp")
or in the xdo.cfg:
<property name="system-temp-dir">/u02/DIAS/bursting/BIPublisher/tmp/042308_104249338/xdo2.tmp</property>
..and thanks for the link to the BIPublisherIDE
Cheers, Mike -
File does not exist: /oa_servlets/AppsLogin-Urgent plz
Hi;
I have r11.5.9 on AIX 5.2 i create one new AIX 5.3 server give same IP and copy all folder from 5.2 to 5.3 wiht exact path.
With same user i can open db+lsnr+apache on new 5.3 server But when i try to login EBS i can see login page also Ebuniess enter link but when i click it it thoruh 404 page can not found
In apache log file i have File does not exist: /oa_servlets/AppsLogin, i can not find pages under $COMMONTOP on 5.2 and my new 5.3 server. But on 5.2 i canlogin system wihtout any issue
All services start wihtout problem also db, i run autoconfig on appstier but when i try to run on dbtier it thotugh error:( I am not sure i need to run autoconfig on dbtier for upper erro)
AutoConfig will consider the custom templates if present.
Using ORACLE_HOME location : /xxx/xxdb/9.2.0
/xxx/xxdb/9.2.0/jdk/bin/jre and /xxx/xxdb/9.2.0/jdk/9.2.0/jdk/bin/java not found Pass option 'java' on command line
and yes there is no such a file like that. How i can solve those problem
thanksHussein i cant run autoconfig also preclone on dbtier but apps tier i could run autoconfig and its end wihtout error
http://xx:8001/OA_HTML/jsp/fnd/aoljtest.jsp http://xxx:8001/pls/TEST2/FND_WEB.PING - too
http://xx:8001/aplogon.html
I cant open those too
Fri Sep 17 19:49:00 2010] [error] [ File does not exist: /oa_servlets/AppsLogin
[Fri Sep 17 20:00:01 2010] [error] OPM: EW: Fail to start process with mod=JServ and grp=DiscoGroup, it's possible that your configuration file is not correct.
[Fri Sep 17 20:00:01 2010] [error] OPM: EW: Fail to start process with mod=JServ and grp=OACoreGroup, it's possible that your configuration file is not correct.
[Fri Sep 17 20:00:01 2010] [error] OPM: EW: Fail to start process with mod=JServ and grp=XmlSvcsGrp, it's possible that your configuration file is not correct.
[Fri Sep 17 20:14:39 2010] [error] OPM:Can not find one alive process
[Fri Sep 17 20:14:39 2010] [error] [] File does not exist:
[Fri Sep 17 20:14:51 2010] [error] OPM:Can not find one alive process
[Fri Sep 17 20:14:51 2010] [error] [] File does not exist:
[Fri Sep 17 20:14:55 2010] [error] OPM:Can not find one alive process
[Fri Sep 17 20:14:55 2010] [error] [] File does not exist:
[Fri Sep 17 20:15:06 2010] [error] OPM:Can not find one alive process
[Fri Sep 17 20:15:06 2010] [error] [ File does not exist: /servlets/Hello -
[Fri Sep 17 20:15:11 2010] [error] OPM:Can not find one alive process
[Fri Sep 17 20:15:11 2010] [error] [ File does not exist: /servlets/Hello
[Fri Sep 17 20:15:14 2010] [error] OPM:Can not find one alive process
[Fri Sep 17 20:15:14 2010] [error] [] File does not exist: /servlets/
[Fri Sep 17 20:15:50 2010] [error] [] File does not exist: /xxxx/portal/oracle/_servlets/Hello
[Fri Sep 17 20:15:59 2010] [error] OPM:Can not find one alive process
[Fri Sep 17 20:15:59 2010] [error File does not exist: /oa_servlets/Hello
[Fri Sep 17 20:16:15 2010] [error] OPM:Can not find one alive process
[Fri Sep 17 20:16:15 2010] [error] [] File does not exist:
[Fri Sep 17 20:18:04 2010] [error] script not found or unable to stat: /xx\xxora/8.0.6/tools/web60/cgi/ifcgi60 -
File does not exist on remote site, yet it does
I have been trying to understand how Dreamweaver handles remote files in CS5.
My server is setup as a remote server and a test server.
I open the remote file, it offers to get dependencies, so I click yes.
I click on Live view, then it tries to show me the following url
http://my_site.com/public_html/path/to/my/file/file.php
It should not put public_html in the path, and I did not specify this in my site setup. My root setting is /.
Anyway, If I change the url manually, then it shows correctly. Then it offers to discover dunamically linked files, which I agree to.
Now it tells me that 'Dynamically-related files could not be resolved because the site definition is not correct for this server'
If I try to open one of the files that it has discovered, I am told that it is not on the disk, so would I like to 'get it', so I agree.
Finally, I am told that 'Get operation failed since linked-file.php does not exist on remote site'
I suspect that this is all to do with my site definition, but I fiddled with the settings and can't resolve this. I think that the whole problem goes back to Dreamweaver's insistance on putting public_html in the path, but I can't stop it doing so.
Any suggestions?
Thanks
ianHi,
Well, yes I did manage to fix the dynamically linked resources issue. As mentioned above, I did need to mention public_html in my Root Directory setting in server setup (silly of me).
I had tried this at first, but it didn't work, as I had the server set as a test server and not a remote server, anyway, i now have it set as both and all is well.
Except that, the first issue that mentioned is still with me: namely, dreamweaver mentions the public_html in the url path when on live view, which is not correct and I don't know where it is inferring this from. I can change it manually, but this doesn't seem right to me. Am I still missing a setting?
In anwer to the questions:
1) My setting (now) in the Root Directory setting in DW is: /public_html/
2) My actual path on the server (that i mention in php scripts) is: /home/login_name/public_html//path/to/my/file/file.php
[In the advanced settings of DW site setup on the Local Info page I have set Links relative to Document option, although it does not seem to make a difference when I change it to Site Root.]
Any suggestions appreciated.
Thanks
Ian -
[Solved] Error : The file or folder path /Probl?me 1 does not exist
Hello,
I encountered this error
The file or folder <path>/Probl?me 2 does not exist
while I was trying to open a directory already extracted from a zip file containing directories with special characters. In this case, it is a "è" that was misinterpreted as a "?".
I searched the forums and on google, the solutions proposed do not work for me. Although, I have to deal with these files written in french, I would like to have my locale in english (US), with a system wide support for special characters.
Attempt 1: Adding the option : iocharset=utf8 into the fstab, like this :
fstab :
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
/dev/fd0 /media/fl auto user,noauto 0 0
/dev/disk/by-uuid/24ba75ac-e52d-40eb-a599-83b394b500b2 /boot ext2 defaults 0 2
/dev/disk/by-uuid/c797f409-00bc-479a-b4d6-ab49943f644b / ext4 defaults 0 1
/dev/disk/by-uuid/668427a8-5f51-42bd-a316-fc7984bf5f4f /var ext4 defaults 0 2
/dev/sda7 swap swap defaults 0 0
/dev/disk/by-uuid/417cd1b7-8f06-414b-84d5-e8714d9646ab /home ext4 defaults 0 2
/dev/disk/by-uuid/ef9aa00e-0515-4d7b-aa23-8096e787250d /usr ext4 defaults 0 2
/dev/disk/by-uuid/17d401b7-2fc7-4d9f-8e17-657d86926d2e /tmp ext4 defaults,iocharset=utf8 0 0 <<<<<<<<<<<<<<
/dev/disk/by-uuid/71e543b6-e06c-4b0e-b1e3-3b491ff1fefe /var/cache/pacman/repos ext4 defaults 0 2
#/dev/sda12 /mnt/archive ext4 defaults 0 2
#.host:/ /mnt/hgfs vmhgfs defaults 0 0
This solution does not work, because after adding iocharset=utf8, in front or after a "defaults", after a reboot, while mounting the filesystem, there is the following error message:
Mounting Locale Filesystem :
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
$ dmesg | tail
phy0: Selected rate control algorithm 'iwl-agn-rs'
EXT4-fs (sda5): re-mounted. Opts: (null)
EXT4-fs (sda5): re-mounted. Opts: (null)
EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (sda10): Unrecognized mount option "iocharset=utf8" or missing value <<<<<<<<<<<<<<
EXT4-fs (sda11): mounted filesystem with ordered data mode. Opts: (null)
Adding 2104476k swap on /dev/sda7. Priority:-1 extents:1 across:2104476k
tg3 0000:07:00.0: irq 44 for MSI/MSI-X
Attempt 2: Changing all the locale features in KDE and in /etc/rc.conf as well.
$ vim /etc/rc.conf
LOCALE="fr_CA.utf8"
HARDWARECLOCK=""
TIMEZONE="America/Montreal"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
It is complicated to remove these directories. I had to use the inum to get precisely these directories before removing them.
$ ls -il
total 8
1577566 drwxr-xr-x 2 [username] [username] 4096 28 jan 07:09 Probl?me 1
1577573 drwxr-xr-x 2 [username] [username] 4096 28 jan 07:09 Probl?me 2
$ find . -inum 1577566 -exec rm -i {} \;
rm: impossible de supprimer « ./Probl\212me 1 »: est un dossier
Note that the hypothetical character 'è' is represented has a '\212', a 'È' if seen as a extended ASCII character.
These directories cannot be deleted this way :
$ rm -r Problème\ 1
rm: cannot remove `Problème 1': No such file or directory
or
$ rm -r ProblÈme\ 1
rm: cannot remove `ProblÈme 1': No such file or directory
What should I do to be make the operating system recognize those special character, and interpret them correctly ?
Last edited by ramboman (2011-01-29 21:45:50)I found a working solution, but better solution are also welcome
I had to have fr_CA not only in utf8 but also in iso88591. I had to modify the /etc/rc.conf this way :
LOCALE="fr_CA" <<<<<<<<<<<<<<
HARDWARECLOCK=""
TIMEZONE="America/Montreal"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
To preserve the english US language system wide, I had to add the following line in the /etc/profile :
# Allow french special character while in en_US
export LANG=en_US
The character misinterpreted by a "?" is now seen :
as a "è" in dolphin
as a "?" in the console
It is now possible to access the folders. -
Error: While Opening a Custom view- Action &OBJECT_ID& does not exist
Hi Experts,
On the click of button, I am creating a window and opening as follows:
wd_comp_controller->go_window = lo_window_manager->create_window(
window_name = 'ZW_CERTIFICATION_POP'
title = lv_pop_title
close_in_any_case = abap_false
message_display_mode = if_wd_window=>co_msg_display_mode_selected
close_button = abap_true
button_kind = if_wd_window=>co_buttons_okcancel
message_type = if_wd_window=>co_msg_type_none
I have written following code in INIT method of View to Subscribe events but it is dumping with the Error "Action &OBJECT_ID& does not exist ".
DATA lv_ok type string.
DATA lv_cancel type string.
DATA lo_popup TYPE REF TO if_wd_window.
DATA lo_view TYPE REF TO if_wd_view_controller.
DATA lo_window_ctlr type ref to if_wd_window_controller.
register button events
lo_view = wd_this->wd_get_api( ).
lo_window_ctlr = lo_view->get_embedding_window_ctlr( ).
wd_comp_controller->go_window = lo_window_ctlr->get_window( ).
lv_ok = cl_wd_utilities=>get_otr_text_by_alias( alias = 'PAOC_RCF_UI/OK' ).
wd_comp_controller->go_window->subscribe_to_button_event(
button = if_wd_window=>co_button_ok
button_text = lv_ok
action_name = 'OK'
action_view = lo_view
is_default_button = abap_true
lv_cancel = cl_wd_utilities=>get_otr_text_by_alias( alias = 'PAOC_RCF_UI/CANCEL' ).
wd_comp_controller->go_window->subscribe_to_button_event(
button = if_wd_window=>co_button_cancel
button_text = lv_cancel
action_name = 'CANCEL'
action_view = lo_view
is_default_button = abap_true
How to solve this exception causing application to dump.
Thanks
DepeshHi Depeshn,
I have written following code in INIT method of View
I think you have writen code containg subscribe_to_button_event method in the INIT method of the pop up view. But actually you should write that code where you are generating the pop up window. i.e in the ONACTION method of the button (which when clicked generates the pop up window.)
It should be something like this:
" This whole code should come in the event handler of the button.
wd_comp_controller->go_window = lo_window_manager->create_window(
window_name = 'ZW_CERTIFICATION_POP'
title = lv_pop_title
close_in_any_case = abap_false
message_display_mode = if_wd_window=>co_msg_display_mode_selected
close_button = abap_true
button_kind = if_wd_window=>co_buttons_okcancel
message_type = if_wd_window=>co_msg_type_none
DATA lv_ok type string.
DATA lv_cancel type string.
DATA lo_popup TYPE REF TO if_wd_window.
DATA lo_view TYPE REF TO if_wd_view_controller.
DATA lo_window_ctlr type ref to if_wd_window_controller.
* register button events
lo_view = wd_this->wd_get_api( ).
lo_window_ctlr = lo_view->get_embedding_window_ctlr( ).
wd_comp_controller->go_window = lo_window_ctlr->get_window( ).
lv_ok = cl_wd_utilities=>get_otr_text_by_alias( alias = 'PAOC_RCF_UI/OK' ).
wd_comp_controller->go_window->subscribe_to_button_event(
button = if_wd_window=>co_button_ok
button_text = lv_ok
action_name = 'OK'
action_view = lo_view
is_default_button = abap_true
lv_cancel = cl_wd_utilities=>get_otr_text_by_alias( alias = 'PAOC_RCF_UI/CANCEL' ).
wd_comp_controller->go_window->subscribe_to_button_event(
button = if_wd_window=>co_button_cancel
button_text = lv_cancel
action_name = 'CANCEL'
action_view = lo_view
is_default_button = abap_true
I hope it helps.
Regards
Arjun -
Error while transporting - Source RSDS 8ZRF_O01 LOGDBQ151 does not exist
Hi,
I am getting following error while transporting export DataSource to quality system.
Start of the after-import method RS_TRFN_AFTER_IMPORT for object type(s) TRFN (Activation Mode)
No rule exists
Source RSDS 8ZRF_O01 LOGDBQ151 does not exist
Start of the after-import method RS_DTPA_AFTER_IMPORT for object type(s) DTPA (Activation Mode)
Transformation does not exist (see long text)
Although, the request is failing, I can see the DataSource 8ZRF_O01 present in the QA system. Only the transformation is set inactive.
Regards,
Pranav.
Edited by: P D on Sep 20, 2010 9:02 AMHi
might be your data source not collected into transport request.
If you are moving data source from once system to other system, this may missed.
RSA1->Transport connection>all objects>Datasource --> Select your data source as only neecessary to move
When ever we are moving objects from one system to other follow below are order to avoid failures
1).New Infoobjects.
2). Data source/Infosource
3). Info Providers ( Cube/DSo)
4). Update rules/Transformation
5).Impacted objects and other
Mahesh. -
The name '' does not exist in the current context
I have a recurring problem where all of a sudden I can no longer see the values of my variables when I debug my unit tests. I cannot find a pattern as to when this happens but I experience this across one of every 20 tests that I write. Occasionally this
has also happened during normal debbuging of running code on my machine.
I have included 2 screen shots. The first is when it is working. I have a break point set at the declaration of list of types. At this point all my variables are still reporting their values back to the debugger. Once I step over this to the next line (screen
shot 2) I get the error message 'The name '[variable name]' does not exist in the current context'
This problem is annoying me to no end. If anyone has any insight as to why this might be happening I would be very much appreciative.
My Settings/Configuration
Using Visual Studio 2013 Premium (Version 12.0.31101.00 Update 4)
Projects are all set to Target Framework = .NET 4.5.1
Resharper 9.1 is installed
My active configuration is debug mode, Any CPU
My PC is 64bit and so is the O/S windows 8.1
All of my projects are also compiled and built in debug mode
For all my projects configuration debug has the Optimize Code check box unchecked
I am unit testing code in an outside project referenced by the unit testing project (standard unit test project setup)
I make use of the latest version of NSubstitute in my tests although I do not think that would have any bearing on this issue
I omitted the code following the error because it is not relevant. I had cut it out and replaced it with a Task.Delay(4) which resulted in the same issue.
What I have tried so far
I have tried debugging the unit test from Visual Studio Test Explorer instead of from Resharper with the same result.
If I remove 2 items at the end of the array it starts to work again (so 6 items initialized instead of 8)
I clean solution with rebuild has no effect
Removing properties of the array also seems to work, example remove all initialization of property Value
Mark as answer or vote as helpful if you find it useful | IgorHi IWolbers,
>>I have a recurring problem where all of a sudden I can no longer see the values of my variables when I debug my unit tests. I cannot find a pattern as to when this happens but I experience this across one of every 20 tests that I write. Occasionally
this has also happened during normal debbuging of running code on my machine.
So you mean that it worked well before, am I right?
If you debug the same app in other VS machine, does it work well? So we could make sure that whether it is related to the VS IDE.
Please disable all add-ins in your VS IDE, and then reset your VS settings, debug it again.
https://msdn.microsoft.com/en-us/library/ms247075(v=vs.100).aspx
Or you could run your VS in safe mode, debug it again, at least, we could know that whether it is the add-in's issue.
https://msdn.microsoft.com/en-us/library/ms241278.aspx
To make sure that it is not the project files' issue, create a new blank solution, copy the project files to the new solution, clean and rebuild the solution, check the result.
>>Once I step over this to the next line (screen shot 2) I get the error message 'The name '[variable name]' does not exist in the current context'
How about debugging it with "Step Into" instead of "Step Over"? Or you could add breakpoints between 234 line to 241 line, after the breakpoint is hit, check the watch window again. How about the result?
In addition, do you check other debugger window like local or others?
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Error in sender file adapter: source directory does not exist
Hi,
The PI system is 7.11
I've created sender file adapter with following details:
Transport Protocol : File System
Source directory: /interfaces/In
I checked in AL11 that this path really exists and it does. (I can even see the .txt file that should be processed.)
But still i get in Communication Channel Monitoring the following error:
"Configured Source directory "/interfaces/In" does not exist.
(i also tried to give the source directory as "interfaces/In" and as "//interfaces/In" but still the same error.
Any suggestions as to what is wrong?
kr
RobertActually, Need to use forward slash (/) to separate directory names in accordance with the Java specification.
But wanted to try if that works..
Also check directory name , path again as this is case sensitive...
--Divyesh -
Runtime error in enhancement spot-' mereq_topline does not exists.'
Hi all,
I have implemented an implicit enhancement spot in ME53n.
When i applied break point in enhancement spot and control goes to ebhancement spot in debugging mode, i got purchse requisition number in mereq_topline.
When i tried to use this structure value in code i get runtime error-
' mereq_topline does not exists.'
Can you please guide how to resolve this runtime error.
thanks.
Edited by: Sanjay_lnt on Sep 20, 2010 8:52 AMSanjay,
try to delete the enhancement and recreate it
Thanks
Bala Duvvuri
Maybe you are looking for
-
Pages will only allow me to add two pages at a time?
I am sure this is an easy question. When I add a page Pages wants to keep pages in pairs. I can't delete just one page, I have to delete a pair. How do I stop this as I am wanting to compile a PDF in the end that does not have to be printed and this
-
How do I find out who my administrator is and why I can't view certain things and get error 401 says i am an unauthorized user It is a small business which doesn't make sense why I shouldn't be able to access certain pages on the Internet I believe
-
Display in PDF Browser - Item failed to convert in Outlook
Display in PDF Browser - Item failed to convert in Outlook ben soules - 09:26pm Aug 22, 2007 Pacific Hi Experts, This is a bit of a pain I have to distrubte Adobe Acrobat Pro 8.1 to about 3000+ users and I am having a problem, In Prefs in "Adobe Acro
-
iTunes obviously has some preloaded movie genres. If you add a new movie and select the right genre it shows the iTunes icon for that genre when the "Genres" tab is selected. If you enter a genre that is not preloaded into iTunes (such as "Suspense")
-
Importing Flip and iPhone clips into FCP
What is FCP's preferred video format? I have a funky project consisting of clips from iPhone and a Flip Mino HD camera. When either of these are imported directly into FCP, they won't play without rendering, and any edit or trim "undoes" the render,