Loding data to dso from flatfile
hi,
while loading data to DSO from Flat file which fields should be mentiond in key fields and which fields should be mentioned in data fields.suppose,client,company code,record no,controllingarea,plant etc...... which flds sould be taken
Hi,
You can take the 0FISCPER, 0FISCVARNT, 0CURTYPE...etc are the Keyfileds.
Rest of the fileds are Datafileds.
Regards.
Similar Messages
-
Error while loading the data in DSO (Bi 7.0)
Hi Friends,
I am working on BI 7.0 , I had run a DTP to load the data in DSO from another DSO.but there was some error in tranformation because of which DTP request didnt terminate with either green or red . then I fixed the bug in TRX and rerun the request .Now there are two requests. Now i deliberately changed the QM Light of the earlier request to Red so that I could run another request. The other DTP success fully loaded the data in Activation Que of DSO . But when I tried to Activate the second request I got a message that request can not be activated because earlier request is yet to be activated.
now I tried to delete the earlier request .Neither its getting deleted nor am I able to change the QM Light to Green .
What should I do to activate the Successful request to load the data in DSO.
puzzeled !
AnuragHi,
I have a similar situation....
I load data from DSO 1 to DSO2....i run the DTP and look at the monitor after its green when i go to manage and activate i am seeing two requests instead of 1...i am not sure why...Can you guys tell me if there is any setting that needs to be taken care of.
Thanks,
Vinay. -
BI7.0 Hexdecimal values problem while activating the data in DSO
Hi Friends,
I've got the data upto PSA and i've run DTP also from PSA to DSO, but while activating the data in DSO from New Data Table to Active Data Table, it's giving the error given below:
Error when assigning SID: Action VAL_SID_CONVERT table
0DOC_HD_TXT
Value '1st disb' (hex. '00310073007400200064006900730062') of characteristic 0DOC_HD_TXT contains invalid characters
Process 000037 returned with errors.
it isn't accepting the values like with numberels and chars together
ex: 1st disb, 70 cr Gen Hsg.
I want the same to be in the report, how these are to be allowed?, i don't want to edit in PSA and there are a lot of values like that i can't edit all those, since there are thousands of records.
Regards,
BalajiReddyHi Anil,
Thanx for your quick replay, i've allowed ',' in RSKC and i've checked the check box LOWER CASE LETTERS for IO 0DOC_HD_TXT, the problem was almost solved out. What does ',' mean by?
Why lower case letter has to be checked only for this IO (0DOC_HD_TXT), not for others? if it is checked, it allows only lower cases, doesn't allow upper cases i think. won't there be any problem? if it is done like that?
pls tell me the reason, i'm really thankfull for your quick replay
Regards,
BalajiReddy -
Data not going from active data table to new data table -DSO activation iss
Hi Experts,
Data is going from DSO1 to DSO2. I see some of the records are getting missed in DSO 2 which are supposed to come.
There is start routine from DSO1 TO DSO2 and as per the start routine some records should come but they are getting missed.
Apart from that..to DSO 2 there are 4 other DSO sending data.
I tried to send single record and saw that data is goingHi Experts,
Data is going from DSO1 to DSO2. I see some of the records are getting missed in DSO 2 which are supposed to come.
There is start routine from DSO1 TO DSO2 and as per the start routine some records should come but they are getting missed.
Apart from that..to DSO 2 there are 4 other DSO sending data.
I tried to send single record and saw that data is going to New data table and upon activation it does not go to Active data table.
Please suggest.
Regards
Sudha -
Data Not coming From DSO to Cube
Hi All,
I have data in DSO. When i run the DTP , request status is green.
Now when i go to cube and see the data the request has came but data has not transferred .....
The Request Status is green in cube but data is not cuming....
No transferred data.
How can bring data in cube..??
Regards,
RohitHi,
When you loaded the DSO......after that are you loading the cube for the first time?If so .....and still data is not coming..then check if the last loaded request somehow got deleted from the DSO....
If after loading the DSO....you have already loaded the cube...and this is the second time you are loading the cube.........then obviously it will pick 0 records...........since delta DTP always picks the fresh new request..........if there is no new request in the source .......then it will pick 0 records.......
Also both the cased are not working.........then check the End routine or Start routine.if any.......
Thanks and Regards,
Debjani....... -
Loading data from flatfile to relational table,i am getting SQLLDR error
Hi,
While loading data from flatfile to relational table,i am getting SQLLDR error and i am unable to proceed further.
Source is a flatfile and target is a Oracle database,i used "LKM file to oracle(SQLLDR)" and "IKM sql control append"
and ran the interface.When i checked the seesion in operator window" after generating "CTL file" successfully
the session got failed at "Call sqlldr" and was not able to proceed further.
Environment details:
ODI 11g
database:Oracle 11g
Operating system:Windows server 2008
The error message it displayed in call sqlldr session file was
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 31, in ?
File "C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\client\odi\bin\..\..\jdev\extensions\oracle.odi.navigator\scripting\Lib\javaos.py", line 198, in system
File "C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\client\odi\bin\..\..\jdev\extensions\oracle.odi.navigator\scripting\Lib\javaos.py", line 224, in execute
OSError: (0, 'Failed to execute command ([\'sh\', \'-c\', \'sqlldr DEVELOPER/pass_123@CPRDEV control="F:\\\\flatfile/CROSS_CURR.ctl" log="F:\\\\flatfile/CROSS_CURR.log" > "F:\\\\flatfile/CROSS_CURR.out" \']): java.io.IOException: Cannot run program "sh": CreateProcess error=2, The system cannot find the file specified')
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:345)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:169)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2374)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1615)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1580)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2755)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:619)
could u give me a solution to sort out this error ASAP.
thanks,
keshav.This was the following code generated .
import java.lang.String
import java.lang.Runtime as Runtime
from jarray import array
import java.io.File
import os
import re
import javaos
def reportnbrows():
f = open(r"F:\flatfile/TEST.log", 'r')
try:
for line in f.readlines():
if line.find("MAXIMUM ERROR COUNT EXCEEDED")>=0 :
raise line
finally:
f.close()
ctlfile = r"""F:\flatfile/TEST.ctl"""
logfile = r"""F:\flatfile/TEST.log"""
outfile = r"""F:\flatfile/TEST.out"""
oracle_sid=''
if len('CPRDEV')>0: oracle_sid = '@'+'CPRDEV'
loadcmd = r"""sqlldr DEVELOPER/<@=snpRef.getInfo("DEST_PASS") @>%s control="%s" log="%s" > "%s" """ % (oracle_sid,ctlfile, logfile, outfile)
rc = os.system(loadcmd)
if rc <> 0 and rc <> 2:
raise "Load Error", "See %s for details" % logfile
if rc==2:
reportnbrows() -
Error while loading data to ods object from flatfile
hello all
Iam loading data from flatfile to ods object and the processing type is PSA and then to data target(package by package),data arrived in PSA(its green) but in monitor the request is in red and in details tab of <b>subsequent processing</b> <b>its showing as ODS activation</b><b>?(change-log):not yet activated</b> and overall the error is <b>Missing Messages</b>.
and its also saying like "Activation of data records from ODS object ODS_SALES terminated.
and in help node its saying like data arrived in BW and try to change the request from red to green?
can anyone tell me what will be the problem?
In settings of ODS object everthing is set to automatically.
many thanks
balajiHi praveen
problem is <b>generic</b> here.
In monitor tab the <b>request</b> and <b>overall</b> the statuts is "<b>RED</b>",but when I went into the <b>mange</b> tab of ODS object here the request is "<b>GREEN</b>",but the data is not available here.but data is still available in "<b>New data</b>",how come data is not yet activated.
bcoz in settings all are set to "automatically",so there is no question of manual activation?
One more question is in Settings Iam finding one column like "<b>Unique Data Records</b>",whats's this,if v check this what happens ifnot what happens?
regrads
balaji -
Issue while uploading data from flatfile to Transaction(VK13).
Hi All,
I am facing an issue while uploading the data from flatfile to the transaction(vk13). My flat file is as shown below.
SalesOrganization DistributionChannel Customer Material Releasestatus Amount Currency Quantity UOM ValidFrom ValidTo
2000 01 0010029614 AT309739 A 20.00 USD 1 PC 09/11/2014 12/31/9999
If I upload these data using the RV_CONDITION_COPY FM it is succesfully uploading to the relevant tables(konh,konp) but in the tcode VK13 I am getting all values fine, except UOM. Instead of PC it is showning as ***. I did not understand why it is happening please give an idea to solve my issue.
Regards,
Chakradhar.Hi Raymond,
Thanks for your reply.Yes,If I use CONVERSION_EXIT_CUNIT_INPUT in my program the issue is, Assume If the user is giving PC as value for UOM field in flat file and upload the flat file.It is successfully uploading the value PC to the UOM field in transaction VK13 but the in the database table(konp) it is showing the value as ST.
Regards,
Chakradhar. -
I am getting Improper structure data from flatfile
Hi,
I am not getting data in a proper format from flatfile.
Eg:
ID,name,email,date
||1||,||abc||,"||[email protected]||",||xxxxxx||
||2||,||xyz||,"||[email protected],
[email protected]||",||xxxxxxx||
please suggest me why i am getting data as above format and suggest me sloution.
Thanks
AVSHi AVS,
The issue occurs because there is a line break after the string "[email protected],". To avoid this issue, you only need to set the Text qualifier of the flat file connection manager to " (quotation mark). In this way, the column row delimiter {CR}{LF} will
be ignored when it exists within a pair of text qualifiers.
Regards,
Mike Yin
TechNet Community Support -
Can data be loaded from Cube to DSO
Can data be loaded from Cube to DSO
Hello,
Yes,it can be loaded...all you need to do is the follow the same procedure of source and target as you do with the normal flow,...there is no different with cube as data source...you can even schedule delta from the cube to the DSO.
Thanks
Ajeet -
Getting latest record from time dependent data in DSO
Hi folks,
I have a standard DSO that is built on top off a time-dependent object. Users don't need the daily history and the last entry of the month will suffice so we are only going to have 1 record per month at the most for the object. The standard dso object key thus contains the infoobject key and Calendar month which is derived from the 'From Date' of the infoobject.
The users will running queries on this dso based on the Calendar month. So for the months, where record is available - it is a simple query. But get te data for the month where data is not available.
Example:
Key Month
123 Jan 2014
123 Jun 2014
So when the user runs the report for either of Feb/Mar/Apr/May 2014, the Jan 2014 record should show up.
For anything June 2014 onwards, the Jun 2014 record should show up.
Thanks for your suggestions!To month should be a part of data fields lets understand the behavior roughly with the above quoted example.
Initial load to dso :
123 Jan 2014 Dec 9999
now change happens in master data new data record created with the to date fixed to 31.12.9999 and old record to date less than the from value of new record.Correct!
Next load from master data to DSO.
123 Jan 2014 May 2014
123 Jun 2014 Dec 9999
So what happened in this case that based on the employee and To month as key first record will get overwritten and new record will be appended as well.
And rest you can handle at BEx level.
Hope this works.
Regards,
AL -
Help needed in storing data in DSO or InfoCube
Hi Experts ,
I have a set of data which comes from R/3 in the following Format:
FG Base Model Option 1 Option 2 Option 3
FG1 BM 1 Opt1 Opt2 opt3
FG2 BM1 Opt 1 Opt2 Opt 4
FG3 BM3 Opt5 Opt6 Opt7
The data gets stored in the PSA in the above format.
But i want to load the data from the PSA to the DSO or InfoCube in the following format.I want that if i do a display data in the DSO or the Infocube the output should look like the below :
FG Base Model Option
FG1 BM1 Opt1
FG1 BM1 Opt2
FG1 BM1 Opt3
FG2 BM1 Opt1
FG2 BM1 Opt2
FG2 BM1 Opt4
FG3 BM3 Opt5
FG3 BM3 Opt6
FG3 BM3 Opt7
Is there any way to do this please help. Thanks in advance...Hi Samir,
Use transformation rule group in the transformations.
Here is one of the examples...the way you wanted.
http://help.sap.com/saphelp_nw70/helpdata/EN/44/32cfcc613a4965e10000000a11466f/content.htm
Thanks
Ajeet -
Not able to activate data in DSO
Hi Gurus,
We are new to BI 7 . We are trying to load data into DSO . we followed the procedure :
1)created flatfile
2)created data source, clicked on proposal tab.
3)created infoobjects(data type,length,.....)according to the proposal.
4)created infopackage and loaded the data PSA
5)created DSO with settings "activate Data target"....
6)created transformation
7)run DTP.
data is coming upto new table(data is successfully loaded till here,green), data is not moving into active table .tried both the ways of activating but no use.it is not giving any concrete error msg,it says "time out"(red).
Pls let me know if thr is any other procedure of loading daa into active table.
Thanks,
PraveenI put ny 2 cents here ..could be that you are running the activation job in DIALOG mode and hence timing out..
You may want to execute the activation process in BACKGROUND mode with dedicated 1 BGD process in RSODSO_SETTINGS tcode.
Fyip ..
DSO Setting - Activate Data
Also check for sm21 and st22 logs ...
Hope it Helps
Chetan
@CP.. -
Error while activating the data into DSO
Hi
My base DSO is used to load 4 other data targets.
In process chain, after the base DSO gets activated there are 4 DTPu2019s running to load the data from base DSO to other DSO and 3 cubes.
When loading to other DSO, We have encountered an error
Object is currently locked by BI Remote
Lock not set for : Activating data in DSO
Activation of M records terminated.
1. My question is when loading the data from base DSO to other objects , how does the lock mechanism works.
I know that we cannot load the data into base DSO, when base DSO is sending data into target.
2. What difference does it make when loading DSO to DSO and cube parallel?
Thanks
AnnieHi Annie.....
1. My question is when loading the data from base DSO to other objects , how does the lock mechanism works.
I know that we cannot load the data into base DSO, when base DSO is sending data into target.
Do you mean to say that the loading in the 2nd level DSO was successful .....but the activation failed ?
Have you checked in SM12 that whether that 2nd level DSO is somehow locked or not ?
Is any further targets getting loaded from this 2nd level DSO ?
Look suppose u r loading a DSO A.........and in the mean time some load starts from DSO A to some other target(it may be DSO or a cube).........then the activation in the DSO A will fail........because since the last request in the DSO A is not activated....that request will not get considered in the subsequent load....and since the load is already in progress....system will not allow to activate any new request......
Another option can be that DSO A is getting loaded from some other targets as well.......so since still some load is in progress in this target....it will not allow the activation....
So check it and atart the activation again..
2. What difference does it make when loading DSO to DSO and cube parallel?
The main difference is that there is no activation concept in the cube....so a cube may get loaded from several targets in parallel......
A DSO can also get loaded in parallel.......but activation should start once all the loads get completed successfully.....
Regards,
Debjani.... -
Invalid character error while activating data in DSO.
Hi Experts,
We are facing an issue with presence of invalid characters in data from source. This throws SID generation error while activating data in DSO. Long text of error shows like this:
"Value " ĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ" (HEX 000D0120012001200120012001200120012001200120012001) of characteristic contains an error at position 1"
Also we've tried adding the character " Ġ " in TCode RSKC, but it then shows as a rectangle box which I'm not able to copy manually(looks like a blank space or something of that sort).
We've tried implementing routine to remove special characters while loading data, but still it fails. Due to huge amounts of data, its practically unfeasible to check each record manually.
Any useful suggestions will be acknowledged.
regards,
anoopHi,
We are using following code for the same purpose. U can use it at infoobject level mapping. This code will check value of each character in the data coming, whether it is in RSKC, if it is a allowed one then it will be passed as it is. Otherwise it will replace that character by space.
data: l_d_length like sy-index,
l_d_char type c,
l_d_index type sy-index,
l oopx like sy-tabix.
data : xinfobj(30) type c value 'RABC'. -> this is ur infoobject name
clear : result.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = tran_strucutre-XYZ -> object name in ur structure
importing
output = result.
l_d_length = strlen( result ).
do l_d_length times.
l_d_index = sy-index - 1.
l_d_char = result+l_d_index(1).
call function 'RSKC_CHAVL_OF_IOBJ_CHECK'
exporting
i_chavl = l_d_char
i_iobjnm = xinfobj
I_S_COB_PRO =
I_T_COB_PRO_CMP =
exceptions
chavl_not_allowed = 1
others = 2
if sy-subrc <> 0.
result+l_d_index(1) = ' '.
endif.
enddo.
Regards;
Jitendra
Maybe you are looking for
-
From which table I'll get vendor based on material
Hi Experts, I have to develop a Report for the procurement extraction should consist of following data fields: Material (MARA) Material Description (MAKT) Vendor Vendor Name Product Hierarchy Qty Date Product received at warehouse What are tables req
-
Change colors of individual pixels on intensity graph?
I would like to be able to change the color of a set of individual pixels within an intensity graph, to blue for example, while leaving the color table otherwise as is, for example, gray scale. The change to blue would be based on location, not on c
-
Help needed to run a JMS application on WSAD
Hello everybody, I�m trying to execute a JMS application which calls a QueueConnectionFactory and a Queue by JNDI lookup. I had configured these queues & Connection Factory at the server configuration for the JMS Server & these are being displayed wh
-
(1) If I daisy-chain 2 external drives through their FW-800 ports, then connect one of them to a computer's FW-400 port, will data move between them at 800Mbs? Or 400Mbs? (2) If I want to clone one external drive to another, which is faster? -- conne
-
Detailed description of "stop play" issue. Any help out there for this?
I have four music players that we switch between using during massages in our two treatment rooms. Two are iPod shuffles and two are Sandisk Clip MP3 players. Sometimes the iPod will go all day without a problem. Sometimes, 15 minutes into an hour lo