Decimal points appearing for number in flat file upload
Hello
I am trying to upload a .csv file to a datasource. It is a number but when I see it in preview I am getting a decimal number with 3 points.
Can you tell me what I am doing wrong?
Thank you
Ravi
Hello Durgesh
Thank you for the reply.
I am new to BI. I am just trying to upload a flatfile to Datasouce.
I have created InfoObject with NUMC 4. The thing I am not able to get is, when we are uploading a file from source system to datasouce, I am at an understanding that there is no link between the field type we are using for the infoObject and the .csv file data in the data source. Please correct me if I am wrong.
So even before creating the transformation, by just loading and looking at the preview of data in datasouce itself, I am seeing decimals for number. I even tried to make the data file in notepad and save as .csv inorder to avoid any cimplications with excel.
Please advice.
Thanks
Ravi
Similar Messages
-
Logical path for getting a Flat file from application server
Hi All,
We have loaded some .csv files to application server, what is the logical path we have to mention in the infopackage scheduler screen? please guide me how to give the path for getting a flat file from application server.
Thanks,
Sairam.Hi Sairam,
I hope you know which location you have saved in the Application server.
Now if you go to the Infopackage and click on the "External Data" tab, there you will see Radio Buttons for
1) Client Workstation
2) Application Server
Choose the second radio button, then in the Field "Name of the File" you will be able to use the F4 help and browse AL11 transaction through this option. You can then choose the File.
Hope this helps
Regards,
Praveen. -
How To guide...for Flat File upload for User-Defined variables
Has anyone got link to the guide that describes how to do a flat file upload for populating User-Defined Variables ?
Any assistance will be appreciated.
UcheSAP BW Business Planning and Simulation "How To" Guides
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ab9fd590-0201-0010-2590-be78eb70015c
How to Upload User-Specific Variable Selections in BW-BPS
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how to upload user-specific variable selections in bw-bps.pdf
this is what you are looking for ?
Message was edited by: Murali -
Create a flat-file upload for a BO XAI Inbound Service?
Hello all,
If we don't have a schema defined for a BO XAI Inbound Service, how can we create the XSL and the flat-file upload schema file for it.
Any advice?
Regards,
KerrI don't have problem to create the XSLT mapping.
But because it is to create a flat-file upload for a Business Object XAI Inbound Service, it doesn't have a schema on the server as to the thread Create Schema for Business Object to use for XAI Inbound Service?
And I can't create that flat-file upload without a schema on the server.
Or I can use the BO XAI Inbound Service WSDL instead to create the mapping for the flat-file upload.
Regards,
Kerr -
Can i able to put filter for my source flat file?
Hi all,
Please help me with the best practise of ODI.
My source is flat file and i want to put filter.
can i able to put filter for my source flat file? If yes, please help me with the best practise of applying filter.
Regards
SureshHi ,
If you are trying to create at the Model -->Datastore ---> Filter ---> Insert condition
then it will not work for File technology . You will get " Invalid Format Description "
But you can specify a filter in the interface .
Just drop the column(s) from your flat file data store into the canvas and then specify the filter condition .
Thanks,
Sutirtha -
Problem with flat file upload with ASCII file
Hi All,
I am trying to load data into an ODS object via PSA using a text file (tab delimited). I have the following settings in my InfoPackage
External Data tab: ASCII File
Seperator for thousands:
Character for decimal point:
Currency Conversion:
Number of Header rows to be ignored: 1
Processing tab: Only PSA and Update into data targets subsequently
When I do a preview the data is not showing up in the right format....the tab seperation does not work and data is garbled with extra hexadecimal characters too.
The same file contents in .csv format is loading the data in the right format and preview is fine too.
I need help trying to convert this csv file to .txt format.
Any clues are highly appreciated
Thank youHi,
If in the infopackage you click on a File Type ASCII-file (CR delimiter) radiobutton and then F1, youll see the help:
With an ASCII file as a data source, the data has to be available as a string in the format of the transfer structure. There are no data separators, empty characters are not ignored.
This means that:
- you shouldnt use any delimiters among the record fields
- all fields should have the length the system expects (length of the appropriate infoobject in transfer structure)
- each record should be separated from the next by carriage return CR.
Since I think the program that converts file from Excel format into CR-delimited would be very useful, I created such program in VBA.
So, open your Excel file (if you have csv-file you can open it using Excel).
The program assumes that the first row of the file contain field names. Data itself begin from the 2nd row. Insert as the 1st and 2nd rows the new, blank rows.
Into A1 cell insert number of the last row with data, into B1 number of the last column. Certainly, it may be determined in the program, but I have not done it if someone wants it, s/he can try it.
Into fields of the 2nd row insert expected length of the field.
Make sure that Visual Bacis toolbar is seen. (If not tick in menu path: View/Toolbars/Visual Basic).
In this toolbar click on a Design Node icon.
Drag from the toolbar and drop into worksheet a Command button element.
Double click on the button. In the open window for Private Sub CommandButton1_Click() subroutine insert the following code:
Dim ws1 As Worksheet
Dim J As Long, I As Long, L As Long
Dim FileName As String, Out As String, formatOut As String
Dim LenCell As Long
Set ws1 = ThisWorkbook.Worksheets("SHEET1")
FileName = ThisWorkbook.Path & "\" & Left(ThisWorkbook.Name, Len(ThisWorkbook.Name) - 3) & "txt"
Open FileName For Output As #1
For J = 4 To ws1.Cells(1, 1)
Out = ""
For I = 1 To ws1.Cells(1, 2)
formatOut = (ws1.Cells(J, I))
L = Len(formatOut)
LenCell = Val(ws1.Cells(2, I))
If L > LenCell Then
formatOut = Left(formatOut, LenCell)
Else
Do While L < LenCell
formatOut = formatOut & " "
L = L + 1
Loop
End If
Out = Out & formatOut
Next
Print #1, Out
Next
Close #1
Set ws1 = Nothing
MsgBox "File transformation finished!", vbOKOnly
Now return to Excel sheet, click again Design Node icon switching into run mode.
When you press on this button now, the ASCII program will be created. It will have the same name as an input file (and in the same directory), but with TXT extention.
Remarks:
- The program works with the current worksheet named as SHEET1.
- Fields that are shorter than those expected by the system are padded by spaces from the right. It should not be the problem, since in transfer structure you can check symbols only flag.
- Longer fields are truncated to the length expected.
Best regards,
Eugene
Message was edited by: Eugene Khusainov -
Problem in Flat File Uploading
Hi everyone
During a flat file uploading, I get a message for each record of my SKU (Stock Keeping Unit), for eg for SKU 1017023, I got a message
<b>Value '1017023 ' for characteristic PISKU is in external format RRSV 9</b>
PISKU is the field name.
The whole extraction is failing.
Kindly provide me some suggestions as soon as poosible!!
If possible mail me at
[email protected]
Regards
Gajendra SinghHi,
It seems there is a space in the value '1017023 '.You have to edit in PSA and then send it again else delete the request and change the flat file entry and reload the data.
Hope this helps
Assign points if useful
Regards,
venkat -
BPS Flat File Upload Error Messages
Hi,
I am using the BPS flat file upload and am getting error messages. These error messages are coming from the user exit in the characteristics relationships. Unfortunately the message does not indicate which line on the upload file the error is for. In the user exit it does not pass the line no of the flat file that is being processed.
Does anyone have any ideas how the message could be enhanced to indicate the line in error or if there is another exit I could perform the validation in?
regards
Paul CairncrossHi Sai,
The issue is not the particular message. The message is in fact my message in the user exit in the characteristic relationships. The issue is when using the flat file upload the message does not indicate which line in the file the message apply's to. Looking at the userexit no line number is passed. This is not a problem in the web as the specific line is highlighted when the user is keying in the data.
Regards,
Paul Cairncross -
Flat file upload error message
Hi Friends
I have designed an infocube and when i try to load data after selecting the option of flat file upload, i get the following error message," You have no authorization for basic types(activity 03)". Please clarify what it means.
regards
krishi Kris,
it may due to lack of authorization, please run transaction su53 and capture the info to your basis team to add you the needeed authorization.
hope this helps. -
Hi,
What kind of questions are needed to be asked (from client) for requirements gathering for a flat file upload (from legacy system) to BI? Basically what are all the questions that i need to ask them to make sure I have all information for designing a flat file extractor?
ThanksI would ask them what do they want to report on from the legacy system and is data already in R/3? I would also ask what kind of data is stored in the legacy system .... inventory, financial data, sales, etc ... Once I knew that, I would ask what do they want to report on .... stock quantities/costs, gl account data, revenue, deliveries, etc....
Then I would ask, do you want this to be seperated from the R/3 datastream? More than likely this will be yes, if not, fight to keep it seperated and possible in it's own cube/ODS and combine in a multiprovider (you need to use the same 0material, 0customer, 0vendor, 0gl_account info objects if you want to combine nicely on a multiprovider).
If the database the legacy system is on is either SQL Server or Informix or Oracle, you may want to consider DBConnect and connect directly to their tables.
In all cases, I try to avoid bringing everything in "just because we may need it". If the system is legacy and it's been a legacy for 2 years, see what people keep going back for and grab that data only. If someone claims to need data, but have not sought it out for 2 years, then the probably don't need it.
Also, check the granularity of the data. Do they need individual documents for legal reasons? Can you summarize the data? What are they going to use the data for?
Brian -
BPC delta flat file upload possible?
Hi experts,
Ive been trying to find an answer of whether or not it is possible to retain member data on manual flat file upload into a dimension. We have created a dimension (employee) and have created some dummy nodes member data and would like to determine if it is possible to then keep this manual member data while manually loading further member data through flat file load. Is this sort of manual flatfile delta load possible? If so how? What is best practice here?
Also, is it possible to load data into a dimension using two methods IE manual upload file and then another form (IE BW load) without overwriting data? Im assuming this is where the merge data option comes in to play.
Any guidance would be much appreciated.
Regards,
DanielleHi Danielle,
While uploading data, if you have added dimension members manually, then, it never gets deleted untill and unless you specify for it.
In your scenario, you have created dummy members and want to upload data thru flat file. Then, the data will be uploaded only for those members for which you want to upload data, rest of the members will display the old data.
As you rightly said earlier, while running data manager package, you need to select MERGE option instead of REPLACE & CLEAR data values. This keeps the old data intact and adds the new ones as well.
Hope this clarifies further.
Rgds,
Poonam -
Hi Marc,
I am following the July version of how-to. When generating the BSP page, I am told checkbrowser.htm and js.htm are not available. When I create a checkbrowser.htm and point the include to js3.htm, which is one of the page fragment available, there are a few other errors coming out. What am I missing?Do you already know if the flat file upload is possible from a multi planning area? Because I get the error message that my multi planning area does not exist when executing the function.
Thnx. -
Additional 2 zeroes appear after flat file upload for New Taiwan Dollar
Hi,
Appreciate if anyone has encountered this issue when loading up flat file for New Taiwan Dollar currency. Example.
Flat File Data
0CHRT_ACCTS - SSG1
0COMP_CODE - TW80
0FISCYEAR - 2007
0FISCPER
0FISCPER3
0VERSION - 1
0VTYPE - 10
0CURTYPE - 10
0GL_ACCOUNT - 100050
ZBDGT_USD -
ZBDGT_LC
0LOC_CURRCY - TWD
ZAUDIT_LC - 815,537
After data is loaded into cube
0CHRT_ACCTS - SSG1
0COMP_CODE - TW80
0FISCYEAR - 2007
0FISCPER
0FISCPER3
0VERSION - 1
0VTYPE - 10
0CURTYPE - 10
0GL_ACCOUNT - 100050
ZBDGT_USD -
ZBDGT_LC
0LOC_CURRCY - TWD
ZAUDIT_LC - 81,553,700
Appreciate any assistance. Points will be rewarded if solution can resolve issue.
Best regards,
Eric TangHi Simon,
Ok, this is the a line from the flat file
0CHRT_ACCTS - SSG1
0COMP_CODE - TW80
0FISCYEAR - 2007
0FISCPER
0FISCPER3
0VERSION - 1
0VTYPE - 10
0CURTYPE - 10
0GL_ACCOUNT - 100050
ZBDGT_USD -
ZBDGT_LC
0LOC_CURRCY - TWD
ZAUDIT_LC - 815,537
and this is what is shown in the listcube
0CHRT_ACCTS - SSG1
0COMP_CODE - TW80
0FISCYEAR - 2007
0FISCPER
0FISCPER3
0VERSION - 1
0VTYPE - 10
0CURTYPE - 10
0GL_ACCOUNT - 100050
ZBDGT_USD -
ZBDGT_LC
0LOC_CURRCY - TWD
ZAUDIT_LC - 81,553,700 -
Variable Substitution for IDOC-XML-Flat File
Hello
I have a scenario where I need to populate the Idoc number into my file name. the Source is an Idoc and the Target is XML but the target is then converted to an Flatfile via a module in the processing sequence. When I try to use the variable sub method it errors out as the final target structure is a flat file and not the XML structure that I hav used in the graphical mapping. Any help on how I can go abut doing this will be greatly appreciate.
Thanks
LavanyaIF I remove my adapter that converts the XML file to Flat file from the module sequence this works perfectly. So is there a way for me to now read the xml file for the target file name in variable sub. but still have the Flat file structure derived for the processing seq.
-
Settings for loading from FLat File in BI7
Hi guys
i am trying to load data from a csv file. i used MS excel to create this cvs file. now in BI-7 what settings do i need to use to load the data. i need info like "Seperator" and "Replacement for Blank".
i have already tried ; and , for seperator, but the preview is all messed up.
thanksHi Adnan,
First you create a source system for flat file loading.
Do this in RSA1 - Source Systems. Via context menu, create it in node "File".
Then, goto the RSA1 - Datasources view. Choose the corrrect source system.
Create a datasource and assign fields.
Use your datasource to load data into infoobject, datastore using a transformation between the datasource and datastore.
Create and schedule an infopackage to load to PSA.
Create and schedule a DTP to load into target.
Setting for flat file loading
in SPRO
Thousand separator
dec.pointer separator
field separator
Field delimiter
In info package
External Data
Here we can give the file path & where the file exist(wether in appllication server or client work station
file type
data separator
esacpesign
thousand separator
how many to be igonered
hope this will help you...............
for more info
Pls refer to the link below
[http://help.sap.com/saphelp_nw04s/helpdata/en/43/03450525ee517be10000000a1553f6/frameset.htm ]
[http://help.sap.com/saphelp_nw04s/helpdata/en/fc/1251421705be30e10000000a155106/content.htm]
[b.i 7.0 ffile extraction;
[http://help.sap.com/saphelp_nw04/helpdata/en/8e/dbe92341c84242be2c7d3917f1c197/content.htm]
[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%20sapgui.pdf]
Regards,
NR
Assign points if useful...
Maybe you are looking for
-
IPod restarts every time I click the center button
Every time I click the center button to go into the music folder, my iPod restarts, so I can't get into those files. It sometimes happens when going in to the extras folder as well. What do I do?!
-
I recently bought 2 new,identical, 8GB USB flash drives, which came formatted FAT-32. I have had different problems with both. Drive #1 was put into a Windoze laptop and had a couple GBs of jpeg and avi files transferred to it. I took the drive home
-
StrictXml2PlainBean - to have an XML - EDI conversion?
Dear Experts, I'm experimenting with the EDIFACT XML --> EDIFACT conversion in XI. As we already know, there is no "out of the box" solution for it from SAP itslef. That's why we have to use a 3rd party solution for this conversion. (e.g. Seeburger,
-
Display Item Details in approval email
Hi All, I would like to display 'Item Details' on the shopping cart approval email. Is there any standard program to achieve this. Please provide your inputs. System: SRM 5.0 Regards, Piyush
-
Your documentation says the method tag must follow the following signature: public static EventResult myEventHandler(BajaContext context,Page page,PageEvent event)throws Throwable; The following syntax is also valid for the method tag: public static