ODS Key Fields allows blank values in Transformation
Dear Experts,
I have two layers:
1. Datawarehouse layer (purpose is to represent exactly data at the backend)
2. Consolidation Layer
Scenario 1:
In Datawarehouse layer, the fiscal variant is a key field in ODS and I have two other key fields i.e. combine to form a composite key.
When I load the data from PSA to this ODS, I have a record which contains blank value for the fiscal variant. It successfully loads into the Datawarehouse ODS.
Sceanrio 2:
In the consolidation layer, i have 4 key fields out of which fiscal variant is one of them. Now when I load the data from the datawarehouse ods to consolidated ods, it throws an error saying:
Diagnosis
An exception fiscvarnt_missing was raised while executin
module RST_TOBJ_TO_DERIVED_TOBJ .
System Response
Processing the corresponding record has been terminated.
The transformation mapping for the fiscal varaint in both sceanarios is 1:1 mapping with the rule type 'Time Characteristic'.
My questions is:
1. Why different behaviour during scenario 1 and sceanario 2
2. Solution to the above issue
Thanks
Jain
Thanks J.S.
Yes the format selected in the field for the datasource is 'Internal'.
When loading the data from R3>PSA>ODSX(Datawarehouse Layer), I have no problems even when the field is blank.
When loading from ODSX-->ODSY(Consolidated Layer) the empty (blank) field for that records throws error.
Any ideas?
Jain
Similar Messages
-
ODS Key Fields and Data Fields
Hi Gurus,
While creating an ODS how do we decide whether a characteristic has to be defined as a key field or a data field.
Thanks,
KRHi KG,
Key fields in the DSO are the primary keys in the active data table, depending on the keyfields the data in the aggregates will be overwrited.
It depends on the requirement we will decide what are the keyfields has to be taken. To utilise the overwrite functionality of the DSO depending on the data which is coming into bw we take keyfields. If u are using DSO as a staging then u have to lookinto the corresponding tables of the DSO, what are the primary keys in those tables..
Khaja -
How many primary key fields allowed for one table?
hi,
when i creating a table , how many primary key fields are allowed for one table.
please any one give ans
thanksJust checked it, Its 255, not 155. You can have as many key fields as you want, but you can not go over the 255 byte length for the total of all key fields. You will get a warning for over 120, as it says that there is limited functionality with a key over 120 in length.
Again, this is a total length of all key fields.
Regards,
Rich Heilman -
Hi,
I am sending data from one SAP system to other SAP system. I am using standard IDoc FIDCCP02 and sending this Idoc with the help of function module MASTER_IDOC_DISTRIBUTE.
In this IDoc I want to send field 't_e1fiseg-prctr' with no value, can you please let me know how I can do this ?
When I am trying to pass space then this field is not appearing in target system.
Many Thanks.Hi,
If there is no value in the field/segment, then the field/segment won't appear in the isoc, hence to make it appear you should pass the value '/' in the field.
Note: when we do this we are indicating the system, it tells the SAP system that there is no data in the field, the same thing we do when we manually process IDOC by WE19 Transaction.
Please validate the same at your end, please come back, if any more inputs from my end are required.
BR/Thanks
Pranav Agrawal -
Key Fields and Data Fields in ODS
Hi Guru's ,
Can u Explain what are Key Field's and Data Field's in ODS,and How they work.
Thanx in Advance.Hi Pradeep,
An ODS key fields forms a unique combination of chars according to which data in the ODS will be summed up. Data fields are additional fields, chars or key figures.
For example, you have the following key fields:
Doc No, Doc line item (item no in the doc) and you load the following data:
Doc# Item# Amount CALDAY
1234 1 100 26.09.2005
1234 1 150 27.09.2005
1234 2 300 27.09.2005
1235 1 400 27.09.2005
The first two rows with the same key fields (1234-1) will be aggregated and into ODS will go amount of 250.
What I said is true if for Amount key figure the Add option is set.
But if you set an Overwrite option, then the second record will overwrite the first one and only amount of 150 will go to ODS!
But if CALDAY is also a key field, then into ODS will go all records without any aggregation, because key fields combination is different for all records.
So, ODS key fields choice and KFs settings are very important for data aggregation in the ODS.
Best regards,
Eugene -
Sender File FCC - Key Field Value not available in file
Hi All,
I am new to SAP PI. I am working on Sender FCC. Below is the source file structure. I need to handle multiple sub structures Header,1Data,*. I think I have to use Key.field Name and Value. But in the below format we don't have any indicator to identify which is header and which is data record. Please suggest how to processed.
Header Record (Pipe delimited) (Cardinality 1:1)
Date
Invoice Number
Total Amount
Company Name
Data Records (Fixed Length) (Cardinality 1:n)
Date
Amount
Country
Card Number
etc...
Sample File Snippet:
20100430|4123451810|218.50|CC
20100430 $150.00 INDIA 1234567
20100430 $150.00 INDIA 1234567
20100430 $150.00 INDIA 1234567
20100430 $150.00 INDIA 1234567Hi
Try using the below parameters in FCC
Header.fieldSeparator |
Header.endSeparator 'nl'
Data.fieldFixedLengths ur values --3,5,5..
Data.endSeparator 'nl'
Regards
Ramg
Edited by: Ramkumar Ganesh on May 24, 2010 4:05 AM -
How to replace blank values in DATE field with 00000000
Hi
I have a DSO with Date field in which there are blank values. I want to replace the blank values in the DSO for date field with 00000000. Because of this blank values in the DSO the report is giving an ORA error.
How do we replace the blank values in the DSO for historical data and also the new loads?
Please advise.
Thank you.
Regards,
Pavan.Hi Suman,
I'm trying to run a query built on a DSO. The DSO has a field 'Start Date'. This Start Date InfoObject has a reference Char as 0DATE.
This Start Field has blank values due to which I'm getting the ORA-01722 error. I came across many threads with same topic of discussion. As mentioned in one of the Threads I have written a program to update 'Start Date' with 00000000. The code wriiten is "UPDATE /BIC/AZ_MONINV00 SET /BIC/ZSTR_DTE = '00000000' where /BIC/ZSTR_DTE = ' '.
Now when I see the data in the active data table of DSO the blank value is replaced with '00000000'.
But If I right click on the DSO click on display data the 'Start Date' field is blank. And now the Query also gets executed without any error. But in the output of the query the 'Start Date' Field has "#" values.
Can anyone suggest on how to remove these "#" values in the report? -
Capturing blank and non blank values in parameter
In one of the report there is only one parameter “BU VP Name”, now the business has added one more field “Director” to the application and they want this to be as a parameter. Now all the new records will have Director name
and old records will be blank for Director. How can I create a multi parameter with blank and relevant values for my report. Please note I am using sharepoint list to create the report.
SFHHi Syedfpl,
According to your description, you want to add a parameter which include a blank value.
In Reporting Service, we are allowed to use blank value for a multivalue parameter, but we are not allowed to use null values. So in this scenario, you should insert some blank values(‘’) into column “Director” so that we don’t need convert null values into
string at query level. Besides, in order to be allowed to use blank values in a parameter, we should choose the option "Allow blank value ("")". Also “Allow multiple values” option should be checked. As we tested in our environment, the
final result looks like below:
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu -
Key Fields, Data Fields, Key Figures and Characteristis, Dimesions & Key Fi
Hi All,
Can any one please describe more about the below terms and with the Example....
Like when we identify which one is Key filelds and Data fileds, how to distingush creating new dimesions (Is it based on user reporting) Key figures in Dimestions...
DSO/ODS: Key fields, Data Fields
InfoCube: Dimensions, Key Figures
Infoobjects: Key figures, Characteritics
Regards,
PremHi,
Search through SDN for more information on these concepts,
Re: ods data fields or key fields?
Re: Key Fields and Data Fields in ODS
defining Key -field and data fields
Regards,
Mani -
Difference between semantic and key fields in DSO
Hello All,
Please help me in understanding about difference between "Key fields" and "Semantic key" in write optimize DSO.
thanksHi,
you dont have key fields in write-optimized DSO, key fields terminology is forin standard DSO.
And semantic key is used in write-optimized DSO.
As we know standard DSO is a flat structure similar to transparent tables that we have in R3/ECC system with key fields (combination of values which needs to be unique).
Now, The system generates a unique technical key for the write-optimized DataStore object. The standard key fields are not necessary with this type of DataStore object. If there are standard key fields anyway, they are called semantic keys so that they can be distinguished from the technical keys. The technical key consists of the Request GUID field (0REQUEST), the Data Package field (0DATAPAKID) and the Data Record Number field (0RECORD). Only new data records are loaded to this key.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm -
Hi Experts,
Can i use KEY FIGURES as KEY FIELDS in DSO
and
What is MAXIMUM no of Key Fields can i have in a DSO
ThanksHi
key figures are the amouts required for reporting, say you are working on sales data, then look at the report what amounts are required to get all the columns / key figurs in the report.
Granularity: is the level of detail you require, some times you only require the sales document level, other times at the sales document item level.
Unique identification of record: uniqueness of a record in ods is maintained by how you define the key fiedls in the ods. key fields in the ods are equal to the primany indexes on a table. eg: if you want the grain to be on the sales document level, then do not keep the item in the key fields. then probably company code, sales org, sales document and fiscal year.
affect on one level up the ods:
if you require item level data in the cube, then you need to keep the sales doc item in the ods key field.
There has to be at least one key field and one data field.
Additional restrictions:
- You can create a maximum of 16 key fields (if you have more key fields, you can combine fields using a routine for a key field (concatenate).)
- You can create a maximum of 749 fields
- You can use 1962 bytes (minus 44 bytes for the change log)
- You cannot include key figures as key fields
Assign points if it helps
Regards,
Sumit -
Key fields in variant tables.
Hi masters,
i would like to know the use of "key field" in variant tables.
according to definition:This indicator shows whether a characteristic is used as a key field for accessing tables. Key fields have the value "X". When the table is accessed, the values assigned to the key fields infer values for the other characteristics.
please give an example of its usage,
thanks regards
RahulHello Rahul,
Please view the following link with the explaination and an example.
http://help.sap.com/saphelp_47x200/helpdata/EN/92/58c5cd417011d189ec0000e81ddfac/frameset.htm
Thanks
Amber -
Problems with BC4J input select tag when its bounded to a primary key field
HI..
I have an jsp BC4J edit form. This form uses a BC4J input select tag. This component is mapping one of the primary key Entity fields.
When im working with this component and it doesnt map a primary key field it shows the default "none" value when im inserting a record(thats Ok). but when it maps a primary key field the default value is a database value so it is not advisable.. How can i do in order to fix that?
Thank youThe none value is only shown when the field accepts null values.
-
Searching Web Apps with Data Source fields containing multiple values
I have a Web App with a field allowing multiple values to be entered similar to the checkbox list. I need to restrict allowed values to a large, finite list of values currently stored in another Web App as the data source. I can't apply the Data Source field type as that only allows single value selection. I also need to be able to use the Web App Search form to search for items containing 1 OR more values in this field (the search functionality of a checklist field type). Here's what I've tried for field types:
Text (string) or Text (multiline) field type - By saving a list of comma separated values (the same way that checkbox list outputs) to a text input or textarea, the search logic only searches for exact string (including commas) and doesn't parse the individual values.
List (checkbox list) field type - This allows me to search multiple values using OR logic, but the web app will only store values that have been entered as options in the actual web app field setup. I tried using a checkbox list with minimal or empty options hoping that whatever values I sent over in a comma separated string value would still get stored, but because the values came from my Web App data source and not the list of options stored with the field, they were not saved.
Has anyone found a way to do this?
My other question is about how I might use a similar multi-value field as described above but return search results containing items with ALL selected values for that field (AND logic).
Can anyone enlighten me to the inner workings of BC web app search logic?Thanks Robert.
You'll need to create your own interface to the webapp database for those kind of data operations
by this, are you speaking of the internal BC database which stores web app schema data? That would be great if it were possible to update that programmatically because I need to use the List (Checkbox List) field type (for the search functionality), but I need to supply the checkbox options from a web app rather than by manually updating the list entered in the Fields view of the web app settings (shown below).
I'm curious if anyone else has tried this?
Again, my reason for needing to use the List (Checkbox List) field type is that the page which processes searches knows to expect a comma separated list for this field type and then appears to be parsing out the individual values for searching out web app items with 1 or more matching values. You're right that text fields (string and multiline) just check for 'string contains' matches, and this would be ok if I was only ever needing to search just one value at a time. Here's an example of what I might do:
Web App item field value (as recorded against the List (Checkbox List) field type:
8294877,8294878
Web App Search value (for this same field):
8294879,8294877,8294885
The search would return this web app item because the field contains 2 (1 or more) individual values even though they were entered into the search field in a different order. If this web app item were just a Text (string or multiline) field, the searched value is not a substring of the web app item's stored value, so it would not find a match. Hence the need to use Checkbox List field type.
The web app will have thousands if not 10s of thousands of records, so dumping them all into one big array or object and searching on the front-end won't be practical (though it works great on smaller datasets). -
Active Hardware Key field is empty
Dear All,
In my Quality server, in t.code SLICENSE , the active hardware key field is blank.No hardware key information display. When i apply new license at that time, successfully completion message came then also "Active Hardware Key" and "License Expires On" fields are blank. and i am not able to login into server.
Regards,
NisitHi
Just got through this which will be helpfull
http://help.sap.com/saphelp_nw04/helpdata/EN/ae/6a0f69e96e11d18d980000e816c2ff/content.htm
Also ,please run RZ10 and then generate the profile for active servers ,make sure that default profile is active in the system.
Then run slicense -get on command prompt if windows .
What is the error message while you are loggin in. Paste the log here..
Regards
Bhaskar
Edited by: bhaskar1818 on Nov 7, 2008 4:55 PM
Edited by: bhaskar1818 on Nov 7, 2008 4:58 PM
Maybe you are looking for
-
Which version of Weblogic on Solaris is compatible with Oracle 8.1.7 - Unicode?
Hi folks, We want upgrade WLS 4.5.1 to one of the last version of WLS, but also we are planing upgrade Oracle to 8.1.7 version and migrate the character set of the database to UTF8 (Unicode), so we need to know which versions of WLS are compatible wi
-
How to set up multi-user access for an email account?
Hi, In our business, we run 3 macs with Mountain Lion and use Mail to access our IMAP account. Each of us needs to be able to respond to and see incoming/outgoing messages on our respective computers. Unfortunately our mail provider doesn't like conc
-
I'm getting the same error message as many other when I try to start Itunes. It was working correctly until I got an ipad 3 and installed some of the associated tools. Have uninstalled and reinstalled many times. Yes it's in the program files x64
-
Hi All, My requirement is to Display a Custom Report in Portal. This Report is developed in Abap. Since I am new to this portal thing I can think of only 1 idea to display these reports in Portal by creating transactional iViews . But In HTML transac
-
Loudness - Levels increased issue
I have one clip. The levels were pretty much all the same on the entire clip, but I had to raise it to 12db on the entire clip and still found it not enough. Then I chopped up the clip and when I adjust levels on each chopped up section by going to