Regarding Additive Field In DSO
Hi Guys,
I have one field as summation in DSO. I made it additive while creating the transformation. Can any one tell me how it will add a summation when i do a delta update.
Thanks
Hi,
Transformation
Aggregation type:
Use
You use the aggregation type to control how a key figure or data field is updated to the InfoProvider.
Features
For InfoCubes:
Depending on the aggregation type you specified in key figure maintenance for this key figure, you have the options Summation, or Maximum or Minimum. If you choose one of these options, new values are updated to the InfoCube.
The aggregation type (summation, minimum & maximum) specifies how key figures are updated if the primary keys are the same. For new values, either the total, the minimum, or the maximum for these values is formed.
For InfoObjects:
Only the Overwrite option is available. With this option, new values are updated to the InfoObject.
For DataStore Objects:
Depending on the type of data and the DataSource, you have the options Summation, Minimum, Maximum or Overwrite. When you choose one of these options, new values are updated to the DataStore object.
For numerical data fields, the system uses characteristic 0RECORDMODE to propose an update type. If only the after-image is delivered, the system proposes Overwrite. However, it may be useful to change this: For example, the counter data field u201C# Changesu201D is filled with a constant 1, but still has to be updated (using addition), even though an after-image only is delivered.
The characteristic 0RECORDMODE is used to pass DataSource indicators (from SAP systems) to the update.
If you are not loading delta requests to the DataStore object, or are only loading from file DataSources, you do not need the characteristic 0RECORDMODE.
Summation:
Summation is possible if the DataSource is enabled for an additive delta. Summation is not supported for data types CHAR, DAT, TIMS, CUKY or UNIT.
Overwrite:
Overwrite is possible if the DataSource is delta enabled.
When the system updates data, it does so in the chronological order of the data packages and requests. It is your responsibility to ensure the logical order of the update. This means, for example, that orders must be requested before deliveries, otherwise incorrect results may be produced when you overwrite the data. When you update, requests have to be serialized.
Regards
Santosh
Similar Messages
-
Hi,
Generally reporting will be done on Info Cube rather than DSO.
Suppose If we assign the same data source to Info Cube and DSO then both contains the same data.
Info cube have additive and aggregated functionality where DSO have the overwrite functionality .
Are we using cube for this functionality only ?
What about the Dimensions in Cube how they differ from data fields and key fields in DSO when we are developing same Bex Report on both ?
Please advice me .
Thanks in advance.
Thanks & Regards,
Ramnaresh.pIt is hard to compare Cube and DSO.
Both thier own usage.
1. InfoCube is always additive, while DSO supports overwrite functionality.
2. In InfoCube, combination of all the characteristic value is a Key in the Fact Table, while in ODS, you can specify your own Key Fields based on which you want to generate unique record in the DSO.
3. DSO supports many delta modes like D, R, N, X, after image, before image, while cube does not support all the modes. You can not delete the record based on the key from the cube by just loading the data. While DSO automaitcally deletes the record from active table and generates the reverse entry for Cube.
4. DSO is a flat structure and therefore, it is used to store information at detail level, while cube is used to store information at aggregated level.
So both the structures are very much different from each other. One can replace other at some places, but both the objects have thier own functionality.
- Danny -
Additional field in adhoc query
Hi all, I need to be able to report on the IT105 subtype 0001 system ID for employees who are withdrawn from the company, however, when someone leaves their IT105 record is delimited so adhoc query will not output anything. Has anyone coded an additional field that will look at the latest record regardless of the date?
If you have, please can you share the code with me!?
Many thanks!Hi Tanya ,
Please find the code below. It is designed for additional structure z105_last which is bassed on P0105 type.
data l_it_p0105 type standard table of p0105.
clear: l_it_p0105, z105_last.
call function 'HR_READ_SUBTYPE'
exporting
tclas = 'A'
pernr = peras-pernr
infty = '0105'
subty = '0001'
begda = '18000101'
endda = pn-endda
tables
infty_tab = l_it_p0105
exceptions
others = 1.
if sy-subrc = 0.
describe table l_it_p0105.
read table l_it_p0105 into z105_last index sy-tfill.
endif.
Regards,
Sergey -
How to add additional fields to zreport which contains standard report code
Hi Experts,
In order to add additional fields to standard report i copied the code into zreport but i am unable to add additonal field into report because the code is looking so complex.
standard report:AQZZ/SAPQUERY/FKF1============
or
sapmenu->accounting->financial accounting->accounts payable->information system->reports for accounts payable accounting->master data->S_ALR_87012087-Addresslist.
Additional feilds to add is :Region,company code,country
Please let me know how toidentify ALV and guide me how to solve this.
Regards,
naresh.Hello Naresh,
First check whether these three fields are available in the text elements area.
Please write your code in the subroutine %comp_ldesc.
Repeat the code for your three new fields
perform ldesc(rsaqexce) using 'G00010000X010 00 A1'
%txt1 %txt2 %txt3 'LFA1-LIFNR' LFA1-LIFNR 'LFA1-LIFNR'.
read table %textpool_langu into %textpool_langu_line
with key ID = 'I' key = 'A01'.
if sy-subrc is initial. %txt1 = %textpool_langu_line-entry.
else. %txt1 = %txt_unknown.
endif.
So this subroutine will give you the basic list. Now Program is creating ALV with this basic list. So I think you don't need to worry about that. Please have a thorugh look at the code over this perform, and write accordingly.
I think this is enoogh.
Please update if you got the solution, which will be informative for others.
regards,
Antony Thomas
Edited by: Antony Thomas on Jul 27, 2010 7:57 AM -
Populate new fields in DSO (DBTable) with ABAP routine
Hi,
I've added a couple of fields to a DSO. The DSO contains a large number of records (60m+) and I have a tight window to cutover so the activation time would be an issue if I use a loop transformation. Therefore, I am looking to populate the additional fields directly in the Active table using an ABAP routine.
One of the fields is a key figure to be derived from an existing CHAR field so would need to apply some logic during update, such as IF <CHAR_FIELD> CA 'ABC'. <KYF_FIELD> = 1 etc.
Aside from fairly basic Start Routines my ABAP is very poor so was wondering if anyone can help me with the syntax or, preferably some sample code to achieve this.
Thanks in advance,
AdHi,
In transformation of the cube, choose routine for char E.
There you can assign value in RESULT field. Actually RESULT field is assigned to E, find the code below,
*-- fill table "MONITOR" with values of structure "MONITOR_REC"
*- to make monitor entries
... "to cancel the update process
raise exception type CX_RSROUT_ABORT.
... "to skip a record
raise exception type CX_RSROUT_SKIP_RECORD.
... "to clear target fields
raise exception type CX_RSROUT_SKIP_VAL.
(* insert your abap code here to find the value of E*.)
RESULT = * assign the value you got for E here.
rgrs,
v.sen -
Hello SAP Guru's!!!!
I have some doubt on maximum number of data fields in DSO. I gone through so many threads on SCN, but could not clarify my doubt.
The max no of key fields in DSO is -- 16
Max no of data fields in DSO is --749.
But i read in some of the scn documents a table can have maximum 256 columns .
DSO is also like a two dimensional table which can also have the same properties of a two dimensional table.
if the above statement of mine is correct.. the number of columns in a DSO is 256 columns = 16(primary key)+240 (data fields--non key fields)
but how come 749 data fields (max) will be there ? if it is so ... the max no of fields will be 749+16 = 765.
I need some clarification on this ....
Awaiting for your responses!!!!
regards,
vamshiHi Rajavamshi,
For DSO:
1. See for Standard DSO we have Key fields & Data Fields will be there
2. Key Fields will store only Characterisitc Info Objects, maximum no.of characteristic info object we can add here was 16
3. But in Data fields we can add both Characterstics & Keyfigure infoobjects, Max of 749 data fields we can add here.
4. Atleast one field should be there in either Key fields & Data fields.
For InfoCube :
1. Info cube structure will be having the 16 Dimensions and the Key Fields.
2. In that 16 Dimensions 13 User defined and the 3 pre defined dimensions.
3. One user defined Dimension will maximum can hold 248 Characteristics Info Object, not the Keyfigure Info Object here.
4. But the Key Fields here will store maximum will hold 233 Key Figure Info Object.
Thanks..!!
Regards,
Harish. K -
Data Fields & Key Fields IN DSO
Hi Guys,
Can any one tel me what exactly key field holds & Data field hold in DSO.
Thanks,
VenkateshHi,
A DSO serves as a storage location for consolidated and cleansed transaction data or master data on a document (atomic) level. This data can be evaluated using a BEx query.
A DSO contains
Key fields (such as document number, document item) and data fields that, in addition to key figures, can also contain character fields (such as order status, customer). The data from a DataStore object can be updated with a delta update into InfoCubes (standard) and/or other DataStore objects or master data tables (attributes or texts) in the same system or across different systems.
Key fields : It will contains both Chars and KeyFigures.
Data Fields : Based on this i.e. the charecterisctics which you will keep in this Data Fields, the DSO will over write the Data in DSO.
Overwriting functionality will works based on Data Fileds.
http://help.sap.com/saphelp_nw2004s/helpdata/en/f9/45503c242b4a67e10000000a114084/content.htm
Thanks
Reddy -
Adding fields into DSO in the Key Fields
Hello Experts,
I am using a Cube which loads data from DSO. Now, for some requirement I have to add one field into DSO in the key fields Part. But DSO already has 16 fields which I cannot remove.
So how can I add one more field into DSO in this case?
The cube I am using is 0FIGL_C10 and the DSO is 0FIGL_O10.
Regards,
Nirav ShahYou can create an Infoobject - acts as a custom key to concatenate multiple fields into one and make it a keyfield.
15 fields + custom key ( concatenate 2 fields ) = 16 Keyfields
Procedure - > Example
16th Key - > RVERS-Version-CHAR-3-0VERSION
17th Key - > RMVCT-TransactnType- CHAR-3-0MOVE_TYPE
1. Create one infoobject - ZKEY - Length = 6 ( add lenghts of the two objects)
2. Make ZKEY as a keyfield for the DSO.
3. Make 16th Key and 17th Key datafields.
Create a routine for ZKEY in the transformation or transfer rules to concatenate values coming from source into one.
TRFN Routine
Concatenate SOURCE_FIELDS-RVERS SOURCE_FIELDS-RMVCT into RESULT.
Or
Transfer Rules Routine
Concatenate COMM_STRUCTURE-RVERS COMM_STRUCTURE-RMVCT into RESULT.
This way nodata will be lost/overwritten due to less number of keyfields in the DSO.
We have as many as 21 Keyfields for GL Totals DSO. -
Hi All,
Can you please provide me info:
How many maximum KeyFields a DSO can have?
How many maximum datafileds a DSO Can have?
basically is there any restrictions on no of fields for DSO like Infocube?
Your information is greatly appreciated.
Regards,
RaviHello,
Yes its there..
you can have maximum 16 keys for an oracle table therefore you can have only 16 keys for the DSO.
Also depending upon the maximum size of the data blocks the maximum number of data fields is 749.
check this thread.
http://help.sap.com/saphelp_nw04/helpdata/en/4a/e71f39488fee0ce10000000a114084/content.htm
Not sure if this has chnaged recently but should hold true.
Thanks
Ajeet -
How to get additional field from the second list base on lookup information column ?
Hi everyone,
Currently I created a SharePoint hosted Apps project and I need to know how can I get additional field from the second list base on lookup information column. example List1 Have 2 columns column1 and column2(Lookup Information from list2 (category)),
List2 have 3 columns title, and category, and color. so how can get the title and color from list2 base on this lookup information column (SharePoint Hosted apps and Javascript code)? that is possible?
Best regards,
------------------------------------------------------------ ---Tola---You can build one custom lookup control. Refer to the following post
http://www.stuartroberts.net/index.php/2012/10/03/enhanced-lookup-field-part-1/
Alternatively, try the following solution from codeplex
http://sp2010filteredlookup.codeplex.com/
http://filteredlookup.codeplex.com/
--Cheers -
How to add additional field to the existing report
hi,
report name is RHXPE_EXPIRED_QUALI
if u execute report alv list is genereted with like this.
object type, id of related object, object name, object type, id of related object,last name, first name like this
where can i get these field descriptios in the prigram becoz many perform ststements r there. i want to add additional field text.
program is:
CORRECTIONS
DATE CORRECTION NOTE AUTHOR DESCRIPTION
09.03.2001 0388404 XSC Wrong list output for multiple Os
05.06.2001 AL0K023393 0410219 Lud Wrong keydate for search with
Pchbegda and pchendda.
30.01.2002 S6BK000033 0491055 TS Report: RHXPE_EXPIRED_QUALI
doesn't provide a spool list.
REPORT rhpk_find_pers_with_expired_qu MESSAGE-ID pq.
TABLES : pchdy.
INCLUDES
INCLUDE rhxmacro.
INCLUDE rhpeini0.
TABLES
DATA: objects LIKE hrsobid OCCURS 1 WITH HEADER LINE.
VARIABLES
DATA: subrc LIKE sy-subrc.
DATA: orgeh_text LIKE t777o-otext.
SELECTION SCREEN
objid
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS:
pchplvar LIKE p1000-plvar NO-DISPLAY, "plan version
pchotype LIKE pchdy-otype NO-DISPLAY. "objecttype
Objid
rhx-f4-objid-data.
SELECT-OPTIONS: pchobjid FOR pchdy-objid_str NO INTERVALS.
Search
PARAMETERS:
pchseark LIKE pchdy-seark. "matchcode object plom.
SELECTION-SCREEN END OF BLOCK b1.
Objecttime
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
PARAMETERS: se_begd LIKE p1000-begda DEFAULT sy-datum, "'19000101',
se_endd LIKE p1000-endda DEFAULT high_date.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-005.
PARAMETERS:
h_events LIKE dynp_rhpp-gen_train, "with training sugg
h_qual LIKE dynp_rhpp-expired_qual. "with Qual
SELECTION-SCREEN END OF BLOCK b3.
AT SELECTION-SCREEN ON pchobjid.
PERFORM check_objid_sign(rhxchk00) USING pchobjid-sign.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR pchobjid-low.
rhx-f4-objid-low pchplvar pchotype pchobjid '' ''.
AT SELECTION-SCREEN.
PERFORM check_plvar(rhxchk00) USING pchplvar.
PERFORM check_seark(rhxchk00) TABLES pchobjid
USING pchseark pchplvar pchotype.
INITIALIZATION
INITIALIZATION.
PERFORM read_t77s0_parameters_for_pe.
get user parameters/Planvariante und Beginndatum setzen:
pchotype = $orgeh.
CALL FUNCTION 'RHP0_USER_PARAMETERS_GET'
EXPORTING
fill_if_initial = 'X'
IMPORTING
plvar = pchplvar
begda = se_begd
endda = se_endd
with_key =
SUBSTITUTE =
ESSENTIAL = only_essential
org_unit = pchobjid-low
EXCEPTIONS
OTHERS = 0.
SE_BEGD = LOW_DATE. "Correction AL0K023393 0410219
IF NOT pchobjid-low IS INITIAL.
pchobjid-sign = 'I'.
pchobjid-option = 'EQ'.
APPEND pchobjid.
ENDIF.
START-OF-SELECTION
START-OF-SELECTION.
correction 0491055
correction was done for getting a spool list in background-processing.
CASE sy-batch.
WHEN space.
SUBMIT rhpe_expired_quali
WITH pchplvar = pchplvar
WITH pchotype = pchotype
WITH pchobjid IN pchobjid
WITH pchbegda = se_begd
WITH pchendda = se_endd
WITH h_qual = h_qual
WITH h_events = h_events
AND RETURN.
WHEN 'X'.
SUBMIT rhpe_expired_quali
WITH pchplvar = pchplvar
WITH pchotype = pchotype
WITH pchobjid IN pchobjid
WITH pchbegda = se_begd
WITH pchendda = se_endd
WITH h_qual = h_qual
WITH h_events = h_events
TO SAP-SPOOL.
ENDCASE.
END-OF-SELECTION
END-OF-SELECTION.Hi,
I think you need to show more programs.
you said, the report program is 'RHXPE_EXPIRED_QUALI', but you upload 'rhpk_find_pers_with_expired_qu' program.
usually, ALV field is modifyed in 'PERFORM fieldcatalog_modify', if you use Functional ALV.
Try to search 'fieldcatalog function', you will find easy.
Regard,
SY Kim -
Adding Additional field "Supplier name" & "Supplier No" in MB5B Report?
Can i add the above stated two additional fields in the standard report of MB5b, is there any implicit enhancement in the standard report which can help achieve my objective?
Hi,
The possibility to include additional fields in the report MB5B is
limited to MSEG, just as you can see in the text of the
report RM07MLBD_CUST_FIELDS itself:
This include contains the structure for additional fields for report
RM07MLBD ( transaction MB5B )
the following fields are not shown in the list of report
RM07MLBD
If you want to insert some of these fields in the list of the
hidden fields delete the '*' in the type definition.
>>* There are only fields from database table MSEG possible <<<<<<<<<<<
Please use only the following fields, because these fields
are considered during the creation of the field catalog;
plaese consider, that each active field will cost performance
If you need to add aditional information from other tables, like the
Reference Document Number you will need to build your own query.
Regards,
Mauro -
Adding additional field in cProject is not working after transporting
Hi All,
My intention is to add additional field in cProject. So i copied a required view through program BSP_CUSTOMIZE and into another Z* BSP Application object. Then i had done the necessary modification on the view and saved. Then copied error.do controller and actived and tested in development server. It was working fine. So i moved the transport request for this object to quality system. When i tried to test the same thing in quality system, changes done in views are not reflecting.
When i checked the entries in table BSP_APPLC, i didnt find any. I hope this is the reason why my changes in views are not reflected.
Can anyone have idea, why it is not happening so. Kindly help.
Thanks in advance.
Regards,
KarthickEnsure that in table BSP_APPLC is an entry for cprojects linking to your own aplictaion Zcprojects and is activated.
I guess you have to reactivate the BSP_CUSTOMIZE in target system again.
Please remeber: BSP_CUSTOMIZE is not supported officially. -
Creation of additional fields in Infoset SQ02
Hi Experts,
I'm a FICO consultant trying to create a query.
Requirement : Link RSEG Table to BKPF Table in the join condition
Link: RSEG-BELNR concatenated with RSEG-GJAHR = BKPF-XBLNR
Now I'm trying to create an additional field in SQ02 named MiroYear and in the field code part i gave the below piece of code
"CONCATENATE RSEG-BELNR RSEG-GJAHR INTO MIROYEAR."
It shows no syntax errors. I added the same to the field group as well.
Issue: The additional field (MIROYEAR) is not appearing in the join condition in SQ02.
Is this the right way to create an additonal field? Have i made any mistake? Or any of you have any better ideas to join RSEG and BKPF in SQ02?
Your quick response will be appreciated
Best Regards
VimalHi,
Table RESG and BKPF are linked BKPF-AWKEY.
Now first of all if you create an additional field, that field will not appear in the join.
One way will be to create an infoset with direct read to table RSEG, and then inside add additional fields for each BKPF field.
Then in the code
CONCATENATE RSEG-BELNR RSEG-GJAHR into MIROYEAR
select single ....
into (ADDFIELD1, ADDFIELD2, ADDFIELD3,.....)
from BKPF
where awkey = miroyear.
Regards,
Khusro Habib -
How to add Additional fields in standard SAP Report RMCLOBJVN ,TCODE CL6BN
i am facing problem in Report RMclobjvn , TCODE is CL6BN
i have to add some additional fields on the result screen.
but when i search inside the report i could not retrieve any user exits but through a search utility i got 4 user exits of which 2 seem to be useful.these are
<b>Exit name
CLCLRS01 Additional Fields on the Result Screen
CLCLRS02 Fill the Additional Fields on the Result Screen</b>
i activated the these exits and have tried putting in break point in side the include.
But the problem is this that
[<b>b]that CL6BN Tcode is not triggering anyhow these userexits.</b></b>
does anyone has any solution for adding the additional fields.Hai Manish
Check the following Links
You can do it in two ways using append structure or include structure of that standard table.
once you added , you need to adjust it and activate using the menu utilities->data base utulity-> Activate and Adjust .
check this SAP help..
for append structure
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/frameset.htm
for include structure.
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb54446011d189700000e8322d00/content.htm
Regards
Sreeni
Maybe you are looking for
-
i updated ios7 on my ipad mini and it switched itself off and when come back on the screen had the itunes sighn and usb lead sighn underneath now i cant do anything on
-
Metadata issues in A3 - This is a real concern
Metadata issues in A3. This is a real concern if your images go to third parties from A3. http://www.controlledvocabulary.com/imagedatabases/aperture3.html
-
Hi i need one object from goods receipt, and one from invoice
hi gurus what are the tables and fields we have in goods receipt and invoice plz send one object on goods receipt and one object on invoice thank oyu regards kals.
-
How do I create reusable titles in premier elements 13?
how do I create reusable titles in premier elements 13?
-
Hi, I have just downloaded the j2sdkee1.2.1. I have been able to configure it and try out couple of example. But when i tried the example "accounts" using an entity bean it say that it "cannot find the principle implementation jdbc/Cloudscape". Actua