How can we Export a Flat file
Hi Expertise
my problem is how can export a flat file to any 3rd party system ( the file may be imported or created in console ).....My problem is in Syndicator Manager how can we map the source and destination..from where we get this destination format
thanku
yuga
Hi Yugandhar,
Use [Open Hub Service|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5f12a03d-0401-0010-d9a7-a55552cbe9da] to distribute data from BW.
Hope it Helps
Srini
Similar Messages
-
How can I export a plist file from ipad
Does anyone know how can I export a plist file from ipad 3. I have have an app which is crashing and I wish to send the crash file to the developer?
Settings App > General > About > Diagnostics&Usage > Diagnostics&Usage Data. You will need to copy the content and post it into another file or the email.
-
How can we load a flat file with very, very long lines into a table?
Hello:
We have to load a flat file with OWB. The problem is that each of the lines in the file might be up to 30.000 characters long (up to 1.000 units of information in each line, 30 characters long each)
Of course, our mapping should insert these units of information as independent rows in a table (1.000 rows, in our example).
We do not know how to go about it. We usually load flat files using table functions, but we am not sure that they will be able to cope with these huge lines. And how should we pivot those lines? Will the Pivot operator do the trick? Or maybe we should pivot those lines outside the database before loading them?
We are a bit lost. Any suggestion would be appreciated.
Regards
Edited by: [email protected] on Oct 29, 2008 8:43 AM
Edited by: [email protected] on Oct 29, 2008 8:44 AMYes, well, we could define a 1.000 column external table, and then map those 1.000 columns to the Pivot operator… perhaps it would work. But we have been investigating a little bit, and we think that we have found a better solution: there is a unix utility called “fold”. This utility can split our 30.000 character lines in 1.000 lines, 30 characters long each: just what we needed. Then we can load the resulting file using an external table.
We think this is a much better solution that handling 1.000 columns in the external table and in the Pivot operator.
Thanks for your help.
Regards
Edited by: [email protected] on Oct 29, 2008 10:35 AM -
How can I load a flat file into a ZTABLE dynamically
I need to create a program which can Load a ZTABLE from a flat file structure (delimited and fixed options required). We have many ZTables where this will be required so I was hoping to do it dynamically somehow. Otherwise I will have to create one ABAP for every ZTable we have to load.
My Inputs should be
PARAMETERS: p_ztable TYPE ddobjname, "Z Table Name
p_infile(132) LOWER CASE, "File Name
p_delim(1). "Delimiter
I know that I can read the file by using gui_upload
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = c_infile
has_field_separator = p_delim
TABLES
data_tab = indata
EXCEPTIONS
file_open_error = 1
file_read_error = 2
OTHERS = 9.
I know that I can split the contents of this file (if a delimiter is used). However I will not know the actual field names of the table until runtime as to what to fields to split it into. In the example below I have the actual table (t_rec) and each of the fields (pernr, lgart, etc) in the code but each table I
need to load will be different – it will have a different # of fields as well.
FORM read_data_pc.
LOOP AT indata.
PERFORM splitdata USING indata.
APPEND t_rec.
CLEAR t_rec.
ENDLOOP.
ENDFORM.
FORM splitdata USING p_infile.
SPLIT p_infile AT p_delim INTO
t_rec-pernr "Employee #
t_rec-lgart "Wage Type
t_rec-begda "Effective date
t_rec-endda. "End date
ENDFORM.
Once I split the data into the fields then I can just look and insert the record.
Does anyone have any ideas? Specific code examples would be great if you do. Thx!!Hi janice,,
Try this sample code where you can upload data from a flat file into the internal table.
REPORT z_test.
TABLES: mara.
FIELD-SYMBOLS : <fs> .
DATA : fldname(50) TYPE c.
DATA : col TYPE i.
DATA : cmp LIKE TABLE OF rstrucinfo WITH HEADER LINE.
DATA: progname LIKE sy-repid,
dynnum LIKE sy-dynnr.
DATA itab TYPE TABLE OF alsmex_tabline WITH HEADER LINE.
DATA: BEGIN OF ZUPLOAD1_T OCCURS 0 ,
matnr like mara-matnr,
ersda like mara-ersda,
ernam like mara-ernam,
laeda like mara-laeda,
END OF ZUPLOAD1_T.
*DATA: ZUPLOAD1_T LIKE mara OCCURS 0 WITH HEADER LINE.
DATA: wa_data LIKE TABLE OF ZUPLOAD1_T WITH HEADER LINE.
selection-screen
SELECTION-SCREEN: BEGIN OF BLOCK blk WITH FRAME TITLE text-001.SELECTION-SCREEN : SKIP 1. PARAMETERS : p_file LIKE rlgrap-filename.SELECTION-SCREEN : SKIP 1.SELECTION-SCREEN : END OF BLOCK blk
. AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
F4 Value for File
CALL FUNCTION 'KD_GET_FILENAME_ON_F4' EXPORTING
PROGRAM_NAME = SYST-REPID
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
static = 'X'
MASK = ' '
CHANGING file_name = p_file EXCEPTIONS mask_too_long = 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.
ENDIF.
START-OF-SELECTION.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING filename = P_FILE
i_begin_col = 1
i_begin_row = 1
i_end_col = 5
i_end_row = 12507
tables
intern = ITAB
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3. .
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'GET_COMPONENT_LIST'
EXPORTING
program = SY-REPID
fieldname = 'ZMARA'
tables
components = CMP.
LOOP AT itab. AT NEW row.
IF sy-tabix = 1. APPEND ZUPLOAD1_T.
ENDIF.
ENDAT.
col = itab-col.
READ TABLE cmp INDEX col.
CONCATENATE 'ZUPLOAD1_T-' cmp-compname INTO fldname.
ASSIGN (fldname) TO <fs>.
<fs> = itab-COL.
APPEND ZUPLOAD1_T. ENDLOOP.
DELETE ZUPLOAD1_T where matnr eq space.
LOOP AT ZUPLOAD1_T INTO wa_data.
insert mara from wa_data .
WRITE: / ZUPLOAD1_T-matnr, 20 ZUPLOAD1_T-ersda , 45 ZUPLOAD1_T-ernam, 55 ZUPLOAD1_T-laeda.
*HERE IAM JUST CHECKING I NEED TO UPDATE A ZTABLE
ENDLOOP.
insert ZMARA FROM table itab ACCEPTING DUPLICATE KEYS.
I have tried it for mara.Please let me know whether it was helful.
Regards,
Kannan -
How can I export a .folio file?
This is kind of dumb but I cannot find how to export a .folio file. There's nothing on the web about how to use the desktop tools for that. Help please.
Hi Bob,
It depends what you are trying to achieve.
From what I understand you share a folio in order for another person to view the app using Adobe Content Viewer on an iPad. However, you export a .folio file if you want to send this to people and view it using Adobe Content Viewer on a desktop (PC or Mac).
This example instructs you to download Adobe Content Viewer for desktop and download a single .folio file to view the mag on desktop
http://www.e3zine.com/desktopviewer.html
We are trying to create a version that Advertisers can view on all platforms. What we have done is created a delegate account and from the folio builder panel, we have shared the specific folio with that delegate and emailed the login credentials to certain advertisers. This allows them to view it using Content viewer on an iPad.
Now I am trying to export the .folio file in order to send this out to specific people to view using Content Viewer on desktop. In the example above there is a single .folio file but when I use the export function within the Publishing Suite it exports a zip file which contains all articles as individual .folio files. Is there any way of exporting this folio as one single .folio file?
Thanks
Dean -
How can I load a flat file using a different Work Station
Hi Gurus,
I'm having problems with loading Flat file in our Production Server when it comes to loading a file from another work station. The scenario is all the Info Packages needed are created in oour Dev Server. So the location of the flatfile is already define which is the developer's workstation. Now when the package is transported to the production server any changes to the package is not allowed inlcuding the location of the flatfile needed to be uploaded. Now my question is. is there a way that the location be changed in the production server without adding the package Z_BI because that will mean we can do changes in the production server. Thanks in Advance
- KitDirectly you can not change the info package settings. You need do change the status of Info package to changeable mode and then do necessary changes.
RSA1 => Click on truck symbol (Object changeability) => select info package => right click => click on Switch changeability.
Now do the changes to your Info Package.
With Regards,
Kishore. -
How can I Export the Image file into Oracle Table
<tt>
Hi Folks,
I have one requirement with me, but i can't able to find the solution for that, so kindly any one give a suggestion for my requirement.
Let me explain my requirement in detail.. I have one table called SIGN this table contain customer signature image as well as the image of the customer. The SIGN have the following columns
</tt>
CREATE TABLE SIGN
ID VARCHAR2(50 BYTE) NOT NULL, "This column containing the Customer ID"
IMAGE_C_FLAG CHAR(1 BYTE) NOT NULL, "This column containing the whether ID belong to Signature or Photo"
IMAGE BLOB, NOT NULL, "This Column Containing the Image "
ENTERED_C_BY VARCHAR2(10 BYTE)
The SIGN having the following values
ID C I IMAGE
23900033 Y S (BLOB)
23900034 Y S (BLOB)
23900035 Y S (BLOB)
23900036 Y S (BLOB)
23900042 Y S (BLOB)<tt>
I want to export those Image from Table into my machine local folder with the extension of .JPEG(C:\IMAGE)
How can i do that in oracle... please kindly any one give the solution for this..
This is my Oracle server version
BANNER
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
PL/SQL Release 10.1.0.2.0 - Production
CORE 10.1.0.2.0 Production
TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
NLSRTL Version 10.1.0.2.0 - Production
Thanks in Advance
Arun
</tt>Hi Arun,
Please view the below links. Hope these helps you as there are also of similar discussion.
Insert Picture (image) using oracle forms
Insert Picture (image) using oracle forms
insert image to atable in forms builder
Re: insert image to atable in forms builder
Thanks,
Balaji K. -
How can i export Apple ProRes files from AME CC running on Windows?
Hi the titles says it all really - i can't find any apple prores settings in Adobe Media Encoder CC and i need to export to this format. I thought that Adobe Premier Pro CC handled these files natively - is that niot the case?
Any advice
Thanks
FabioYes, you can import and edit ProRes media on Windows or Mac OS.
You can only export to ProRes on Mac OS. -
How Can I export a h264 file with wav audio?
I'm having troubles to export an edited file in FCPX.
The final result in audio always go in AAC file and the quality is bad. Is it possible to go in Wav?Hi Tom!
That's what I do... but the sound goes in a AAC and this format it's worst than wav files!
I think ther's no option to do this in FCPX! -
I'm in the URGENT need of exporting a file to .PLT and no using any other software like the producer's software.
You can't. AI doesn't produce .PLT files.
-
How can I export a pages file to a .doc and retain the formatting?
Every time i have tried the export and save as a copy features the formatting gets screwed up and leaves me with strange page margins and all my spacing is off. I have to submit a double spaced document with 1" page margins. I have tried the double space feature in pages and using a single space format and then physically putting a space in between lines. Either way i end up with a single spaced paper with an extra long and wide page on the .doc save/export. Any tips on how to retain the formatting between pages and word?
Dylan
I have emailed back the fixed file and Word Export.
You had a return after every single line. That is not necessary, it is a Word Processor and will wrap text as needed. Just hit return for the ends of paragraphs.
You also had extra returns in the Header, I was unsure of what you wanted there so made it double spaced like the rest.
There is an excellent book "The Mac is not a Typewriter" by Robin Williams, not sure if it is still in print but it is a good read.
Peter -
I want to get data from power point,read it page by page and show data as picture ( jpeg type)
anyone know how to do,Please discuss in this topic.
I'm really need your help so much.
and if need active X,What is dll file for it ? and How to get dll file exam.vb6runtime , dotnetfix ?
Thank you Sr.There is no tool for this already in the world? (getting the jpgs)
my try would be:
digg in the MS KBs about command line options of PP
start PP with the (system) execute vi , full screen presentation (automatic show with known delay??)
use the (system) send key vi to step through the presentation (if no auto mode is possible)
use the screen shot function to cature the screen and search this forum on how to save it as a jpg (or png? )
Greetings from Germany
Henrik
LV since v3.1
“ground” is a convenient fantasy
'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ' -
How can I export layered TIFF files for viewing in Preview?
Being an architectural photographer I create a lot of layered files with many exposures with different lights on and daylight separately. I always save my layered files in a folder called Layered files in the project. I also save flattened 8 bit Tif's at full resolution for my client as a print file in a separate folder along with another folder for web and device optimized files. When my client opens some of my flattened files they tell me the only see one layer. When I open some of them in Preview I get the same result. I only see the last layer I put into my layered file. But when I open the same photo in Bridge I see the full flattened file as I saved it. What can I do about that?
SherwoodAh, yes. On the images that did what I described there was a layer mask in the channels drop down that showed only what was shown in the view. I trashed it and all was well.
Thanks for you help,
Sherwood -
How to load a long flat file field into BW
Hi all,
I have a field from flat file with 256 characters to be loaded into BW. As we all know the max length an info object can take is only 60. How can I split the flat file field so that I can load that data into BW and how can I then concatenate them in the BEx.
Can anyone suggest a way?
Thanks in advance.
VinayHi Vinay,
we already had this discussion in this forum. In short:
1. create a number range object
2. create a table with a number field a key and a text field
3. while loading the data check your text against the table. If the text already exist, get the number out of the table. If the text doesn't exist, get a new number out of your number range object and post this number + the text into your table.
4. in your loaded data always work with the number you assigned to the text
5. create a infoobject for the number-field
6. create a variable that takes it's value out of the table.
regards
Siggi -
How can i export a 24bit avi file from photoshop for mac?
how can i export a 24bit avi file from photoshop for mac? i have a client that specificly needs the files to be avi and in 24bit what are the settings that i need to use to export the video using photoshop on a mac?
Hello,
To make a 24-bit AVI file in Photoshop, go to File>Export>Render Video. Then, under File Options, choose AVI from the Quicktime Export drop-down menu. Click the Settings button. Click the Settings button in the AVI Settings window. Change Compression to None, and then choose "Millions of Colors" from the Depth drop-down under Compression.
The Millions of Colors option is for 24-bit video (8-bit R+G+B channels, 8x3=24). Millions of Colors+ is for 32-bit video (24-bit video plus an 8-bit alpha channel).
-Brett
Maybe you are looking for
-
WebLogic 9.2: Oracle: Can longer connect with a Good Data Source
Hi; I have WebLogic 9.2 set up on my computer as a development tool. Yesterday I was able to connect to the test database on our test server with the JNDI/Database resource "abc" just fine. For some reason, it simply stopped working this morning. I g
-
How to email a pdf file (attachment with password) using ABAP?
Hi Colleagues, I n abap, how do you email a pdf file that contains password? (pdf with password, not the whole email). A custom program is created. Inside this program, it retrieves the spool number and converts it to a pdf file (using function modul
-
Share point website veiw in Safri 8.0
Hi All, My site is developed in Microsoft Share point and it works well in Internet explorer and any browser even in safari when i use in windows. but when i access the site in safari with IOS 8.0 in iphone or IPAD, some of my pages doesn't look th
-
Putting variable in regexp_substr pattern returns nothing
I'm trying to create a function to simply extract positioned text from a string, ie I want the text in position two from string X with a pattern of ' - '. I want to create a function so it is simpler for the developers but regexp_substr doesn't seem
-
I get an error each time I attempt to download and install updates
Every CS5 Updates available errors out of download...it says to please try again later