How to Read the Source file instead of Dummy file
Hi All
We have LSMW in that they are Reading Dummy file instead of the Source file ...
But my requirement is, i want to read the source file in specify file step in stead of Dummy file,
how to do this ? can any one help me on this
Regards
Smitha
Never heared that dummy files are used anywhere in LSMW.
Exchange the file in step 7 Spcify files to the file of your choice.
Similar Messages
-
How to read the source file and copy the entire content to the target Database field
Hi All,
PI system extracts the actual business content from the incoming attachment file and copy the entire format to the target Database field which is a blob data type field.
Sender Adapter: SOAP
Receiver Adapter: JDBC
JDBC Structure
Can we achived the above requirement by using UDF with out Java Mapping?
Thanks,
Mahi.Ok, in this case yo can use the conten converion of the file adapter. Therefore you first need to create a Datatype in ESR with the required structure
Then in your file adapter you need to use this datatype and its required fields:
The Datatype then can be used as usual within you mapping.
regards
Christian -
Hi,
I want to know how to read the source code of web dynpro java from the source folder i.e. without loading the project in NWDS. Please answer me as soon as possible.
Thanks & Regards,
AniruddhaHi,
If you are using DC's then you can find the .Java files in the path
<project Name>\_comp\gen_wdp\packages\<Pacjage>\<ComponentName>\..
In the above path you can find the Java files of the controllers.
Thanks,
Raju Bonagiri -
How to read the properties file available in Server File structure in webdy
hi all,
I have developed one webdynpro application. In this application i need to access mdm server to continue. For getting the connection i need to pass the IP addresses.
Can i have code how to read the properties file which is residing in the server file. with out included along with the application. keeping some where in the file structure in the server. I want to read that properties file by maintain the iP addresses and users in properties file based on the key i want to read like below.
servername="abcServer"
username="john"
password="test123"
Please send me the code how to read this properties file from the file structure and how to read this values by key in webdynpro application
Regards
VijayHi Vijay,
You can try this piece of code too:
Properties props = new Properties();
//try retrieve data from file
//catch exception in case properties file does not exist
try {
props.load(new FileInputStream("c:\property\Test.properties")); //File location
String serverName = props.getProperty("servername"); //Similarly, you can access the other properties
if(serverName==null)
//....do appropriate handling
} catch(IOException e)
e.printStackTrace();
Regards,
Alka. -
How to read the backup file of my own iphone...
how to read the backup file of my own iphone... becase I'm running out of space in my iphone so need to delete some photos. I wanna know do i have to copy photos to my computer or is it available in the back up file ????
Always move (copy and delete) your photos from Camera Roll to your computer.
Camera Roll is the digital camera card. -
How to edit the source file of a PDF form?
Hi,
I used a Word doc as a base to create a PDF form and have added many fields to it using Adobe X Pro.
Now, i have to change some of the text in the Word doc. Therefore I would like to change the Word. doc and reupload it as the source file for the form.
How can I do this?
thanks in advance!
regards, LaurieAfter updating the Word file create a new PDF from it. Open the old one (with the fields) and use the Replace Pages command to replace the pages of the old file with those from the new one. This will keep the fields in tact and you'll have a version with the new pages and the old fields.
-
How to read the AFP file in hex format
hi,
I am reading a AFP file in hexstring format.But it is out put is not perfect means it is showing output close to the real one.
How to read the file so taht i can get exact output in hex format.
try{
File inputFile = new File( "C:\\ACode\\afpfile.afp" ) ;
File outputFilehex = new File ( "C:\\ACode\\Hex.txt" ) ;
FileInputStream inputStream = new FileInputStream( inputFile );
Reader in = new InputStreamReader(inputStream,"Cp1252");
BufferedReader readableFile = new BufferedReader( in ) ;
FileOutputStream outputStreamhex = new FileOutputStream( outputFilehex );
Writer outhex = new OutputStreamWriter(outputStreamhex);
BufferedWriter writableFilehex = new BufferedWriter( outhex ) ;
int line;
String hext=new String();
while ((line= (readableFile.read()))!=-1)
writableFilehex.write(Integer.toHexString(line).toUpperCase());
} writableFilehex.close() ;
readableFile.close() ;
catch( IOException e ) {
System.out.println( e.getMessage() ) ;
while reading i am getting most of hex charters are same except some places like instead of taking 00 its writing 0 and instead of f8 its writing fff.
AFP is a IBM format for printing. Somehow i will be able to read that but how to covert it back to that format and store to that file.
by trying is just storing data in hex format only
Writer outhex = new OutputStreamWriter(outputStreamhex,"Cp1252");
is there anyother way to store it back to this format -
How to Read the "text file and csv file" through powershell Scripts
Hi All
i need to add a multiple users in a particular Group through powershell Script how to read the text and CSV files in powershell
am completly new to Powershell scripts any one pls respond ASAP.with step by step process pls
Regards:
Rajeshreddy.kHi Rajeshreddy.k,
To add multiple users to one group, I wouldn't use a .csv file since the only value you need from a list is the users to be added.
To start create a list of users that should be added to the group, import this list in a variable called $users, the group distinguishedName in a variable called $Group and simply call the ActiveDirectory cmdlet Add-GroupMember.
$Users = Get-Content -Path 'C:\ListOfUsernames.txt'
$Group = 'CN=MyGroup,OU=MyOrg,DC=domain,DC=lcl'
Add-ADGroupMember -Identity $Group -Members $Users -
How to read the text file present in the Al11 server through our program?
My requirement is that , i have one file already present in the AL11 server. Now i want to take this file so that I can read this file .
So will you please help me , how to read the file from AL11 server in our program ?
Thankx in advanceHi..
I too agree to the above post .. SEARCH in SCN before posting..
DATA: lv_filename TYPE string, "File name
lv_line TYPE string. "One line entry in a file
lv_filename = iv_file_name.
IF iv_location = gc_application.
IF iv_record_count IS SUPPLIED.
Open file
IF gv_file IS INITIAL.
OPEN DATASET lv_filename FOR INPUT IN TEXT MODE
ENCODING DEFAULT.
ENCODING DEFAULT
IGNORING CONVERSION ERRORS.
IF sy-subrc <> 0.
RAISE file_open_error.
ENDIF.
gv_file = gc_check.
ENDIF.
Read data
DO iv_record_count TIMES.
READ DATASET lv_filename INTO lv_line.
IF sy-subrc <> 0.
Close file
CLOSE DATASET lv_filename.
IF sy-subrc NE 0.
RAISE file_close_error.
ENDIF.
CLEAR gv_file.
Exit from the loop
EXIT.
ENDIF.
Regards
Ansari -
How to read the iak file in visual c#
I am trying to read the iak file from visual c#. How to parse the file?
I need to know how and what information is stored in the file.
Why?
We have Fieldpoints and every time we are moving them around, or the eqjuipment connected to them. Every time we have to go back and update the program reading the data from the Filedpoints. If the program can read the iak file, it will be better.AlbertJ,
With the Microsoft .NET Framework version 1.1 or later, you can
use NI-VISA to create applications using Visual C# and Visual Basic .NET without
Measurement Studio. You need Microsoft Visual Studio .NET 2003 for the API
documentation to be installed.
The installed documentation contains the NI-VISA API overview and
function reference. This help is fully integrated into the Visual Studio .NET
documentation. To view the VISA .NET documentation, go to
Start»Programs»National Instruments»VISA»NI-VISA .NET Framework 1.1
Help. Expand NI Measurement Studio Help»NI Measurement Studio
.NET Class Library»Reference»NationalInstruments.VisaNS to view the
function reference. Expand NI Measurement Studio Help»NI Measurement
Studio .NET Class Library»Using the Measurement Studio .NET Class
Libraries»Using the Measurement Studio VisaNS .NET Library to view
conceptual topics for using NI-VISA with Visual C# and Visual Basic .NET.
To get to the same help topics from within Visual Studio .NET
2003, go to Help»Contents. Select Measurement
Studio from the Filtered By drop-down list and follow
the previous instructions.Examples can be found at C:\Program Files\National Instruments\MeasurementStudio(version #)\DotNET\Examples\Visa. These examples are installed when you install the VISA driver with .NET support.
Test Engineer - CTA -
How to read the source code of class method
Hi,
I want to read the source code of a method which is in a BAdi implementation.
I used SEO_METHOD_GET_SOURCE function module where I passed interface name as class and method name.
But I didn't get the source code. Is there any other function module of method to read the source code.
Thanks and regards,
Venkat.Hi Venkat,
You can still use the Function Module SEO_METHOD_GET_SOURCE with a small change in the parameter passing. It should be:
Paramaters:
MTDKEY-CLSNAME : <Implementaion Classname>
MTDKEY-CPDNAME: <Interfacename~methodname>
STATE : 'A' for active or 'I' for inactive
For example:
MTDKEY-CLSNAME :ZCL_IM_PLM_AUDIT_ALV_GRID
MTDKEY-CPDNAME: IF_EX_PLM_AUDIT_ALV_GRID~ON_USER_COMMAND
STATE: A
After executing you will get the source code in the form of string in the 'SOURCE' parameter.
Hope this helps you.
Regards,
Swarna Munukoti -
How to change the source file of audio elements
Hi,
I am using adobe edge version 3 to add audio to a website.I use both .ogg and .mp3 files.
Inside the _edge.js file the audio element has 2 sources (one for .ogg and one for .mp3)
id: 'audio_element_id',
type: 'audio',
tag: 'audio',
rect: ['0', '0','320px','45px','auto', 'auto'],
source: ['source_file.mp3','source_file4.ogg']
I want to change the source file of the audio_element programatically......
So i am using the following code inside edgeActions.js to change the source
sym.$("audio_element_id")[0].src="new_source_file.mp3";
But this will change the source of both(.mp3 and .ogg ) to new_source_file.mp3
I want to change the source induvidually. What should i do??
Also I wanted to know what " [0] " stands for in " sym.$("my_audio_element")[0].play(); "
Please give me an example of a situation wherein i have to change the value of [0].
Thank you
Nithinyou should create a different directory for each dvd on your hard drive and put the files where they belong eg: dvd1, dvd2, dvd3
then create 3 bins in your project manager called dvd1, dvd2, dvd3 and put the relevant files into the bins ( can import whole folders into each respective bin )
OR rename your files using something like " renamer" before importing to premiere
otherwise youll have a mess of a time trying to figure out whats what...maybe someone else has a better solution -
How to read the CSV Files into Database Table
Hi
Friends i have a Table called tblstudent this has the following fields Student ID, StudentName ,Class,Father_Name, Mother_Name.
Now i have a CSV File with 1500 records with all These Fields. Now in my Program there is a need for me to read all these Records into this Table tblstudent.
Note: I have got already 2000 records in the Table tblstudent now i would like to read all these CSV File records into the Table tblstudent.
Please give me some examples to do this
Thank your for your service
Cheers
Jofin1) Read the CSV file line by line using BufferedReader.
2) Convert each line (record) to a List and add it to a parent List. If you know the columns before, you might use a List of DTO's.
3) Finally save the two-dimensional List or the List of DTO's into the datatable using plain JDBC or any kind of ORM (Hibernate and so on).
This article contains some useful code snippets to parse a CSV: http://balusc.xs4all.nl/srv/dev-jep-csv.html -
How to get the source file name and transform into database
Hi,
We need to load data from source file abc.csv into oracle table. during loading, we need to keep the file name abc.csv and write into the database table as one field. Is there anyone who did the similar task? and how to make it? Pls help!Hi,
If you can write the filename to a text file, you may do the following:
(1) create a text-file containing the name of your source-file.
(2) create an external table using that text-file as input.
Now, you can SELECT the filename from the external table.
Of course, you need a way to : create the flat file, handle the flat file, etc.
Grtz. -
How to read the data file and write into the same file without a temp table
Hi,
I have a requirement as below:
We are running lockbox process for several business, but for a few businesses we have requirement where in we receive a flat file in different format other than how the transmission format is defined.
This is a 10.7 to 11.10 migration. In 10.7 the users are using a custom table into which they are first loading the raw data and writing a pl/sql validation on that and loading it into a new flat file and then running the lockbox process.
But in 11.10 we want to restrict using temp table how can we achieve this.
Can we read the file first and then do validations accordingly and then write to the same file and process the lockbox.
Any inputs are highly appreciated.
Thanks & Regards,
Lakshmi Kalyan Vara Prasad.Hello Gurus,
Let me tell you about my requirement clearly with an example.
Problem:
i am receiving a dat file from bank in below format
105A371273020563007 07030415509174REF3178503 001367423860020015E129045
in this detail 1 record starting from 38th character to next 15 characters is merchant reference number
REF3178503 --- REF denotes it as Sales Order
ACC denotes it as Customer No
INV denotes it as Transaction Number
based on this 15 characters......my validation comes.
If i see REF i need to pick that complete record and then fill that record with the SO details as per my system and then submit the file for lockbox processing.
In 10.7 they created a temporary table into which they are loading the data using a control file....once the data is loaded into the temporary table then they are doing a validation and updating the record exactly as required and then creating one another file and then submitting the file for lockbox processing.
Where as in 11.10 they want to bypass these temporary tables and writing it into a different file.
Can this be handled by writing a pl/sql procedure ??
My findings:
May be i am wrong.......but i think .......if we first get the data into ar_payments_interface_all table and then do the validations and then complete the lockbox process may help.
Any suggestions from Oracle GURUS is highly appreciated.
Thanks & Regards,
Lakshmi Kalyan Vara Prasad.
Maybe you are looking for
-
Can't transfer iBooks pdfs from first gen iPad to new MacBook Pro
I have a bunch of important pdf files on a first gen iPad (iOS 5.1.1) that I want to transfer to iBooks in a 13" MacBook Retina. In iTunes, choosing Devices >Transfer Purchases from My iPad isn't moving them over. I've been able to transfer all the n
-
Hi all, in my webdynpro view's content is two-level structure. Under top node is another non-singleton node and within this node another non-singleton node. I would like to display such structured information in PDF Form. I have created Subform (flow
-
I need help setting up an apple id for my son's phone. It seems his email address has been taken and/or we cant get the password.
-
I tried to create 3D Pie Chart using the code below but it come back with no chart data available. I tested the select statement in sqlplus, it works. Is there something wrong with my select statement?? SELECT NULL LINK, 'Saturday' LABEL, DECODE(SUM(
-
Help with Two Document folders w/ same contents
Could use some help....... I migrated from an older Mac to a new Mac about a month ago. At the same time I moved from Leopard to Snow Leopard. I used the Migration Assistant except for applications which I reinstalled from scratch (except preferences