I want to get the file in ANSI format.. Any idea?
Hi all,
I am doing a file to file bypass scenario .My client has demanded that the output file should be in ANSI format.
I checked the <b>file.encoding</b> option in sap-help but ANSI is not available can u suggest that what encoding type i must use.
I used ISO-8859-1 as well.But client rejected this file saying that ANSI characters not present in ISO-8859-1
Any one pls throw some light on this how to acheive.
Regards
Seema.
Hi Stefan,
Thanks for those links.. I have few doubts .. please suggest me.
Based on those links and as per my thinking, now i have to follow below steps in File Module .
Processing sequence:
<b>Module Name :</b> AF_Modules/StrictXml2PlainBean
<b>Type :</b> Local Enterprise Bean
<b>ModuleKey :</b> 0
<b>Module Name :</b> AF_Modules/StrictXml2PlainBean
<b>Type :</b> Local Enterprise Bean
<b>ModuleKey :</b> 1
Module Configuration :
<b>ModuleKey :</b> 0
<b>Parameter Name :</b> singleRecordType (Since it is Bypass scenario,i want the entire file to have endseparator as /r/n.)
<b>Parameter value: </b> What i need to mention i this field??
<b>ModuleKey :</b> 1
<b>Parameter Name :</b> Convert
<b>Parameter value:</b> No value ??
In the links, i found these 3 parameters stating as
Enter the parameter convert. It can have the following values:
● none - no conversion
● CRLFtoLF - conversion from Microsoft Windows CRLF to Unix LF
● No value or another value - conversion from Unix LF to Microsoft Windows CRLF
So now i want the file to be in (CRLF).SO i need to mention "No value" here??
Please suggest me stefan if iam thinking in correct way.
Regards
Seema.
Similar Messages
-
I tried to download some photos from a corrupted CD and now every time I try to open iPhoto the frame pops up but nothing will load. I just get the spinning color wheel. Any ideas???
What version of iPhoto? Assuming 09 or later:
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
Regards
TD -
When trying to update my apps I get the message, "unknown error occurred", any ideas how to fix this?
I really thought signing out would do because that works frequently for the unknown error message. Try these two things.
Go to Settings>General>Date and Time>Set Automatically>Off. Set the date one year ahead. Try to update the apps again. If you get an error message, go back to the settings. Correct the date and time (set automatically) then go back and try to update the apps again.
Or this ... The old stand by....
Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. -
My volume button seems stuck,i cant get the volume to go up,any ideas?
ON my ipad2 the volume button is stuck,i cant get the volume to go up.any ideas?
Thanks for the link ..so far I was only able to acces the utility disk, it says my disk needs repair but while attempting to repair it I get the following: Invalid record count...Any ideas on what should I try next????
I appreciate your help! -
Problem in response.setContentType want to open the file ms-access format
my question is :---Is it possible to open output of a jsp file in ms access format?
i m using response.setContentType("application.vnd.ms-access");but while saving this file ,the extension is jsp format not in mdb extension ...
but if i use response.setContentType("application.vnd.ms-excel") or response.setContentType("application.vnd.ms-word") or response.setContentType("application.vnd.ms-powerpoint ")..the file extension is changing and opens according to htier type defined in code..
is there any other solution open in ms-access format.?
please give the soution if any expert knows (urgent)
thanks in advance..
note:i ahve already asked this question before .but i didnt got the answer....I am not 100% sure on this but I think it means the browser will try and open the file, I tested it with an xml file and using inline opens the xml in the browser window. I just looked at something I wrote more recently and I used the attachment option as this forces a 'save or open' dialog box.
response.setContentType("text/" + contentType);
response.addHeader("Content-Disposition", "attachment;filename=catalogue_download" + versionID + "." + contentType); -
Try to update to latest version as current version of firefox is almost constantly coming up saying "not responding" in upper taskbar, I figure that the update may help this but when I go to update it fails for unkown reasons. Any help figuring this out would be greatly appreciated as i now have to triple click things, on click to begin the freezing process, one to enter "not responding" process then finally once that finished freezing one more time to actually get where I want to go
If you have problems with updating then easiest is to download the full version and uninstall the currently installed version.<br />
You may need to remove the Firefox program folder to do a clean install of the new version.
Do a clean (re-)install:
* Download a fresh Firefox copy and save the file to the desktop.
* Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
* Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
* Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
* Do not remove personal data if you uninstall the current version.
Your bookmarks and other profile data are stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox. -
After recent update, cannot find my ringtones. Tried syncing and they don't come back. Only 1 list in the contacts to be selected. Tried to sync the ringtones by themselves and it still won't sync them back to the phone.
These are iTune purchased ringtones.
-
My Ipad 2 will no longer synch with ITunes after I updated to the latest ITunes software. It says error OxE8000065. Does not recognize this IPod.I have rebooted both Ipad and PC and uninstalled /reinstalled Itunes software. Same problem.
Any suggestions?Riversedge18-
A web search for OxE8000065 finds an Apple help page, <http://support.apple.com/kb/TS3221>.
Another possibility is <http://support.apple.com/kb/TS1538>.
Fred -
Is there any way to get the files from other computer ?
Hai all,
I have 2 computers connected. I know the IP address of other computer. Is there any way to get the files from other computer. (for e.g. I want to get the files from specific folder. In Java netwroking is it possible? (Any programs)
regards,
NamancBro Take it easy.
Think you need to send a Image file named ("abc.gif")
now develop a server using ServerSocket and connect it in local IP and any PORT
For example i think ur server is connected in "localhost" and 9000 port.
Now make ur server educated using some commands.
For example:
FileName: <File Name String>
[Means new file is sending by connected client]
FileSize: <File size long or int value>
[ So that ur server can determind about the total length of sender file]
DataModeOpen
[Now your client will send its image data, this command means your client software is sending data]
fjadlkfjaofaijojfwoeiurfodkjflsajlfksa
l23j4lj23lkjlasjfoq23j4rokjelfkjasldkf
2o3j4lk2j3ljslakdjf2l3j4 l23kjlk23k4j
DataModeClose
[Means file sending finished]
Close
[Means your client connection is closed]
Now develop a client supporting this command.
For example(Server):
String getFileName=null;
long getFileSize=0;
public handleCommand(String getCmd) {
if(getCmd.startsWith("FileName")) {
String[] splitData=getCmd.split(":");
this.getFileName= splitData[1];
outPutStream.writeBytes("+OK");
} else if(getCmd.startsWith("FileSize")) {
String[] splitData=getCmd.split(":");
this.getFileSize=Long.parseLong(splitData[1]);
outPutStream.writeBytes("+OK");
} else if(getCmd.startsWith("DataModeOpen")) {
//data mode open so receive data
receiveData();
outPutStream.writeBytes("+OK");
} else if(getCmd.startsWith("DataModeClose")) {
//close client socket
getClientSocket.close();
}For client:
DataInputStream dataIn=null;
BufferedOutputStream bout=null;
public sendFile(bytes[] getBytes) {
//if ok found then do other or show error message
if(sendCmd("FileName:"+getFileName)) {
if(sendCmd("FileSize:"+getFileSize)) {
if(sendCmd("DataModeOpen")) {
bout.write(getBytes);
} else {
showError(3);
} else {
showError(2);
} else {
showError(1);
}i think it will help u -
How to get the file name from Oracle B2B 10g
Hi My requirement is I am getting a CSV file from Trading partner, I am using oracle 10g b2b to translate the data.
In my BPEL 10g I am using AQ adapter to get the message from IP_IN_QUEUE.
Now I want to get the file name Eg: SampleFile.dat of the CSV file in my BPEL process.
I tried using the b2b.filename property in the receive activity and it is not getting the file name.
<sequence name="main">
<receive name="Receive_Note" partnerLink="GetB2BNote"
portType="ns1:Dequeue_ptt" operation="Dequeue"
variable="Receive_Note_Dequeue_InputVariable"
createInstance="yes">
<bpelx:property name="b2b.fileName" variable="WriteFileName"/>
</receive>
</sequence>
Can you help me to get the file name from Oracle b2b 10g ?
Thanks,
b2b userHi My requirement is I am getting a CSV file from Trading partner, I am using oracle 10g b2b to translate the data.
In my BPEL 10g I am using AQ adapter to get the message from IP_IN_QUEUE.
Now I want to get the file name Eg: SampleFile.dat of the CSV file in my BPEL process.
I tried using the b2b.filename property in the receive activity and it is not getting the file name.
<sequence name="main">
<receive name="Receive_Note" partnerLink="GetB2BNote"
portType="ns1:Dequeue_ptt" operation="Dequeue"
variable="Receive_Note_Dequeue_InputVariable"
createInstance="yes">
<bpelx:property name="b2b.fileName" variable="WriteFileName"/>
</receive>
</sequence>
Can you help me to get the file name from Oracle b2b 10g ?
Thanks,
b2b user -
Get the File information(data) from Directory AL11.
Hi Friends,
I want to get the file data from the given particular directory(which maintained in AL11) in the selection screen.
for listing the files from the directory, i used FM 'RZL_READ_DIR_LOCAL'. it displaying only files what ever in the given directory.
But my requirement is to display the complete data in the file ( log file contents).
please suggest me with relevant Function module or logic.
Thank you.
Regards
Ramesh MHI,
Try using function module:
PARAMETERS: p_fname LIKE rlgrap-filename .
data l_path TYPE dxlpath .
DATA: l_true TYPE btch0000-char1.
*-- F4 functionality for filename on Application Server
CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
EXPORTING
directory = '/usr/sap/input'
filemask = ''
IMPORTING
serverfile = l_path
EXCEPTIONS
canceled_by_user = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
p_fname = l_path. ""Here p_fname is the parameter for the user to select the file from the application server
ENDIF.
PFL_CHECK_OS_FILE_EXISTENCE
DATA: l_file TYPE tpfht-pffile.
CLEAR l_file.
l_file = p_fname. "Here p_fname is the parameter for the user to select the file from the application server
CALL FUNCTION 'PFL_CHECK_OS_FILE_EXISTENCE'
EXPORTING
fully_qualified_filename = l_file
IMPORTING
file_exists = l_true.
IF l_true = space.
MESSAGE e001(zmsg).
ENDIF.
Hope it helps
Regards
Mansi -
To get the File path dynamically
Hi all,
I am using the <b>Gui_upload function, and i want to get the file dynamically from the search help</b>,
So please help me in finding the answer.
Thanks,
GirishHai Girish
Check the following Code
DATA: I_FILETABLE TYPE FILETABLE,
V_RC TYPE I.
PARAMETERS: P_FILE LIKE RLGRAP-FILENAME. "local file with contracts
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
EXPORTING
WINDOW_TITLE = 'Find File'
DEFAULT_EXTENSION = 'C:\'
DEFAULT_FILENAME = ''
FILE_FILTER = ',..'
INITIAL_DIRECTORY =
MULTISELECTION =
WITH_ENCODING =
CHANGING
FILE_TABLE = I_FILETABLE
RC = V_RC
USER_ACTION =
FILE_ENCODING =
EXCEPTIONS
FILE_OPEN_DIALOG_FAILED = 1
CNTL_ERROR = 2
ERROR_NO_GUI = 3
NOT_SUPPORTED_BY_GUI = 4
others = 5
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 I_FILETABLE INTO P_FILE INDEX 1.
Thanks & Regards
Sreenivasulu P
Message was edited by: Sreenivasulu Ponnadi -
How to get the files' information?
I' d want to get the files' information in the action, such
as the .avi or .flv information about their duration and the
default image,
please help, thanks.Hi,
You could use Oracle workflow builder to do thar....
Regards,
Luiz -
How can I get a pdf. to open in Safari, all i'm getting is a new window with a black, blank page, instead of the pdf., and I don't want to save the file to the desktop, Safari didn't use to do that, and I don't have Adobe in the internet plug in folder.
Hi
Please take a look to this thread Re: Can I refresh the browser rather than open a new tab? -
When I try to open a pdf link in my browser I am asked where I want to save the file. I used to be asked if I wanted to open the file. How do I get back to being asked if I want to open rather than save?
What browser?
Maybe you are looking for
-
Few querys related to connections in ABAP
Hi, Please help me with the following questions---- 1. What does connection between logical systems mean with respect to the ALE environment? 2. What does the tearm logon user and logon data mean in RFC connection between the two systems?
-
Spotlight (still) not working in System Preferences
Hi there, As soon as I enter a single letter in the search box of the System Preferences window, the entire System Preferences window dims, and no Preference Pane icon is highlighted. I've tried: 1) Running Disk Utility and reparing disk -- no repair
-
Description of NEXT_TIME colume in V$ARCHIVED_LOG View
i m new in oracle .. i juut want to know the exact meannig in simple word and uasag of next_time col of V$ARCHIVED_LOG View
-
Bought the Laptop today. And registered it. But could not register the date I got the computer. It only shows the date it was manufactured. And for me that means om loosing nearly alot of time of my warranty. Also not possible to update Windows 8.1 f
-
How to check if iPhone 6 is jailbroken and reveal malicious apps?
My friend's iPhone 6 seems to have been compromised and I would like to know how I can be sure. I connected her phone to iTunes and checked for installed apps, but they were all harmless. Previously the same guy "hacked" my mom's iPhone 5 and I found