Issue in How-To document "Load flat file using SAPGUI"?
Hi,
I'm having an issue with following lines in the How-To document.
I've a characteristic "CHAR1" which is restricted with multuple values in the planning level.
after the upload using this document, CHAR1 is being loaded incorrect & during my debugging I've noticed that program is changing CHAR1 values while executing following lines of code.
It works fine, if i don't have a restriction for CHAR1 at planning level.
It also works fine, if i restricted CHAR1 with a single value in level.
It's not working as expected, if i restrict CHAR1 with multiple single values.
incase of multiple single values restriction, following is happening.
let's say i load following file & i restricted CHAR1 with values "aaaaa,fffff" in level.
CHAR1 CHAR2 value
aaaaa bbbbb 1000
fffff eeeee 2000
it's being loaded as follows. Program is changing all values of CHAR1 with 1st value of the restricted multiple values and in this case, it is "aaaaa".
CHAR1 CHAR2 value
aaaaa bbbbb 1000
aaaaa eeeee 2000
Has any one encountered the same problem?
Marc,
Could you please comment on this.
>>> INSERT
Set fixed fields
LOOP AT ito_chasel INTO ls_chasel.
READ TABLE ls_chasel-t_charng INTO ls_charng INDEX 1.
IF sy-subrc = 0 AND ls_charng-option = 'EQ'.
ASSIGN COMPONENT ls_chasel-chanm OF STRUCTURE ls_data-s_chas TO <f>.
IF sy-subrc = 0.
<f> = ls_charng-low.
ENDIF.
ENDIF.
ENDLOOP.
<<< INSERT
Appreciate any help.
Hari Immadi
http://immadi.com
SEM BW Analyst
Marc,
I still need to keep the lines of coding as I've few characteristics restrictied to single values & one characteristic restricted to multiple single values.
when the coding is commented out, single value restricted characteristics are not getting populated with any value.
I'm counting the table entries "ls_chasel-t_charng" and if entries are 1, then am activating the code. this seems to be working fine. Do you see any problems/issues with this?
Hari Immadi
http://immadi.com
SEM BW Analyst
Similar Messages
-
Issue in calling webdynpro for loading flat file in IP
Hello,
We have implemented the How-To load flat files in IP paper and we are facing an issue in that. The generated webdynpro runs on ABAP Application server but we need to call this from a Web template which runs on portal server.
These two servers are different and we don't want to hardcode the url in webtemplate as the server names will change in Q & P for webdynpro. Can anyone advise how we can read the ABAP Application server details in WAD may be using javascript and then generate the URL for webdynpro dynamically.
Regards,
DeeptiHi Deepti,
We have also facing the same challenge. Could you please post the solution in which URL path change dynamically.
I have created the ABAP function module based on the below link.
http://wiki.sdn.sap.com/wiki/display/Snippets/BICustomWebItemtoLaunchanABAPWeb+Dynpro
But not sure how to call the function module using custom web item & java script. Coould you please explain the steps on the same ?
Thanks,
Gopi R -
How to Create a Flat File using FTP/File Adapter
Can any body done workaround on creating the Flat file using FTP/File Adapter?.
I need to create a simple FlatFile either using of delimiter/Fixed length. using the above said adapters we can create XML file, i tried concatinating all the values into a single String and writing into a file, but it does not have proper structure
Can any body help me out on this..
Thanks
RamYou can create a text schema while creating a File Adapter. If schema is specified for File Adapter, it takes care of converting XML into fixed length or delimited format.
Thanks,
-Ng. -
How to load flat file using IP
Hi Experts,
I know that we can use planning function exit in BW-BPS to load the data from flat file(and there is a how to document).
But in IP what is process to load the flat file.becoz when i see into my planning function,type exit is not available.
Any idea./people/marc.bernard/blog/2007/11/25/how-to-load-a-file-into-sap-netweaver-bi-integrated-planning-part-1
/people/marc.bernard/blog/2007/11/25/how-to-load-a-file-into-sap-netweaver-bi-integrated-planning-part-2
hope this helps. -
Urgent: Problem to load Flat file using DTP.
Hi Experts,
I try to load a flat file PSA->DSO->INFOCUBE using DTP.
I my flatfile in the application server in csv format.
in the My data source I opted Adapter as Load Text -Type file from Application Server.
Data Format : I test with both the potions : Fixed length & Separated with Separator( For example CSV) .
If I check the preview: I cant find any data and get the message: Inbound processing of data package 000001 finished
when I try to Load the data thorough PC the load was successfull but only 0 records are transfered and added to PSA:; DSO and Info Cube.
The test file contains around 20 records.
Any suggestions please.
Thanks & RegardsHi Sailekha..
in the My data source I opted Adapter as Load Text -Type file from Application Server.
Data Format : I test with both the potions : Fixed length & Separated with Separator( For example CSV) .
Note: As per ur info:
In the Flat file Data source :
1. You have to maintain the Adapter as:
Load Text -Type file from Application Server
Data Format : Separated with Separator
Then Use the "Proposal" Tab to generate the field proposals.
(Only in BI 7.0 this option is available).
After that check the Preview in "Preview" Tab.
Hope it works...
Cheers,...
Varma -
How to load flat file in BPS through Web-debugging
Hi,
We are working on flat file upload in BPS thru guide 'How to load flat file in BPS through Web'. Can some one guide on how to debug the function modules used while uploading the data.
We have set up the break point in the function modules and also in the BSP page. But when trying to debug while uploading, it is not going to the break point which was set.
Could you assist in setting up the break point.
Regards,
Sreenath
Message was edited by:
sreenath reddyHi,
I have put an external break-point.
I have hard coded it in the coding of the function module itself.
The code is perfectly working. But, when I want to check for the values of the variables in the F.M during runtime, the break-point is not triggering. Any ideas??
Regards, -
Uregnt - How to Load Flat File into BW-BPS using Web Browser
Hello,
We have followed the 'How to Load Flat File into BW-BPS using Web Browser' guide to build BSP web front-end to upload flat file. Everything works great but we have a requirement to populate the Planning Area Variables based on BSP drop down list with values. Does anyone know how to do this? We have the BSP coded with drop down list all we need to do now is populate variables. We can populate the variables through the planning level (hardcoded) but we need to populate them through the web interface.
Thanks,
GaryHello Gary,
We have acheived the desired result by not too a clean method but it works for us.
What we have done is, we have the link to load file in a page where the variables can be input. The user would then have the option to choose the link to load a file for the layout in that page.
By entering the variable values in the page, we are able to read the variables for the file input directly in the load program.
Maybe this approach might help.
Sunil -
How to load flat file into BW BPS
hi,
how to load flat file into BW BPS ?Have a read through this;
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20load%20a%20flat%20file%20into%20bw-bps%20using%20a%20web%20browser.pdf -
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. -
Loading flat files located on a server using the Control Center piece ofOWB
Loading flat files from a server with OWB
I am successful loading files with OWB, as long as they resided on my workstation in the C:\ drive. I copied the files to a Linux server into directories owned by Oracle/oinstall, permissions on the directories containing the files are 777. I ran the OWB client from the server with the following results:
Error
RPE-01013: SQL Loader reported error condition, number 1.
SQL*Loader: Release 10.2.0.1.0 - Production on Fri Mar 9 11:15:58 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL*Loader-500: Unable to open file (/u00/data/owb_repos1/state_codes.csv)
SQL*Loader-553: file not found
SQL*Loader-509: System error: The system cannot find the file specified.
SQL*Loader: Release 10.2.0.1.0 - Production on Fri Mar 9 11:15:58 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL*Loader-500: Unable to open file (/u00/data/owb_repos1/state_codes.csv)
SQL*Loader-553: file not found
SQL*Loader-509: System error: The system cannot find the file specified.
I tried to load the file using the control center from both the windows client and the server client. Can I do this from either one?
I can't import the file in the Design Center from the /u00/data/owb_repos1 directory, it does not show up.
If anyone has received similiar errors from OWB, please tell me how I can fix this. THANKS!!!
[d97886@owbtest owb_repos1]$ pwd
/u00/data/owb_repos1
[d97886@owbtest owb_repos1]$ ls -la
total 24
drwxrwxrwx 2 oracle oinstall 4096 Mar 19 12:14 .
drwxrwxrwx 18 oracle oinstall 4096 Mar 6 16:41 ..
-rwxrwxrwx 1 oracle garrett 1481 Mar 8 07:32 state_codes.csv
[d97886@owbtest owb_repos1]$Hi
This is what i do for my flat files (i am loading my tables from the flat files):
1) Create location for the files in OWB and it should look something like \\path_to_where_the_files_are. Here you should be able to browse to your Linux box and select the location of the files.
2) Then check whatever you use (i use TOAD) and you should see in owb schema a directory created there which points to the location of the flat file.
3) then just follow the guide to sample the files etc and you are good to go.
Basically OWB has to be able to see the files that are on Linux machine.
Alternatively you can map your Linux share to your windows box (use samba or something) and use it that way.
Sorry if it is stating the obvious.
Hope this helps
Kind Regards
Vix -
Getting error while loading Flat File
Hello All,
I am getting error while loading flat file. Flat file is a CSV file.
Value ',,,,,,,,' of characteristic 0DATE is not a number with 000008 spaces
Data seprator |
Escape sign ;
It has 23708 entries , it s loading successfully till 23 665 entries
Besides when checked in PSA
for record having entries >23667 has calender day as ,,,,,, where as rest entries are having date
Besides when i checked in Flat file ,the total number of rows is 23,667 is there but i wonder why it has got 23,708 in
RSMO
Could you please let me know how to correct.
regards
pathHi,
For date column you should maintain YYYYMMDD formate Eg: 20090601, kepp cursor on date column and right click and Formate >Custome>make it 00000000 then save teh file as .CSV . First type values on column and do like this formate and save it and without opening it load it. Once you open it you losw 00000000 formate you need to give again the same formate.
Settings in Infopackage:
Data Format = CSV
Data Separator = ,
Escape Sign = ;
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/01ed2fe3811a77e10000000a422035/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a6567e07211d2acb80000e829fbfe/content.htm
Thanks
Reddy -
Loading Flat file in SQL Navigator
Hi, I am using SQL Navigator 5.5 Standard Edition. Please tell how to load a flat file using this tool.
Edited by: user637544 on 24-Jun-2009 01:14So?
Toad : Not an Oracle product, but a Quest product
Sql Navigator: Not an Oracle product, but a Quest product
You should ask your questions in a vendor-related forum.
This is an Oracle forum. This is not a Quest forum.
Sybrand Bakker
Senior Oracle DBA -
Hi Experts,
Need to load flat file which has month in the columnwise, how to do it.
Example
Companycode -- customer--- sales plan for jan sales plan for feb- sales plan for march.
1000 101 100 150
1000 102 200
need data to be loaded for doing planning in SAP BI..dnt suggest for BPS or IP.
Guide me how to load this data to DSO or CUBE.
I want the data has
COmpanycode-customer-fiscalperiod---planned sales quantity
1000 101 001 100
1000 101 002 150
1000 102 001 200
Above is just a sample.
Thanks,
AnandHi Araj,
you can do this 2ways.......
1. Try to create your provider with keyfigure modal(create key figure for period1, kyf period2, ......) & load it.
2. Changes your flatfile to char modal(here you will have one kyf) .
hope this will help you.
Thanks,
vijay. -
How to extract data from Essbase to Flat File using ODI
Hi,
Anyone know how to extract data from Essbase to Flat File using ODI?
Thanks in advance.
Regards,
SumardiHi,
Have you read through :-
Oracle Data Integrator Adapter for Hyperion Essbase Getting Started - http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/odiess_getting_started.pdf
Oracle Data Integrator Adapter for Hyperion Essbase User's Guide - http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/odiess_users.pdf
If you have read them and are still have a problem at what stage are you having the issues?
Cheers
John
http://john-goodwin.blogspot.com/ -
How to upload a Flat file into sap database if the file is in Appl'n Server
Hello Sap Experts , Can you tel me
" How to upload a Flat file into sap database if the file is in Application Server.
what is Path for that ?
Plz Tel Me its Urgent
Thanks for allHi,
ABAP code for uploading a TAB delimited file into an internal table. See code below for structures.
*& Report ZUPLOADTAB *
*& Example of Uploading tab delimited file *
REPORT zuploadtab .
PARAMETERS: p_infile LIKE rlgrap-filename
OBLIGATORY DEFAULT '/usr/sap/'..
DATA: ld_file LIKE rlgrap-filename.
*Internal tabe to store upload data
TYPES: BEGIN OF t_record,
name1 like pa0002-VORNA,
name2 like pa0002-name2,
age type i,
END OF t_record.
DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
wa_record TYPE t_record.
*Text version of data table
TYPES: begin of t_uploadtxt,
name1(10) type c,
name2(15) type c,
age(5) type c,
end of t_uploadtxt.
DATA: wa_uploadtxt TYPE t_uploadtxt.
*String value to data in initially.
DATA: wa_string(255) type c.
constants: con_tab TYPE x VALUE '09'.
*If you have Unicode check active in program attributes then you will
*need to declare constants as follows:
*class cl_abap_char_utilities definition load.
*constants:
* con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
*START-OF-SELECTION
START-OF-SELECTION.
ld_file = p_infile.
OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
ELSE.
DO.
CLEAR: wa_string, wa_uploadtxt.
READ DATASET ld_file INTO wa_string.
IF sy-subrc NE 0.
EXIT.
ELSE.
SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
wa_uploadtxt-name2
wa_uploadtxt-age.
MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
APPEND wa_upload TO it_record.
ENDIF.
ENDDO.
CLOSE DATASET ld_file.
ENDIF.
*END-OF-SELECTION
END-OF-SELECTION.
*!! Text data is now contained within the internal table IT_RECORD
* Display report data for illustration purposes
loop at it_record into wa_record.
write:/ sy-vline,
(10) wa_record-name1, sy-vline,
(10) wa_record-name2, sy-vline,
(10) wa_record-age, sy-vline.
endloop.
Maybe you are looking for
-
I have question in extracting in ADF 10g. I am working in a project, I am using ADF 10g, I am creating pages. One of this pages I need to make search by using the Month and the Year. The problem is I have the date in one column such as( Jan 16, 2009)
-
Cannot edit header info. Need help fast!
I have this problem where when I log out it ells me the headers were already sent I have provided a screenshot of the error and am providing all of my code in .php files wich will take 2 posts.
-
Open Multiple Variable Editor in VI
Hi folks, is there any way to open the Multiple Variable Editor programmatically in a VI? ATM i'm migrating a measurement logging system from LabVIEW 7 to LabVIEW 2010 which means i'm mostly rewriting the code for use with shared variables. It would
-
Physical Disk Management for Azure
I'm currently trying to troubleshoot one of my clients Azure environments. I find that the IOPS are significantly slower than my local servers. Is there any information about what kind of physical infrastructure Microsoft is providing for Azure / is
-
For Sale: Optitek ProLock i Mark II FZ to EF
Hi I am selling my Pro Lock i Mark II adapter. I have switched to a Canon CN7 so no longer require the adapter for my EF glass. Very good condition will accept £850.00. See it here: http://www.ebay.co.uk/itm/Optitek-ProLock-i-Mark-II-FZ-to-EF-Le