DTP Filters
<Moderator message: please use meaningful subjects>
Hi All
What is the use of Filters in DTP(Data transfer process) and how to create a filter in DTP
Thank you
Edited by: Siegfried Szameitat on Nov 18, 2008 11:17 AM
hello,
filters are like selections in your Info Package.
You can restrict the data that goes into your target by setting values in the filter.
e.g you can set fiscal year as 2008.Then data will get loaded to your target only for year 2008.
You can define routines in your filter to dynamically pass values based on some conditions.
Regards,
Dhanya.
Similar Messages
-
Backendtable for infopackage/DTP filters
Can anyone help me to know any backend table in BW where we can find details of Infopackage / DTP filters.
DTP
RSBKDTP BW: Data Transfer Process Header Data
RSBKDTPSTAT Status Information on Data Transfer Proces
RSSELDTP Selection Conditions for Output in Adminis
infopackage
RSLDPIO Links datasource to infopackages
RSLDPIOT InfoPackage Text Description
RSLDPRULE ABAP source code for InfoPackages
RSLDPSEL Hardcoded selections in InfoPackages
RSMONICDP Contains the request-id number by data target
RSPAKPOS List of InfoPackage Groups / InfoPackages
Regards
KP -
Hello,
In a DTP process I need to select some records with these conditions:
If a Posting Date Range is entered in the DTPu2019s Filter Window then the process will be the standard, all records will be filtered using the entered date and moved to some other place.
If a Posting Date Range is NOT entered, then and ABAB routine will calculate the previous month and all records filtered will be those of the last month and then moved to some other place.
I will create an ABAP routine in DTPs-Posting Date, but how to know if the Date is entered manually or not?
I need to control both things in the same DTP-ABAP routine, if Posting Date is entered then Normal Process, else Previous Month is calculated.
System: BI 7.01
Thanks in advance.hello,
filters are like selections in your Info Package.
You can restrict the data that goes into your target by setting values in the filter.
e.g you can set fiscal year as 2008.Then data will get loaded to your target only for year 2008.
You can define routines in your filter to dynamically pass values based on some conditions.
Regards,
Dhanya. -
Hi All,
i have a DTP based on an Open HUB that has many Infoobjects filters.
i'm trying to add the 0calmonth in the selection of my filter, i save and activate but after i don't find the 0calmonth in my filter.
can you give me please some advice what sould i do to fix that.
it's strange i tried many times and i don't understand what is the problem.
Thanks
BilalHello,
it doesn't work.
i have the 0calmonth in the cube but i don't have it in the open hub, do you think that the problem is that i should have the 0calmonth in the open hub?
in the transformation the 0calmonth is mapped with other 2 time characteristics created in the open hub.
when i go inside the dtp in change mode, i can go to filter and change selections transfering the 0calmonth from "list of other selectables fields" to "list of fields in selection screen" but when i save and activate again my dtp i lost it.
Bilal -
How to set DTP filters dynamically
Hello,
For infopackages I have the FM BAPI_IPAK_CHANGE in order to change the selections dynamically.
Question: Does there anything similiar (FM, class) exist for data transfer processes (DTP), where I can change the filter of a DTP dynamically?
Thank you and best regards,
IngoU can select the filter conditions dynamically by writing a rouitne ...
Suppose there is one object called start date its techiacl name /bic/rt_strdt then u want to load data where the start date is between 20080101 and some time limits then u can write the routien like this
data: l_idx like sy-tabix.
read table l_t_range with key
fieldname = '/BIC/RT_SRTDT'.
l_idx = sy-tabix.
l_t_range-low = '20080101'.
l_t_range-high = '20080430'.
l_t_range-iobjnm = '/BIC/RT_SRTDT'.
l_t_range-Fieldname = '/BIC/RT_SRTDT'.
l_t_range-sign = 'I'.
l_t_range-option = 'BT'.
if l_idx <> 0.
modify l_t_range index l_idx.
else.
append l_t_range.
endif.
p_subrc = 0.
By this routine at run time it dynamically loads the data thats matches the filter condtion for the field start date... -
SAP BI - OLAP variable in DTP unable to read from input ready variable in query
Hello,
Here's the problem:
We have a process chain which is launched in a WAD.
We would like to filter the DTPs in the PC with the values entered in the variable screen of the WAD
I created a variable of type customer exit X which reads the input ready variable Y in CMOD.
Customer exit variable X was placed in the filter of the DTP.
The input ready variable Y in the query contained in the WAD.
I am getting an error that customer exit variable X is getting not value.
Is it possible to read an input ready variable in a customer exit variable placed in a DTP?
Or am I missing a step here?
Please help.
Thanks in advanceHi Anjalee,
Maybe it would be good to share a bit more information on your scenario and the chosen solution design. I am currently missing the point of triggering a Process Chain using Web Application Designer.
Anyway, I recommend to be careful with using OLAP variables in DTP filters. For sure not all functionality is present, e.g. because the variable pop-up is absent. Your constellation of an input ready variable and a customer-exit variable will only work in the context of a BEx Query and probably not if used in a DTP filter.
Best regards,
Sander -
Hi gurus
in BI70 SP14 how to exclude values in DTP filters? there is a button 'exlude values' but it is not active...
program error?
tks
micheleDid you try F2 in the cell itself ??
Check if the below note is applicable :
Note 1055522 - 70SP14: Multiple selection is not possible (> 125 fields) -
Hi guys,
I'd need your help to guide me with this requirement:
I have an infocube A with CO data. I must copy some of the data from this infocube A to other infocube B. But I don't want to copy all the data, just want to select only those lines that the costcenter exist in a Z table and skip the others lines.
I guess I should use and ABAP routine into the DTP filters that reads the costcenter for each line of Infocube A, checks if that costcenter is into the Z table and in case it is not, skip the line. Since I'm not an ABAPer I don't have a clue on how to skip the lines and unfortunately I don't have a developer by my side... So your help will be highy appreciated. If you also know of a better approach to get the same result please let me know!
Thanks in advance.
Ruben.You have to write code in transformation start routine. I dont think you can write in DTP filter.
Code will be something like this. Consider -
Info-object - 0COSTCENTER
Table - ZCOST & field - ZCCENTER
Code in global start routine -
DATA ITAB1 LIKE STANDARD TABLE OF ZCOST.
SELECT * FROM ZCOST INTO TABLE ITAB1.
SORT ITAB1 BY ZCCENTER.
Code in method Start_Routine
LOOP AT SOURCE_PACKAGE.
READ TABLE ITAB1 WITH KEY ZCCENTER = SOURCE_PACKAGE-COSTCENTER BINARY SEARCH.
IF SY-SUBRC NE 0.
DELETE SOURCE_PACAKGE.
ENDIF.
ENDLOOP.
Abhijit
Edited by: ABHIJIT TEMBHEKAR on Nov 20, 2008 1:32 PM -
Data mismatching between BW and R/3
Hi BW Experts,
We uploaded Profit Center Accounting Data (It is a Part of CONTROLLING) on 10-04-2008.
And we run the delta daily, it is running fine....
Yesterday we checked the data for one GL Account in both R/3 and BW Systems, but data is not matching.
There are 4 line items (4 Different Amounts) in R/3 side, but we got only 3 line items (3 Amounts) in BW side.
One amount (line item) was missed.
How can i get the missing value in BW side.
We are not using ODS...
It is very urgent.
PLease can anyone tell me the solution.
Regards
AnjaliYou should do the following checks:-
1. RSA3 - Extractor Checker
2. RSA7 - Delta Queue Monitoring - to check what is entering the delta queue
(hopefully these would be ok, if there are not much customisations etc..)
3. PSA - Check if there are any selection conditions stopping data from coming to PSA, If you find all data here perfect, then there has to be some issue with the staging etc.
4. If you are on Bi7.0, switch on the temp. storage and then execute your DTP, so that you can check the processing by record.. also check the DTP filters - which might be stopping some data to be processed.
5. Transformation (transfer rules/update rules) - Check for some routines - start routines, end routines which may stop some data to be processed.
6. Last but not the least, you should also check if there is some aggregation that happens in the cube which stops you from seeing the data distinctly.
Hope this helps.
Cheers,
Sumit -
0FIGL_O02 partitioning options
Hi
Our GL DSo is growing huge,Currently holds more than 75Million records.Now we are considering partitioning it.
Can any one update me with ideas...how to perform partitioning without interputting Daily deltas
Thankspartition from now onwards - so partition by fiscal year
Correct me if i was wrong
Current Data Flow:(Delta)
PSA>DSO1>CUBE1
Currently i had one DSO1 which holds all the data.based on your proposal
Create DSO2 (Copy of DSO1)
sO using DTP filters,
from PSA-->DSO1 ALL the data < Current FISCPER will be loaded
from PSA-->DSO2 ALL the data > Current FISCPER will be loaded
NEW data flow:(Delta)
PSA>DSO1>CUBE1
PSA>DSO2>CUBE2
If the above process is correct
How can i achieve this with out deleting the data (Don't want to preform Re Initilization)
Thanks -
Hello Guru,
I have below scenario configured for BPC. Do please let me know your thoughts.
I have 0FIGL_C10 infocube configured in BW where i have data for Entity 1000, 2000& 3000. Data is available from the year Jan 2006 till Nov 2011. 0FIGL_C10 infocube gives data in 3 currencies (00, 10 & 20)
My requirement is below.
1. Entity 1000 is discontinued but data still comes in 0FIGL_C10 infocube. How should i restrict this entity in BPC ? Data manager package doesn't have any selection criteria option like Transformation file has..
2. I have 2 reports. P&L and Balance Sheet. for Balance Sheet , I want to select 100000 to 200000 G/L Account with Currency Type 30 & for P&L, I want to select 300000 to 400000 G/L Account with Currency Type 10. Do let me know how this can be done ?
3. I have data from Jan 2006 till Nov 2011 in my BI Infocube but i want to load only 2011 data into my BPC. So, with that said when i do initialization from BI to BPC, i should be able to extract data from Jan 2011 till Nov 2011 and from December onwards i should be able to extract data for December and then onwards month. How should i manage this because in BI i have data for last 4 years.
Do let me know your valuable thoughts.
Regards,
Komik ShahHi,
The set selection feature should serve your puprose.
Have you considered an integration layer with in BW from where you can do the data loads into BPC? You can check the pros and cons of having a new layer.
If you have then, you could use DTP filters when loading to the infocube in the integration layer from FIGL. You need to have other criteria as well to have the staging layer. Just check.
- Restricting Entity 1000....Do you have the conversion file for Entity. You could do *SKIP in a conversion file for this entity.
You could have a routine in BW integration cube to force a particular currency type for PL accounts & GL accounts. Try also looking at using an IF condition in transformation file for currency type selection
RPTCURRENCY=*IF(0CURTYPE=*STR(10) then *STR(LC); TC)
RPTCURRENCY is a currency type dimension in your application. LC and TC are members of this dimension in BPC.
Thanks,
Sreeni -
Urgent: Problems with filters with routines in DTP
Hi All.
I have this: ODS --> Transformation --> InfoCube
I've created a "full" DTP which has a routine in the filters because I need to calculate the from-to date in a routine.
The InfoObject in the ODS is: <b>0CREATEDON</b>
It has no errors. I activate the DTP successfully but when I execute IT get que following errors:
<b>3 - Incorrect initial value for characteristic 0CREATEDON in i_t_range (The description below)</b>
<i> Incorrect initial value for characteristic 0CREATEDON in i_t_range
Message no. DBMAN889
Diagnosis
The specified characteristic is of type NUMC (number as character), DATS (date), or TIMS (time). The initial value of ' ' is incorrect for these data types.
System Response
The call is terminated.
Procedure
Use the correct initial value for the type in the selection condition</i>
This routine has worked successfully in an InfoPackage
Here is the routine code:
form compute_CREATEDON
tables l_t_range structure rssdlrange
changing p_subrc like sy-subrc.
Insert source code to current selection field
$$ begin of routine - insert your code only below this line -
DATA: l_idx like sy-tabix.
*DATA: FECHA_L LIKE SY-DATUM,
FECHA_H LIKE SY-DATUM.
DATA: FECHA_L TYPE D,
FECHA_H TYPE D.
read table l_t_range with key
fieldname = 'CREATEDON'.
l_idx = sy-tabix.
FECHA_L = '20050101'.
FECHA_H = '20051231'.
l_t_range-SIGN = 'I'.
l_t_range-OPTION = 'BT'.
l_t_range-LOW = FECHA_L.
l_t_range-HIGH = FECHA_H.
if l_idx <> 0.
modify l_t_range index l_idx.
else.
append l_t_range.
endif.
p_subrc = 0.
I also tried with fieldname = '<b>0</b>CREATEDON' but I got the same error.
Thanks in advance 4 your helpHi,
Try replacing
DATA: FECHA_L TYPE D,
FECHA_H TYPE D.
part of code with
DATA: FECHA_L (8) TYPE C,
FECHA_H(8) TYPE C.
Hope this helps.
Regards
Rahul Bindroo -
Maximum number of filters in DTP
Hi gurus,
I have to add via ABAP code a lot of filters on EBELN field in a direct access DTP. Is there a limit to the number of entries in table l_t_range ?
Thank you, points if useful
FrancescoHi Francesco ,
If you have lots of filters then i would suggest you not to use DTP filter .
Instead of that in your start routine use a range table similar that we use in ABAP routine and pass all desired values to it and then write one delete statement to delete all values not in range table .
Its because DTP filter provide very poor performance and with routine you can achieve same functionality with much better efficiency .
Regards,
JayaTiwari -
FIltering data in a DTP with abap code.
Hi all:
I want to select data dinamically in a DTP.
I am using abap coding. My problem is that I need to select data from the month that is contained in another field in the source DSO.
Example:
- Select data based on 0FISCPER
- The determination of the combination month/year for 0FISCPER is done based on the field DATE1 existing in the source DSO.
How can I have available the field DATE1 in my calculation in the ABAP?
No matter how I write it, always I receive "Field DATE1 is unknown".
Some ideas?Hi Raj,
I'm not completely aware of the requirement. However, you can try filtering the source package in the start routine using the DATE1 field rather 0FISCPER in the DTP.
The same logic of obtaining the Month and Year can also be obtained in the start routine.
Please elaborate your requirement .
Regards,
Sudheer Kurra.
Edited by: Sudheer Kumar Kurra on Jan 18, 2011 1:27 PM -
Hi Experts,
Its a simple yet confusing error to me. I copy a DTP which has some filters defined. I get an error saying both the DTPs can not have the same filter criteria - if its a Delta DTP. I say ok and try to change the filter values , interestingly the error still remains and my new DTP does not activate.
Please suggest how I can resolve this. I can not change the udpate method to "Full". It has to be a "Delta".
Appreciate your inputs,
thanks,
ShwetaHi Shweta,
I think you have posted your question to the wrong forum. The OnDemand forum is specifically for applications like crystalreports.com and bi.ondemand.com.
Cheers
Steve
Maybe you are looking for
-
Why is FrameMaker not included in Creative Cloud?
I have made the abbonement Creative Cloud and afterwards I have discovered that Frame Maker is not included. Why?
-
Assigning Componets to operation in PM.
Hi All, While creating task list(tcode IA05), i need to assign Componets to operation activity.Now in the componet assignment, the material deatils(material,quantity etc) are to be picked from different storage location of same plant( as same materia
-
How do I update Flash Player ActiveX & Plugin from an internal server at once?
At work we're using both, Flash Player ActiveX and Plugin, because of the use of different Browsers. We have set up a Background Update from our internal server. By updating via "FlashPlayerUpdateService.exe", only the ActiveX Extension gets updated
-
ive been having trouble using my GPS on my mobile, it says i can use network for the GPS rather than Bluetooth, so when i try and connect it says " Enable a satalite positioning method first" even though i clicked on Positiong Methods > Network Based
-
HELP! - Photos Before Restore - Need them back
Here's the situation.... Had an iPhone 5s, did a backup on iTunes to save all of my contacts, etc. before upgrading to the iPhone 6. Bought the iPhone 6, on the way home I got rear-ended so I took a picture of the driver's insurance info. (photo str