Selection Condition In Infopackage
Hello,
Is there a way to use a single infopackage by passing different selection conditions thru' abap routine, for delta init. We require this as we have to extract data based on the logged-in user.
Any help is highly appreciated.
Thank you very much,
Raj
Hi Ronald,
I am coming back with further infn after a long time as i was strucked with other development area, actually our client requirement is Data has to be loaded on company wise .. means the respective responsible person only carryon loading person as per his profile(Authorisation)load has to be happen...this is one requirement,
one more is (whether in this scenario can we go for Delta)
we enhanced the Dtasource with new field in R/3 and when we are trying to make it selction condition in infopackage we are not getting filtering as per that ..
could u or anyone who knows through a light on this..
Thanks in advance
BRB
Similar Messages
-
Selection conditions in Infopackage
Hi,
I developed a data source in R/3 used to load Text Data.
I selected the Key field,Key text and language fields from the table and i checked them in the extract structure of data source.
Now when i replicated the data source and created info package in the 'data selection' tab of info package i am getting only Key Id,I am not getting the option of Language to make selection
How can i do that
ThanksLook in OSS Note 324684 'Selections for language and time-dependence'...
"If a field of a DataSource - typically with field name 'LANGU' or 'SPRAS' - is assigned to InfoObject '0langu', the field is not provided in the selection fields although the field actually can be selected. In this case, all languages of the language vector active in the BW System are requested by the source system but the language selection cannot be defined in the Scheduler.
A precondition is that the language field of the DataSource in the source system is maintained as selection field. This setting is done in Transaction RSA6 (or RSO2 for customer developments)."
Hope it helps.
Regards -
Selection creating in Infopackage
Hello Gurus,
I Have a doubt in selection conditions in Infopackage,
Where i am loading a full upload and i need to pick the data with 100 selection like
abc/india/01
abc/india/south/02
abc/india/03/north
....and more , ahere abc/india are common in all the selections......
can i give abc/india/* for all
if not....plz suggest
regards
SandyHi
The code can be lets say ur field is X
logic i have used is i will take abc ie first three chars by x+0(3) and will delete the records apart from that starts wid abc
delete data_package where x+0(3) ne 'abc'.
so this will only load the records that start wid abc and will delete everyting which start widout abc as the first letter
hope this solves ur prbm assign points if applicable
thanks
puneet -
Selection Conditions on Info Package
Hi Experts
Please advise me on how to proceed
My requirment is to include selection condition in INFOPACKAGE as the total data that data source is extracting is nearly 200 million records to minimize the extraction of data to be loaded to DSo...my requirment is include selection conditions at infopackage level
Condition 1: On Fiscal Year/Period
To load data from 2005 to current....
Condition 2: to exclude particula Cost Center
and data source is delta capable
Please update me how to include these selection conditions do i need to write any ABAP Code and
Do i need to include selection conditions on INIT & DELTA info package as well
I need to load data from FY 2005 to........
Thanks in advanceHi Siegfried Szame
Thanks for the update...apologies for multiple posts
One question as you said Parallel Inits
If i created about 9 different INIT info packages ( My requirment is to initilize data from FY 2006)
IP1: 001.2006 to 004.2006
IP2: 005.2006 to 009.2006
IP3: 010.2006 to 001.2007
IP4: 002.2007 to 005.2007
IP5: 006.2007 to 009.2007
IP6: 010.2007 to 001.2008
IP7: 002.2008 to 005.2008
IP8: 006.2008 to 010.2008
IP9: 011.2008 to 002.2009
How about delta....what are the selection conditions i need to use
and
Can i execute the above packages one after another...that is after completion of IP1 then IP2..then IP3
Please update
Thanks in advance -
Selection condition in the infopackage for initializing delta
How does the selection condition in the infopackage help in initializing delta?
Hi,
You can enter multiple single valus for any field in the infopackage. Just select the row for material type and then click on the insert duplicate button ( + sign ) which is at the bottom letf hand side in the 'Data Selection' tab within the infopackage. You will usually find this 'insert duplicate' icon next to the 'Check' push button.
You can insert as many rows as you want for material type by select the material type rown and clicking on this icon. You can then enter the three values in the three rows for material type.
Regards,
Shilpa -
Selections conditions at the Infopackage
Hi,
My Requirement is to load data for the selection conditions of Current month+12 periods and Current Month-24 periods for the Calmonth characteristic by writing a routine at the infopackage level.
Is there any standared function module for caluclating the year and period using the system date.
If I use 'DATE_TO_PERIOD_CONVERT' then this would give me the year and period but that needs my fiscal variant.
Could some pne help me with this.
Regards,
VamsiHi Ajay,
Could you please tell me whether this code works out for +12 months..
Data : today like sy-datum,
current_month(6) type C,
I_MONTH TYPE I,
I_YEAR TYPE I.
data: l_year like T009B-BDATJ,
l_period like T009B-POPER.
data: l_fiscperlow like l_t_range-low.
data: l_fiscperhigh like l_t_range-high.
today = sy-datum.
current_month = today+0(6).
l_year = today+0(4).
l_period = today+4(2).
l_fiscperlow = current_month.
Add 1 to l_year.
concatenate l_year l_period+1(2) into l_fiscperhigh.
l_t_range-low = l_fiscperlow.
l_t_range-high = l_fiscperhigh.
l_t_range-option = 'BT'.
l_t_range-sign = 'I'.
Regards,
Vamsi -
Deleting Request from cube based on Selection Condition
HI All,
I have a scenario where i have three selection condition while i update from ODS to CUBE . I keep getting differnet versions of the file so the latest version should replace the old version , to do this i tired using the option
Delte Request from Info Cube after Update in the Data Tagets tab
And the Radio button Overlapping is checked . ( This is not working )
The three selection conditions in Info Pacake are
Reduest id from ODS : 11111
Cal Month : 20072
File Type : B
The selecion condition for the second Version in Info Pacake of the same file that should replace the first file in cube is
Reduest id from ODS : 22222 ( The request id is RID in the ODS for second file )
Cal Month : 20072
File Type : B
so can any one let me know how can i achvie this ........Hi Abraham,
You select the variable deletion conditions when you schedule the InfoPackage that is going to load the new data. On the Data Targets tab page in the Automatic Deletion of Similar/Same Requests from InfoCube column, you click on the pushbutton to go to the Deletion of Requests from the InfoCube After Update dialog box.
Here you determine under which conditions existing requests are deleted from the InfoCube:
· You can include update modes, InfoSources, DataSources, and source systems for requests.
Example
Requests are deleted when the appropriate deletion conditions are met if existing requests and new ones were loaded from the same DataSource.
· You can determine whether the selections for the new request need to be the same as or more comprehensive than the selections of the request that is to be deleted, or whether the selections for the new request need to completely or partially overlap the selections of the request that is to be deleted.
· You can specify deletion restrictions according to date. This means that, when the deletion conditions are met, only those requests that were loaded within a specific time period are actually deleted.
Example
If you choose Data for the Request from the Last Seven Days, only those requests are deleted that have been loaded in the last seven days.
· You can specify situations in which a request is not to be deleted, even if the appropriate deletion conditions are in place.
Example
If, under Exceptions, you choose the Today is the Last Day of a Month, existing requests are not deleted, if the new request is loaded on the last day of a month.
· Another option for determining deletion conditions is creating a user routine for the InfoPackage and the InfoCube. In this routine you can exclude requests from a deletion process or include additional requests for deletion.
Check conditions again, it will work, if selection and data source is same.
Hope it Helps
Srini -
Selection Criteria in Infopackage
Hello,
Is there a way to use a single infopackage by passing different selection conditions thru' abap routine, for delta init. We require this as we have to extract data based on the logged-in user.
Any help is highly appreciated.
Thank you very much,
RajFake Delta means simulate Delta mechanism using Selcetion Conditions in InfoPackage ... So it's up to up the determination of the value data to be loaded: e.g. using FISCPER it's up to you the matter of loading data about 06.2004, 07.2004 ...
You can input Selection Conditions manually, or via ABAP coding in your InfoPackage: for one or more fields you can set "TYPE" = 6 and then write your coding in order to set conditions .... Press "Routine Info" on top of the screen to get more info about.
Hope it helps.
GFV -
Enable 3rd party selection tab in infopackage
HI,
When i create my infopacakage for 3rd party datasource, my 3rd party selction tab is not enabled to give any inputs. Could anyone pls guide me how to get it enabled.
AnamikaHi,
I created the infopackage on Third Party i.e. ETL source System . In that Infopackage there is tab name as "3rd Party Selections". In that tab I have to give selection for the ETL workflow which will process the data from ETL to BW. And that tab is in the disable/ display mode. So question is how to make it enable or in the active mode to provide 3rd party selection condition?
Thanks,
Anamika -
Infospoke selection condition has to automated
Hi Friends,
For example the Fiscal week "from" value of selection condition should be ( current fiscal week -15 ) and the "to" value should be the last fiscal week of current year. This selection condition has to automated and infospoke should be using this selection condition while running through the process chain.Write a simple program updating these two tables (which have columns for High and Low) and execute that program before Infopackage in your process chain.
Tables are:
update RSBSPOKESELSET
set low = low_date
high = high_date
where infospoke = ic_name
and objvers = 'A'.
and
update RSBSPOKEVSELSET
set low = low_date
high = high_date
where infospoke = ic_name
and version = max_ver
Hope this helps.
Cheers,
Sumit -
View with selection conditions with system fields.
Hi Experts,
I have a view. Now i want to control the data that is selected using 'Selection Conditions'.
here i want to use system field SY-DATUM.
My requirement is i want to control the output like
Valid_From_Date GE SY-DATUM and
Valid_To_Date LE SY-DATUM
which means that i would be showing only active users in this view.
How can i go about this? System is not allowing system fields in comparision value.
Any help on this is highly appreciated. Thanks.
regards,
SimhaHi,
I am getting a warning first 'enter constant as comparision value'
when i trying to activate the view i am getting the below error.
A join condition on a field of the system table SY (or SYST) was defined.
This is not permitted for database views because the system table is not known to the database
Have tried to activate the view you created?
How to go about this?
Regards,
Simha -
Selection condition in maintenance view
I have one table with data related to 5 systems.
MSF, RET, SER, BOB, SAV, LED.
I need t o create views with related data for each system. But system BOB contains data related to MSF and RET, So instead of creating view for that i have to add MSF related data to MSF view and RET related data to RET view from BOB system. These all are from one table only.Can you please suggest me the selection condition for that in maintenance view.
Thanks.thanks
-
Adhoc Query : Error during selection; check the selection conditions
Hi
We have a report set-up and which we want to run using our adhoc query report tcode S_PH0_48000513
The report, has a few different selection criteria in it to look at all action IT screen data in the system for ee's in specific personnel areas. There is also a criteria to allow us to paste in specific employee numbers we are interested in. The issue I am facing is that over about 3000 ids, the system automatically returns me a message when I click on the Output button to run the report which states:
Error during selection; check the selection conditions
Message no. PAIS206
I am not sure why this is happening. The selection criteria are fine and the other day I ran the report and I experienced no issues. The report ran successfully. Now though, if I try and paste in all the ids I am interested in (about 8000) I get this message straightaway.
Can anything be done to overcome this issue?
Any advice would be much appreciated.
NicolaHi
The message in full is:
Error during selection; check the selection conditions
Message no. PAIS206
Diagnosis
A runtime error occurred during dynamic selection.
System response
The runtime error will be caught; no short dump will be created. This error should not occur as a rule. However, very large select statements may trigger the runtime error SAPSQL_STMNT_TOO_LARGE or DBIF_RSQL_INVALID_RSQL. There is no way to prevent this happening. In this case, the error can only be caught.
Procedure
Check the selection conditions to see whether the error was caused because the option "Import from text file" included too many objects in the "Multiple selection" dialog. If this is so, you must limit the number of individual values. -
Not able to put data selection condition in data selection tab of infopakag
I was loading data from data source as data mart ( export data sauce from ODS) to other ODS.
when I tried to do delta Initialization with data transfer , I am not able to put data selection condition in data selection tab of infopakage.
when I choose Full Update in Update tab . It enables data selection fields in data selection tab. and I could put the condition.
I have checked in transfer structure as well , the fields are marked for selection.
Please advice .
Please tell me what could be the reason for this problemAshutosh,
As you are doing delta upload the data selection tab will be disabled, if you want to do the selective load then you need to do init update with your selection.
When you do the full updtae then definitely the data selection tab will be enabled for all the objects.
Hope this helps...
*******Assign Points if it helps********
Thanks,
Gattu -
Multiple Data in selection tab of infopackage
Hello,
I need to select in a InfoPackage from a InfoObject multiple values, which means
I need to implement a logical OR in the selection of an InoObject in a InfoPackage.
How to set up L_T_RANGE ?
Thank You !
Martin SautterFor dynamis selects this is also helpfull:
Re: ABAP Selection in infopackage
THank You
Martin
Maybe you are looking for
-
How to find out the users in XI?
Hello all, I need to find out how many users are logged into XI? In the ABAP side I can do that via sm66 or AL08. If some one is using the IR and ID how can I find out about those users? Regards, N.S
-
How to hyperlink in my pdf ? (rather urgent)
I made a pdf file from my InDesign original. The first page is an introduction/title page, and at the bottom I added two links to my two websites. I think I did this correctly in InDesign, but not certain. In any case, I need to make bookmarks on my
-
I have lost my cd of HP Deskjet F4288 how i can install the printer to my computer software windows xp
-
CS3 Missing KBSCE area for this panel's Windows menu submenu
Missing KBSCE area for this panel's Windows menu submenu. Does anybody recognize this assert message? I have found posts from other people with the exact same problem, like this one for example: http://forums.adobe.com/message/1303048#1303048 , but n
-
Recommend me a Phone Please: Rugged and Durable
Hi The company I work for is looking for a phone it must be: Rugged (eg rubber cased) Durable (take some abuse) Splash Proof (OK if its splashed with water) Something like a Mobile Phone version of a Toughbook. Please post with suggestions! Thanks Sh