CSV文件导入到PSA出错,
我的步骤是先建
1.DATASOURCE;
2.填写EXTACTION TAB的信息, 数据格式旋转CSV,数据分割输入代号u201D,u201C
3.在Proposal tab,点击加载数据,可以看到CSV里面的数据;
4,点击Fields Tab,就跳出对话框u201CField list no longer corresponds to default copy changesu201D "yes or no "
5.点击YES,在FIields tab 里面可以看到Field,desciption等信息
6.点击PREVIEW,就出现错误信息,
请大家帮忙分析一下错误原因在那里。
---Runtime error -description of exception;
Runtime errors Data_length_negative
Except. CX_XY_RANGE_OUT_OF_BOUNDS
short text Invailid partial field access :length negative
what happened Errpr in the ABAP application program
The current Abap program "CL_RSAR_PSA==============CP " has to be terminated bacause it has
come across a statement that unfortunately can't be executed.
Error analysis
An exception occured that is explained in detail below.
The exception,which is assigned to calss 'CX_SY_RANGE_OUT_OF_BOUNDS", was not caught in
Procedure "_GET_DDI_STRUCTURE" "METHOD)",nor was it propagated by a raising clause.
since the caller of the produre "method"...........
350761380, 你的帖子是不是发错地方了?
使用的是BOBJ的什么产品?
Similar Messages
-
Loading of flat file (csv) into PSA – no data loaded
Hi BW-gurus,
We have an issue regarding loading a flat file (csv) into PSA using an infopackage u2013 (BI 7.0)
The infopackage has been used for a while. Prior the consultants with SAP_ALL-profile have run the infopackage. Now we want a few super users to run the infopackage.
We have created a role for the super users, including authorization objects:
Data Warehousing objects: S_RS_ADMWB
Activity: 03, 16, 23, 63, 66
Data Warehousing Workbench obj: INFOAREA, INFOOBJECT, INFOPACKAG, MONITOR, SOURCESYS, WORKBENCH
Data Warehousing Workbench u2013 datasource (version > BW 3.x): S_RS_DS
Activity: All
Datasource: All
Subobject for New DataSource: All
Sourcesystem: FILE
Data Warehousing Workbench u2013 infosource (flex update): S_RS_ISOUR
Activity: Display, Maintain, Request
Application Component: All
InfoSource: All
InfoSource Subobject: All values
As mentioned, the infopackage in question, has been used by consultants with SAP_ALL-profile for some time, and been working just fine. When the super users with the new role are executing the infopackage, the records are found, but not loaded into PSA. The load seems to be stuck, but no error message occurs. The file we are trying to load contains only 15 records.
Details monitor:
Overall status: Missing messages or warnings (yellow)
Requests (messages): Everything ok (green)
-> Data request arranged (green)
-> Confirmed with: OK (green)
Extraction (messages): Errors occurred (yellow)
-> Data request received (green)
-> Data selection scheduled (green)
-> 15 Records sent (0 Records received) (yellow)
-> Data selection ended (green)
Transfer (IDocs and TRFC): Missing messages (yellow)
Processing (data packet): Warnings received (yellow)
-> Data package 1 (? Records): Missing messages (yellow)
-> Inbound processing (0 records): Missing messages (yellow)
-> Update PSA (0 Records posted): Missing messages (yellow)
-> Processing end: Missing messages (yellow)
Have we forgotten something? Any assistance will be highly appreciated!
Cheers,
Anne Therese S. JohannessenHi,
Try to use the transaction ST01 to trace the authorization of the upload with the SAP_ALL.
And the enhance your Profile for the super user.
Best regards
Matthias -
Random Records are being skipped while uploading data in PSA from CSV File
Hi Experts,
I am facing issue in data uploading in PSA through CSV file, Random Records are being skipped while uploading data in PSA.
First Load
We have flat file (.txt in CSV format), which contains 380240 Records.
We are uploading the flat file data into PSA from Application Server. But it uploads Only 380235 records, 5 Records are being skipped.
Second Load
We have re-generated same file next day, which contains same No of Records (380240), but this time it uploads Only 380233 records, 7 Records are being skipped.
We found 1 skipped record (based on key columns combination, by cross verifying from source and PSA table) from First load. But same records (combination of key column) is available in second load. It means same records are not being skipped every time.
Earlier (5 months ago) , We have loaded 641190 Records from flat file in same PSA and all records (641190) were uploaded successfully.
There is no change is Source, PSA and flat file structure.
Thanks & Regards
BijendraHi Bijendra,
Please check in the file if at the begining if it has got any excape sign then that record may be skipped so the records may be mssing
Please check the excape sign like ; if they are present at the beginign that recor entirely will be skipped.
Regards
vamsi -
Please help me analysis it, Failed when CSV file upload to PSA,
我的步骤是先建
1.DATASOURCE;
2.填写EXTACTION TAB的信息, 数据格式旋转CSV,数据分割输入代号u201D,u201C
3.在Proposal tab,点击加载数据,可以看到CSV里面的数据;
4,点击Fields Tab,就跳出对话框u201CField list no longer corresponds to default copy changesu201D "yes or no "
5.点击YES,在FIields tab 里面可以看到Field,desciption等信息
6.点击PREVIEW,就出现错误信息,
请大家帮忙分析一下错误原因在那里。
---Runtime error -description of exception;
Runtime errors Data_length_negative
Except. CX_XY_RANGE_OUT_OF_BOUNDS
short text Invailid partial field access :length negative
what happened Errpr in the ABAP application program
The current Abap program "CL_RSAR_PSA==============CP " has to be terminated bacause it has
come across a statement that unfortunately can't be executed.
Error analysis
An exception occured that is explained in detail below.
The exception,which is assigned to calss 'CX_SY_RANGE_OUT_OF_BOUNDS", was not caught in
Procedure "_GET_DDI_STRUCTURE" "METHOD)",nor was it propagated by a raising clause.
since the caller of the produre "method"...........只有一行数据也还是报同样的错,
我刚刚开始学,不知道怎么DEBUG,能否简单说一下怎么DEBUG嘛?
谢谢。
----下面是错误信息
Runtime Errors DATA_LENGTH_NEGATIVE
Except. CX_SY_RANGE_OUT_OF_BOUNDS
Date and Time 09/04/2009 21:34:14
Short text
Invalid partial field access: Length negative
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_RSAR_PSA===================CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_RANGE_OUT_OF_BOUNDS', was not
caught in
procedure "_GET_DDIC_STRUCTURE" "(METHOD)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
In the executed program "CL_RSAR_PSA===================CP", the system
attempted to access the field
"ME->P_PSA_TECHNAME" using the length "-3".
However, a partial field access with a negative length specification is
not allowed.
How to correct the error
Use a positive length specification if a part of the field "ME->P_PSA_TECHNAME"
is to be
accessed.
If the error occurred in your own ABAP program or in an SAP
program you modified, try to remove the error.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DATA_LENGTH_NEGATIVE" "CX_SY_RANGE_OUT_OF_BOUNDS"
"CL_RSAR_PSA===================CP" or "CL_RSAR_PSA===================CM00A"
"_GET_DDIC_STRUCTURE"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
The exception must either be prevented, caught within proedure
"_GET_DDIC_STRUCTURE" "(METHOD)", or its possible occurrence must be declared
in the
RAISING clause of the procedure.
To prevent the exception, note the following: -
Not able to EDIT the data in PSA
Hi Experts,
I had created cube and it has following seeting
1) Three dimensions i.e. Employee_No, Employee_name and Time
2) Key figures i.e. Salary and Tax
Procedure What I have followed
=======================
1. Created one CSV file and it contains ten records
2. I created one file interface source system
3. I had created one infosource
4. In the change button of infosource I have included four objects i.e.
Employee_No,Employee_name, Salary and Tax
5. I assigned data source to the above infososurce
6. By creating data package with the selection of PSA and Infoobject parallel in
the processing button I loaded 10 records into the cube
7. Next time I tried to use same infopackage with the selection of Only PSA in
processing button
8. Than I tried to Edit the data, but pop's with warning message "An internal error
occured in maintenance module"
I hope some one reply to this issue.hi,
i think it is becqause u HAVE CHANGED TO only psa option .
also u can create another infopackage and load the data
or else u can edit the data in source system instead in ps.
regards
pls assign popints if helpful. -
Error loading csv file from application server
Hi all,
While uploading a csv file from the application server to psa we are getting the following error,
Error 2 while splitting CSV data record
Message no. RSDS_ACCESS011
Diagnosis
Error 2 occurred while splitting the CSV data record 1
1 = Could not find a closing escape character
2 = Invalid escape character
3 = Conversion error
4 = Other error
System Response
The function was terminated.
Procedure
Check the values of the data separator and escape sign, and try again.
But i've checked the file and the escape sign, data seperator in it also. Everything is fine. The same file we are able to load successfully in quality system.
How to solve this error??
Thanks in advance.Hi BI consultant:
Could you please provide more details?
For example:
1.Is your P application server a UNIX flavor? (Solaris, AIX, UX, Linux)
If yes..
2. Are you able to see the contents of the file correctly with a "cat" or "vi" command? (at operating system level).
If no...
3. Did you upload the csv flat file to the server via FTP?
If yes...
4. Did you use the "binary" or the "ascii" parameter on the FTP command used to upload the file?
Probably you need to upload the CSV file again to your application server and make sure you can se the file contents ("cat" or "vi" command) before trying to execute the InfoPackage.
Regards,
Francisco Milán.
Edited by: Francisco Milan on Jun 3, 2010 11:13 AM -
Loading records from .csv file to SAP table via SAP Program
Hi,
I have a .csv file with 132,869 records and I am trying to load it to an SAP table with a customized SAP program.
After executing the program, only 99,999 records are being loaded into the table.
Is there some setting to define how many records can be loaded into a table? Or what else could be the problem?
Pls advice.
Thanks!!!hi Arun ,
A datasource need a extract structure to fetch data .It is nothing but a temp table to hold data.
First you need to create atable in SE11 with fields coming from CSV file.
Then you need to write a report program to read you CSV file and populate your table in BW .
Then you can create a datasource on top of this table .
After that replicate and load data at PSA and use to upper flow.
Regards,
Jaya Tiwari -
Upload 1gb file from application server to PSA
Hi,
The following is the requirement my client has,
1) there will be a 1gb file on application server
2) pick up the file, and validate if the number of records are equal to number provided in the footer, if they dont match, reject the file
3) then validate the first field, employees number, with a database table
if the employee exisits insert this file in PSA ( BW)
else reject this file and proceed to next file.
this file is a fixed length file, and not a CSV.
can you please provide me with some hint or link or answers.
Thanks
ajayHi,
The following is the requirement my client has,
there will be a 1gb file on application server pick up the file, and validate if the number of records are equal to number provided in the footer, if they dont match, reject the file then validate the first field, employees number,
with a database table if the employee exisits insert this file in PSA (
BW) else reject this file and proceed to next file.
this file is a fixed length file, and not a CSV.
can you please provide me with some hint or link or
answers.
Thanks
ajay
for my above queries, i have an idea but need your help to solve.
i want to read the file on application server ( for example 1st record to 100th record) and store it in the internal table 1, and again i want to read the same file on application server from 101th record to 200th record and store it in the internal table 2. and so on.
can anyone help me to this, what is it that i should code for this?
open data set
read data set (any conditions???)
close dataset.
ill surely award points for all the replies.
thankyou
ajay -
Upload Csv files with infopackages - Error 1
Hello again,
i'm trying to upload csv file into a infopackage with master data text but the sistem sends a error message "Error 1 uploading external data".
Infopackage settings:
source system: PC
file type: data file
csv file
data separator ;
ESC signal "
a created a txt file with data separated with ; and later converted txt file into a csv file.
can anybody help me pls?
Thanks
Silvia MarquesHi Silvia,
If the fields are correct in the transfer structure (only 2 fields). Then check whether the field length and type has been defined correctly for both the fields.
If thats not a problem then try to load only upto PSA.
If you are using IDOC as your transfer method then go to the "details" tab of the monitor of the error request and see the details. It will give you the correct picture of the error.
Bye
Dinesh. -
How to change the calyearmonth data format in psa
Hi all,
my requirement is to load data to dso from csv file it contains 0calmonth characteristic and carparc keyfigure
and i have created a transactional datasource
and when i am loading the data in csv file my data format is 201101 but in psa it is taking 110120
can u tell me how to correct this one.
when i activate the request to active data table it is showing transfered records are 12 and added records are 1 can u tell me how to correct this.
Thanks & Regards,
NaveenHi Naveen,
You don't need to change the original infoobject but you can do this changes in DataSource. In your datasource goto field mapping tab and first of all you can map the date field to 0calmonth and on the same line you will have the option to choose the format.
There you can go for internal format or External format as per requirement at the same time you have the option to provide conversion EXIT name.
Regards,
Durgesh. -
Donot extract from PSA. Access datasource directly (for small amts of data)
Hi Experts,
I am facing issue in DTP screen. I dont see File extraction selection path in DTP screen.
My requirement is to load the csv file directly into DSO. Here I dont use PSA /Infopackage. I want to do this by DTP selection. But in DTP selection I dont see File extraction options.
In DTP screen I dont see Check Box which says " Donot extract from PSA. Access datasource directly (for small amts of data) "
Last week we have upgrade/applied support packs. So I am assuming that is this issue occured due to upgrade activity or it is something other way which iam missing.
Appreciate your early response.
Many thanks for your help.
Regards,
SajiSaji
What is the location of your CSV file? Your Local machine or Application server ?
I believe it has to be application server to have this settings.
If you think this problem got created due to upgrade , you can try to create a FULL DTP for any of the master data/text DataSource and check if the option is coming there. If yes, then upgrade did not create any problem and you are sure this is a settings problem.
Please check this thread....Do not Extract from PSA but Access Data Source (for Small Amounts of Data)
Regards
Anindya
Edited by: Anindya Bose on Mar 10, 2012 10:23 AM
Edited by: Anindya Bose on Mar 10, 2012 10:38 AM
Edited by: Anindya Bose on Mar 10, 2012 10:38 AM -
Problem when uploading CSV File
Hi, i'm testing some changes i made to an infoprovider and something strange is happening to me (as usual) I have a CSV file that is uploaded into BI from my PC and I tested this file with 100 records, later i deleted 98 records so i can test the file with fewer records in order to analyze the formulas in BEx with some very specific data. Now here is the strange part: even though i modified the file and left only 2 record in it, when I run the DTP the system is still uploading 100 records!?! How can that be possible. I checked everything, the datasource and the infopackage are both pointing to the same file (the one which has two records) and there is no other file in the entire hard drive that has 100 records and/or the same name/structure that the file i'm uploading into BI. I just can't figure out why the DTP is uploading more records that I have in the CSV file!?. Any ideas??
Another thing: I'm having problem with 0calmonth, tried everything. I put the calmonth in the CSV file in both formats MMYYYY (092010) and YYYYMM (202009) but I still get error when running the DTP. I have activated/deactivated the conversion routine in the transformation and in the datasource, I change the field length in datasource and tried any possible combination of these changes and I still can't make it work. I searched here and read all the post related to this issue but i still can't figure out how to properly upload information into 0calmonth.
Regards, Mauropls check the data in PSA.... you may be loading only 2 records..
Also possible that the DTP is set to load FULL data.... so its loading the entire data from PSA (old + new)
the calmonth format should be YYYYMM... what is the error message u r getting... you can always check the PSA and see whats the format coming there -
System only loading the first column from csv
Trying to load data from Excel saved as csv, but the preview and PSA shows data loaded only for the first column from the csv file. All other columns are not loaded from the csv. Changed the lengths of the fields from the datasource to match the ones in the csv to 8, but it only seems to load the first column. What could be the cause?
Hi
Check the file format once and general tab in Data source(make sour you selected comma separated file and symbol)
check below link
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/01ed2fe3811a77e10000000a422035/frameset.htm
Regards,
Venkatesh -
Hello,
I am loading data from Application Server folder to PSA. I am getting few errors such has "Cannot convert one of the char"
my csv file having 40,000 records its hard to find which record having invalid char so i would like to debug
if anybody know how to debug please let me know i will assign points.
Thanks,hi,
you cannot debug inPSA, from PSA to target you simulate using the simulate update option.
in the rsmo of the load, choose details tab, select the datapackage and right click u will find simulate update option.
select the records, selct whether need to debug the transfer rule or update rule.
it will directly takes you to debug screen.
use f5,f6,f7 to execute the program.
Remya -
Output Query to CSV via SQL +
I can build the csv file and put the results into the csv file but the query itself is also place in the top of the file.
My question is, How do I output the query results and NOT the query? I thought the "echo off" would have fixed that?
THis is Oracle 10.2.0.4.0 in on a windows 2003 platform.
Here is my code:
spool ON
SET PAGESIZE 500
echo off
spool C:\CL_User_Reports\TEST.csv
select USERID, Entitlement, decode(who,-1,'Active','Inactive') Status
from
select userid, 'dba' Entitlement, dba who from USERIDTBL
union all
select userid, 'bla', bla from USERIDTBL
union all
select userid, 'hxrep', hxrep from USERIDTBL
union all
select userid, 'lma', lma from USERIDTBL
union all
select userid, 'rep', rep from USERIDTBL
union all
select userid, 'psa', psa from USERIDTBL
) a
order by a.userid;
spool off;
This is what the output file looks like:
SQL> select USERID Entitlement decode(who -1 'Active' 'Inactive') Status
2 from
3 (
4 select userid 'dba' Entitlement dba who from USERIDTBL
5 union all
6 select userid 'bla' bla from USERIDTBL
7 union all
8 select userid 'hxrep' hxrep from USERIDTBL
9 union all
10 select userid 'lma' lma from USERIDTBL
11 union all
12 select userid 'rep' rep from USERIDTBL
13 union all
14 select userid 'psa' psa from USERIDTBL
15 ) a
16 order by a.userid;
The actual results are then shown here...
Edited by: 887207 on Sep 23, 2011 12:37 PM
Edited by: 887207 on Sep 23, 2011 12:39 PMThat is a sqlplus command. [url http://download.oracle.com/docs/cd/E11882_01/server.112/e16508/cncptdba.htm#CNCPT831]sqlplus is an oracle tool to use SQL and procedural statements. In sqlplus, say show all to see the various settings. They are explained in the [url http://download.oracle.com/docs/cd/E11882_01/server.112/e16604/toc.htm]manual.
If you are new to Oracle, be sure and read the Concepts manual.
Maybe you are looking for
-
IMac will not boot after 10.10.2 update
Hello all, I could really use some help. I downloaded 10.10.2 from the app store on my iMac (previously upgraded to Yosemite through app store), and when the system restarted, I would see the white screen with the apple logo and the progress bar abou
-
Multiple similar sources to single destination?
I'm on Oracle 10.2.0.3 and am looking to replicate table changes being captured in multiple sources into a single destination. Let's say LCRs from source databases A and B are propagated into destination database C. In the destination, the LCRs from
-
Custom color palette in WAD charts
Hi BI Experts, we are trying to create a custom color palette, which we want to apply to all your WAD charts. Can anyone tell us how to do this? Of course we can customize the colors in each chart, but that's a hell of a lot of work. Moreover, there
-
Cannot open files on SharePoint using OWA - There was no endpoint listening at net.pipe
Greetings, Today we have had people calling in saying that they cannot open their files. After digging in for a bit, we found that if we set the library to open with the client it worked fine, thus OWA is having the issue. The correlation exception
-
Image Gallery - Paginate detail image
I've been looking all over (including the interakt forums) and can't find an answer. I've built an image gallery. Everything works just fine. However, after clicking a thumbnail to view the larger image, I would like to be able to navigate through th