How to configure the flat file in 11G
Hi,
I am using OWB 11.1.0.6.0.
For a map in OWB 10G having a source a flat file. I used to go and right click on the map--> then click Configure-->then Under "Source Data File" type the file name-->then give the location details and the exact flat file name with extention.
IN when i do the same thing the node "Source Data File" is missing?? my question is do we need to configute the data file name and location details some were else in 11.1.0.6.0.
The ERROR I get is
"VLD-2398: No data file specified. Generated code will use the sampled file name and the file location 'FILE_LOCATION1'.
To specify a data file configure the mapping, add a node under 'Source Data File', type in the file name and select the file location."
There should be a node named 'Sql Loader Data Files' in the map's configuration tree (assuming it is a SQLLoader map), if you right click on that node you can create any number of data files, and define the name and location of the file. When you said 10g, were you talking about 10.1?
Cheers
David
Similar Messages
-
How to store the flat file data into custom table?
Hi,
Iam working on inbound interface.Can any one tell me how to store the flat file data into custom table?what is the procedure?
Regards,
SujanHie
u can use function
F4_FILENAME
to pick the file from front-end or location.
then use function
WS_UPLOAD
to upload into
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME' "Function to pick file
EXPORTING
field_name = 'p_file' "file
IMPORTING
file_name = p_file. "file
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = p_file1
TABLES
data_tab = it_line
*then loop at it_line splitting it into the fields of your custom table.
loop at it_line.
split itline at ',' into
itab-name
itab-surname.
endloop.
then u can insert the values into yo table from the itab work area.
regards
Isaac Prince -
How to query the flat files?
Hi
How to query the flat files that are used in Etl From EBS source.That can be done in OBIEE. Save the flat file as .csv format. Then go to ODBC Administrator on windows machine where you BI server is running, and create an System DSN and select "Microsft Access Text Driver (*.txt, *.csv)" as driver type.
Next, import tables in RPD using this ODBC connection. Rest of the steps as same as building model from a table source.
Hope this helps. -
Can AnyOne Please Tellme How to configure the HTML files
This is very Urgent.
1.I am using the WLS7.0 sp1 .I need to configure theHTML files which are in a
different path how can I map them to the present DefaultWebAPP directory.
2. How can I get rid of the port number when I am fully using in production mode.
I have been posting this query since long but in vain. Please guide me1. I got rid of port number with link provided by the karthik.
2.How can I create a link .The link appends to the defaultwebapp directory
and checks from their .I need to know how to configure the
HTML files which are not in the DefaultWebApp.But completely in directory.
Any suggestions !!!!!!!
Shehzad <[email protected]> wrote:
1. You can create a link to that directory
2. In order to get rid of port number, either boot weblogic at default
port 80, or use Apache or Iplanet webserver, and use Weblogic plugin.
That way all the traffic comming in from http will comein at port 80
to the webserver, and would then be forwarded to Weblogic at whatever
port it is booted.
This is very Urgent.
1.I am using the WLS7.0 sp1 .I need to configure theHTML files whichare in a
different path how can I map them to the present DefaultWebAPP directory.
2. How can I get rid of the port number when I am fully using in productionmode.
I have been posting this query since long but in vain. Please guideme -
How to configure the .ini file with applet
hai
i am using native methods in that methods they use some ip addresses. when i am using that native methods in applet run the applet using appletviewer tool it works fine but when i am open that applet using html page browser not configure that .ini file data .how to configure that .ini file with browserHi Jay SenSharma,
Thanks for your immediate response.
I saw your URL links, But in your link give the recursive deployment using wlst. But my question is how to configure the oracle weblogic library files into Admin server & Managed Servers by using the wls.jar file through wlst script to create the new domain.
But if create the new domain by using GUI mode then we manually give the admin server port number & managed servers port number and name.
By default the library files are configured with the Admin server in GUI mode. But the Managed server the Library files are not configured with the Managed servers. Then we manually select all the library files to the corresponding managed servers. Then only the applications are deployed into the corresponding managed server.
Regards,
S.vinoth Babu -
How to configure the property file
Is this the correct way of configuring the property file in web.xml.
<servlet>
<servlet-name>ControllerServlet</servlet-name>
<servlet-class>com.test.prod.pds.Controller</servlet-class>
<init-param>
<param-name>LOGINID</param-name>
<param-value>C:\bea\user_projects\domains\mydomain\applications\TestWebApp\WEB-INF\classes\loginid.properties</param-value>
<description>Pds Group properties file</description>
</init-param>
</servlet>
IT is giving an error "javax.servlet.ServletException: loginid.properties (The system cannot find the file specified)"Hi,
Place that properties file in the application classpath Then it will work fine without any problems.
Go through the follwing links,In that you will get usefull information on this.
http://jtidy.sourceforge.net/multiproject/jtidyservlet/configuration.html
http://www.utdallas.edu/~baughman/velocity4.html
Regards
Anilkumar kari -
How to configure the .ts files' path in the m3u8
Now I have a fms server running, but the m3u8 file is not use the correct url for the ts files in the playlist.
just like this:
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=6334,BANDWIDTH=100000
liveevent/livestream1.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=6334,BANDWIDTH=200000
liveevent/livestream2.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=6334,BANDWIDTH=350000
liveevent/livestream3.m3u8
How to configure it to like this?
http://xxx.xx.xx.xxx./liveevent/livestream1.m3u8I just want to have a live channel for HLS.
I use the virtual camera to play a viedo. And use the FMLE to publish the viedo.
And I create a m3u8 file named liveevent.m3u8.
just like this:
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=150000
http://192.168.3.109/hls-live/livepkgr/events/_definst_/liveevent/livestream1.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=500000
http://192.168.3.109/hls-live/livepkgr/events/_definst_/liveevent/livestream2.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=700000
http://192.168.3.109/hls-live/livepkgr/events/_definst_/liveevent/livestream3.m3u8
and put it on the webroot.
now if I play this file, the client will download all the livestream%i.m3u8,
The file livestream%i.m3u8 was created by FMS automaticlly.
but it use the relative path for the ts files.
I need the absolute path.
that's all.
thanks. -
How to upload the flat file records into internal table by position?
Hi
I have a flat file which has 7 records in each row and they are NOT provided with CSV or Tab demilited...
They are continous text without spaces....
but i know the fixed length of each field Eg : 1st field 7 char and seconc field 3 char and so on...
How can i upload this file into internal table by reading positions of each field...I know we can use GUI_UPLOAD and Read dataset and Open dataset...
But please let me know to read the file with the fixed postions and load into internal table...
Thanks in advance
MMHi
As per my knowledge i dont think thr is some function module or so to read with a fixed positions.
You can use the below method if you think this is the best way.
Suppose your file has
types : begin of ty_itab,
field1 type char7,
field2 type char3,
field3 type chat3,
field4 type char3,
end of ty_itab.
types : begin of ty_upload,
str type string,
end of ty_upload.
data : it_itab type standatd table of ty_itab,
it_upload type standard table ot ty_upload,
wa_itab type ty_itab,
wa_upload type ty_upload.
use gui_upload.get the data in it_upload.
here you know that u have first 16 charcters makes a first row n then next 16 charcters next row
Loop at it_upload into wa_upload.
v_len = strlen ( wa_upload ).
v_len = v_len / 16.
You get number of rows per record ,if it is decimal value make it final value if 3.9 make to 4.
do v_len times.
wa_itab = wa_upload.
By this only first 16 characters are moved and respective fields will get a value.or else u can use offset
wa_upload+0(16).
append wa_itab to it_itab.
Now shift 16 characters using shift command in wa_upload.
enddo.
endloop.
Hope this syntax help you to resolve your issue.May be something i have missed .Right now i don't have sap system to send you the full correct syntax code.
Cheers
Joginder -
How to convert the flat file data into sap tables . ?
how to upload flat file data into sap table . before upload mapping is also there in some filds . any one can give me some steps how to upload and mapping . ?
Hi
See the sample code
REPORT zmmupload.
Internal Table for Upload Data
DATA: i_mara like MARA occurs 0 with header line
PARAMETERS: p_file LIKE ibipparms-path. " Filename
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Upload the File into internal Table
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = i_mara
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Upload the Data from Internal Table
MODIFY MARA from TABLE i_MARA.
Regards
Anji. -
Load of hierarchies from R/3 via flat file: how to generate the flat file?
Hello,
I need to build a custom extractor for a hierarchy. The hierarchy exists in R/3, but there's no standard datasource to extract it. I know I can upload it via flat file, but I have a question related to this.
Does anyone know if there's a program (standard or custom by SAP) or function module in R/3 which allows me to generate that flat file, with the required format by BW?
I would appreciate very much any help about this topic
Thanks in advanceIn CO-PA there is a way to generate Hierarchy Extractors (see Note 422175 for more details). With a Custom Program you generate a specific DataSource.
Hope it helps
GFV -
HOW TO SAVE THE FLAT FILE.
Hi Exports,
Flat file comes to our Internal table.then i build our logic.After that i wann to save this flat file is some location(may be in presentation/ application server).that to file name along with date,time and location.agin i run the pgm and save same location and file name is also same.
here iam giving file format.
emp no file name location.
1 XXX h:\kkk.txt
2
3
4
5
again i am running same pgm
emp no file name location.
6 XXX h:\kkk.txt
7
8
9
10
file name and location same but diff emp no.
Regards,
Krishna.Hi Krishna Kumar,
if u wnat to download in to presentation server..
then use GUI_DOWNLOAD.
if u want to save in application server (in AL11) then u need to use
open data set...
DATA : dl_string(250). " String
*--Open data set
OPEN DATASET dg_filename FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc <> 0.
dg_subrc = sy-subrc.
ELSE.
*--Transfer data
DO.
READ DATASET dg_filename INTO dl_string.
IF sy-subrc = 0.
APPEND dl_string TO dt_data.
CLEAR dl_string.
ELSE.
EXIT.
ENDIF.
ENDDO.
*--Close data set
CLOSE DATASET dg_filename.
ENDIF. -
LSMW - How to view the flat file on App Server
Hi All,
I'm trying to take a look at BC420_DOC_1_HEAD_POS.LEG which is the file for LSMW training BC420. However, this file is stored on the application (NT) server to which I have no access. Can I browse this file using R/3 utilities?
I just want to see what a flat file for the training course looks like.
Thanks so much!
RomanHi Roman,
In general, the users will not have access to the directories on the application server directly at the OS level. You will have to go through an SAP program / transaction.
Look at the transaction AL11. If the file that you are talking about resided in any of the directories listed in there you will be able to navigate to it.
Regards,
Anand Mandalika. -
Problem Experts OWB 10gR2 - Mapping with OMB - Give a name to the flat file
I'm trying to create a mapping in OWB by using the Experts (OMB),
where the data source is a database table and the target is a flat file (to transform a table to a flat file).
The tasks of my Experts :
This task create a mapping, and add a existing table on it.
OMBCC '$thepath'
catch {OMBDROP MAPPING 'M1'}
OMBCREATE MAPPING 'M1'
OMBALTER MAPPING 'M1' \
ADD $INITIAL_LAUNCH_CONTEXT_TYPE OPERATOR '$thetable' \
BOUND TO $INITIAL_LAUNCH_CONTEXT_TYPE \ '$INITIAL_LAUNCH_CONTEXT' \
This task change the context and create a flat file
OMBCC '/PRJ_LABO_PHARMA/SRC_FILE'
catch {OMBDROP FLAT_FILE 'NEW_FILE'}
OMBCREATE FLAT_FILE 'NEW_FILE' \
SET PROPERTIES (DATA_FILE_NAME) VALUES('fichier_genere.txt')
This task add the flat file to the mapping, and create a connection between the source (table) and the target (flat file)
OMBCC '/PRJ_LABO_PHARMA/MOD_SRC_LABO'
OMBALTER MAPPING 'M1' \
ADD FLAT_FILE OPERATOR 'NEW_FILE'\
BOUND TO FLAT_FILE '/PRJ_LABO_PHARMA/SRC_FILE/NEW_FILE' \
OMBALTER MAPPING 'M1' \
ADD CONNECTION FROM GROUP 'INOUTGRP1' OF OPERATOR '$thetable' \
TO GROUP 'NEW_FILE' OF OPERATOR 'NEW_FILE' COPY ALL
This task update the flat file structure
OMBRECONCILE MAPPING 'M1' OPERATOR 'NEW_FILE' \
TO FLAT_FILE '/PRJ_LABO_PHARMA/SRC_FILE/NEW_FILE' \
USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_ID')
Then I have a task which execute this mapping.
Everything is good, but during the execution I have a error VLD-2357 : The target file's name is not indicated for the file NEW_FILE.
I don't know how to give a name to the flat file in OMB.
Help me please.
Best regards
SamyJust like if you built this in the UI where you would have to configure the flat file operator and define a target data file name and possibly the location these properties should be set in scripting.
Set the property TARGET_DATA_FILE_NAME to the name of the data file.
Something like....
OMBALTER MAPPING 'M1' \
MODIFY FLAT_FILE OPERATOR 'NEW_FILE' SET PROPERTIES (TARGET_DATA_FILE_NAME) VALUES ('my_datafile.csv')
Cheers
David -
Unable to load the flat file from client work station
Hi,
I am trying load a flat file (.CSV file)from my desktop (Client work station) and getting the following error.
An upload from the client workstation in the background is not possible
Message no. RSM860
Diagnosis
You cannot load data from the client workstation in the background.
Procedure
Transfer your data to the application server and load it from there.
I have recd a .XLS file and then I have converted to .CSV file , which I saved in my desktop and trying to load the same.
Please help me how to go about this?...
Thanks in advance.
Christy.Hi All,
Again, I have tried to load the flat file from clint work station with direct loading..I have got the following errors..
Errors : 1
Record 990: Contents '50,000' from Field /BIC/ZPLQTY_B Not Convertible in Type QUAN -> Long Tex
like this i recd so many errors.
ERROR : 2
Error in an arithmetic operation in record 259
Please help me how to load the flat file successfully.
If I hv to save the flat file in Appl server..how to do that..Please provide step by step instruction..
Thanks
Christy -
How to configure the jdeveloper 11 with .dbc files?
hi, all
i am a new bie here. 4 jdeveloper 10, i can configure the .dbc files at project setting, while 4 jdeveloper 11, it's totally different. i can't find any place to configure it. How to configure the .dbc in jdeveloper 11?
Regards,
ChelseaYou cant use jdev 11g for OAF development..
You need to download the jdeveloper patch from metalink to develope OAF objects.
Refer this metalink note to find the correct version of jdeveloper that you need to download https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=416708.1
--Prasanna
Maybe you are looking for
-
i have ttry to change the finder icon in the system folder after the finder stop to work i still have the original icon but i canat put it back becouse the finder not working
-
Sort order column with a between filter
Hi all, [using OBI-EE version 10.1.3.3.1] I've got a column 'BLOCK_ROW' which contains values A,B,C....AA,AB,AC...BA,BB...FK,FL Alphabetically this orders A,AA,AB.... which is incorrect. The order should be A,B,C... To be able to sort correctly we ad
-
Hi Gurus, We are procuring same material from two different vendors for two different plants with same manufacturer. Internal material number is assigned with manufacturer part profile and manufacturer part no in the material master. I have created
-
How to render Tree in JSPDynpage
Hi All, I am trying to display a HTMLB tree in JSPDynpage Project. I build the tree in Dynpage and passing it to the JSP via a bean. In the Jsp I could get all the valies including the tree from the bean. but when I set the tree to a Gridlayout's Cel
-
Folder Structure for portlet & configure in WL 8.1
Hi , <b>Any one help me how to configure the portlet in WebLogic 8.1 and the Folder structure of the Portlet application. What jar file we need to provide for portlet where we download.I am not installed portlet server.</b> thx & rgds, K.Samraj