Infopackage-Data Selection Tab Values Get Populated Automatically.
Hi All,
In infopackage dataselection tab currently we are entering manually values for 0version info object and process has to be done for 4 differenct infopackagewe are getting a ticket for doing this process for every month.So 0version values would not be unique values ,all the values are different,for instancec10,c99,c11.
user community felt that this one is a time consuming take they want to customize it and they want to enter the value on their own thorug some custom sap screen.
we cannot give access to the user for the infopackage selection and all .we have figured out like we have to create a custom t code and give acces to the user for that t code alone.
If the user enter the 0version value in the front end of it should get reflected in infopackage dataselection tab.
It would be really grateful if u have shared ur thought on the same.
Regards,
Sakthivel S
Hi,
You could use the TVARVC table instead of creating a Z-control table, and allow the users to enter the data into TVARVC via the tcode you are creating.
So for instance the table entries could be as follows.
NAME
SIGN
OPT
LOW
HIGH
IP_1
I
EQ
V1
IP_2
I
BT
V3
V4
IP_3
I
EQ
V9
Now, in the first InfoPackage, write the ABAP routine to read the data from TVARVC where the NAME = IP_1. Based on the results the InfoPackage restrictions will be populated by the routine.
In the second InfoPackage you read based on NAME = IP_2. And so on. Rest of the routine code is same as in the first InfoPackage.
This way you can be assured that the different IPAKs will not have overlapping criteria as long as the table entries are correctly maintained.
Regards,
Suhas
Similar Messages
-
How to debug a ABAP Routine which is in Infopackage Data selection Tab
Hi ,
Please let me know How to debug a ABAP Routine which is in Infopackage Data selection Tab.Hi,
You can try to create infinite loop:
DATA: STOP.
WHILE STOP IS INITIAL. ENDWHILE.
Start InfoPackage and then go to SM50 and swich on debugging for your process. Then in debugger you can change value of STOP variable to skip the loop.
Krzys -
Routine in Infopackage Data selection Tab
HI,
I am having one InfoObject (marital staus) in InfoPackage Data selection Tab.
Now I want to write a ABAP routine for that infoObject in Infopackage to select only those records of marital status = SINGLE.
I am new to ABAP . please let me know what code should I write in this routine.Hi Kris,
You would do it like this:
data: l_idx like sy-tabix.
read table l_t_range with key
fieldname = 'MARITAL_STATUS'.
l_idx = sy-tabix.
move: 'I' to l_t_range-sign,
'EQ' to l_t_range-option,
'SINGLE' to l_t_range-low.
modify l_t_range index l_idx.
Thanks,
Joseph -
Can't find 0FYTLFP OLAP Variable in InfoPackage Data Selection tab on 3.5
On BW 3.5, when generating an InfoPackage with the datasource as Purchasing Data(80PUR_C01), under Data Selection tab, for the InfoObject 0FISCPER, I selected 7 (OLAP variables)for the Type column, then click the button next to it and under the column of Details for Type to bring up a window, but when expending the OLAP Variable field list, can't find the following value in the list which shows up on BW 3.1:
0FYTLFP 0FISCPER Cumulated to Last Fiscal Year/Period (SAP Exit)
How to make the above value show up in the OLAP Variable list? I thought maybe the variable 0FYTLFP needs to be installed in Business Contents, but there is no variable object type in Business Content. It sounds like a SAP Exit, but how to make the SAP Exit value show up on BW 3.5?
Thanks for everyone's input!hey Rohit,
Besides the three variable values in the list on BW 3.5, now I find a new one in the list, called "0E_ROLE 0SR_ROLE Role (SAP Exit)", I have no idea why this one shows up now. Now all the four variables in the list are:
1. 0CML12LM 0CALMONTH Last 12 Months Excluding the Current Month
2. 0CMONTH 0CALMONTH Current Calendar Month
3. 0E_ROLE 0SR_ROLE Role (SAP Exit)
4. 0S_RQMRC 0REQUID Most Current Data
0FYTLFP is still not in the list! We can't try to create BEx query since our BW 3.5 system is just installed and we have not got to the step to ceate a query. I try the 2nd way you suggested by pressing F6 on this variable with the typed in value 0FYTLFP, get the following msg "BEx variable 0FYTLFP could not be evaluated - No error message", that means it would not work on BEx query as well, right?
What could be the reason that we can't see 0FYTLFP variable in our new installed BW 3.5? Do you think our BASIS missed installing sth?
Thanks
Message was edited by: Kevin Smith -
How to debug an OLAP variant which is in Infopackage Data selection Tab
Hi experts,
How can I debug an OLAP variant used in the data selection tab for an infopackage? The loading is done via process chains. I am trying to debug the SAP delivered OLAP variant 0P_PPER3 of infoobject 0FISCPER3 (SAP exit). If I am not mistaken I believe the function module is RSVAREXIT_0P_PPER3. Thanks.Hi Mark !
This method is always good (if you have authorization to work in SM50):
put before your code an endless loop like this one:
data flag type c.
clear flag.
do.
if flag = ' '.
exit.
endif.
enddo.
then start your load...go to SM50 and here you will see your process looping on the same pgm...highlight the process and access into it in debug mode from the menu...
here you can change flag in 'X', exit from the loop and continue all the process in debug !!!
Hope it helps!
Bye,
Roberto
...and please don't forget to reward the answers...it's THE way to say thanks here ! -
Regarding infopackage data selection tab....
Hi sap Gurus,
I have an 2 acc.types r their in this one is "Explosre" and "Income" i have to display only explosre data in data target level.how to possible?
Thanks
devi.Hi Devi,
you can this
1. By restricting account type as expense
or
2. by restricting GL no's in that series(eg: 4 series )
hope this will help you.
Thanks,
Vijay. -
Infopackage Data Selection Problem
Hi All,
When i load master data from source system, in Infopackage data selection tab i give some criteria (e.g Customer number = 1000) But in infopackage the data load with all customer.(Not only 1000)
How can i solve this problem??Hello Ozan,
Please check the datasource in RSA3 and make sure that its working for the same selection.
Is there any routine in your infopackage and what is your source system?
[Thanks|http://chandranonline.blogspot.com/]
[Chandran|http://chandranonline.blogspot.com/] -
Data Selection tab in infopackage
Hi Gurus
Its a very basic question but can anybody tell me what function the "data selection " Tab does in infopackage?
I know the setting required on R3 side for that but not sure why we use the data selection.
Can we use this data selection for master data as well?Hi Kris,
Data Selection tab allows you to select: date ranges, document numbers and the like.
In order to have filds in there, you should first select in the DataSource in the R/3 side wich field could be selected.
If it is a Generic DataSource, you can do it running RSO2 transaction code.
<text removed by moderator>
Claudio
Message was edited by: Matthew Billingham -
How To Add InfoObject in the Data Selection Tab of InfoPackages in 2004s
Hi Y'all!
I would like to ask how to add an infoobject in the Data Selection Tab of the InfoPackage in 2004s. It says its optional, this definintion of selection criteria for the infopackage.
My apologies, I don't understand how this is done. Surely, I would like, however, to understand how to add an infoobject in this data selection Tab of the InfoPackage in 2004s.
Can any kind soul out there (gurus) please lend me your thoughts?
Regards,
PhilipsHello Rajani!
Thank you very mcuh for that! I super appreciate it! Can you prescribe how I can do this step by step please? Where exactly in the DS can I locate this "field for selection" option in the DataSource?
Regards!
Philips -
Change the data selection tab page in an InfoPackage
Hi SDN Community,
Is it possible to have an Infopackage and change the data selection tab page ? Because I would like to know if I can change the select-options by a parameter.
For example: Now you can enter 01.01.1950 as the start date and 31.12.9999 as the end date,
I only want that the user enter the start date.
Thanks a lot,
best regards.
AnaYes, I tried an abap routine option and the result is not good because the user can't put the information in the low (start date) parameter.
Thanks -
Data selection tab of infopackage
hi all,
how do we select data from infopackage if you do not want a certain value?
I wrote ABAP code to select not as:
L_t_RANGE-SIGN = 'I'.
L_t_RANGE-option = 'NE'.
L_t_RANGE-low = 'Y'.
But I got errors. Sign 'I' with 'NE' is not allowed. Please advise.
LindaLinda,
<b>Exclude Option won't work in the Infopackage data selection routine.</b>
You can use SIGN equals to I only and option values EQ, CP and BT.
Try append all the required values. use BT as well as eq.
If you want to permenantly exclude those to BW. you have 3 good options along with Infopackge Selection.
1. <b>User Exit in the Source System.</b>
2. Start Routine in the Transfer Structure.
3. Start Routine in the Update Rules.
all the best.
Regards,
Nagesh Ganisetti.
*assign points if it helps. -
Infopackage "Data Selection" Criteria
Hello,
This is a really simple question.
I want to break out an INIT infopackage from 1 big load to several smaller loads.
To do this I am going to create multiple INIT infopackages that have selections based upon Fiscal Year, and each infopackage will also include a selection for 0VTYPE of 010.
The result will be 4 infopackages that have the following selections for Fiscal year/0VTYPE
1. The beginning of time to 2001 010
2. 2002 010
3. 2003 010
4. 2004 to the end of time 010
When I create the infopackages under the 'data selection' tab I see "From Value" and "To Value"
For each infopackage what values should I enter, so that I get the 4 correct infopackages as described above ( I am most concerned about structuring #1 and #4 correctly)?
Thanks,
NickHello Andres,
I am still testing but things seem to be working well.
What i did was setup an Delta INIT infopackage for Periods 007/2008 - 012/9999
Then I built Full (repair) loads for 6 period intervals beneath the INIT. For example:
001/2008 - 006/2008
007/2007 - 012/2007
001/2007 - 006/2007
It works nicely to break the load up from 1 gigantic to many smaller loads. I put all these packages together in a process chain.
I also found that the load was not slowing down becuase of it being a huge load, it was actually because of the Update rule processing.
I like the smaller loads in the process chain better then 1 huge load, it is easier to manage.
I have also addressed the update rule processing issue, so things (will be) operating much better going forward.
Thanks for the help!
Nick -
USER_TAB_MODIFICATIONS not getting populated automatically
Hi All,
I am in the process of setting up gathering of schema statistics on my database and was trying to setup estimate stale statistics based on the data from the USER_TAB_MODIFICATONS table. Although I see that monitoring has been turned ON for all the tables in the DB and DML operations are also being carried out on a daily basis, the USER_TAB_MODIFICATIONS remains empty all the time.
I tried executing DBMS_STATS.FLUSH_DB_MONITORING_INFO so as to get this table populated. As soon as i executed it, i could see that the records for all the transactions carried out on that schema during the day appeared in the USER_TAB_MODIFICATIONS table. However, when i again carried out a DML operation as waited for 3 hrs so that it would get populated automatically in the table, I could not see any rows for that table in user_tab_modifications.
Can anyone help me out with what could possibly be the reason behind it? Maybe some background process that populated the user_tab_modifications every 3 hours is disabled? Or is there any other reason behind it?
Please advice.CrazyAnie,
Here is an illustration for you;
SQL> set line 1000
SQL> set pagesize 1000
SQL> drop table ogan_deneme purge;
drop table ogan_deneme purge
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> create table ogan_deneme (deneme varchar2(10)) monitoring;
Table created.
SQL> insert into ogan_deneme values ('ogan');
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> delete ogan_deneme;
3 rows deleted.
SQL> commit;
Commit complete.
SQL> select * from user_tab_modifications;
no rows selected
SQL> exec dbms_stats.gather_table_stats('ogan','ogan_deneme');
PL/SQL procedure successfully completed.
SQL> select * from user_tab_modifications;
no rows selected
SQL> conn / as sysdba
Connected.
SQL> select * from dba_tab_modifications where table_owner = 'ogan';
no rows selected
SQL> select * from dba_tab_modifications where table_owner = 'OGAN';
no rows selected
SQL> conn ogan/password
Connected.
SQL> exec dbms_stats.gather_table_stats('ogan','ogan_deneme');
PL/SQL procedure successfully completed.
SQL> insert into ogan_deneme values('ogan');
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> delete from ogan_deneme;
3 rows deleted.
SQL> commit;
Commit complete.
SQL> select * from user_tab_modifications;
no rows selected
SQL> exec dbms_stats.FLUSH_DATABASE_MONITORING_INFO;
BEGIN dbms_stats.FLUSH_DATABASE_MONITORING_INFO; END;
ERROR at line 1:
ORA-20000: Insufficient privileges
ORA-06512: at "SYS.DBMS_STATS", line 2151
ORA-06512: at "SYS.DBMS_STATS", line 14390
ORA-06512: at line 1
SQL> conn / as sysdba
Connected.
SQL> exec dbms_stats.FLUSH_DATABASE_MONITORING_INFO;
PL/SQL procedure successfully completed.
SQL> conn ogan/password
Connected.
SQL> select * from user_tab_modifications;
TABLE_NAME PARTITION_NAME SUBPARTITION_NAME INSERTS UPDATES DELETES TIMESTAMP TRU DROP_SEGMENTS
OGAN_DENEME 3 0 3 25-JUN-10 NO 0
SQL>
Even you have executed dbms_stats.FLUSH_DATABASE_MONITORING_INFO; and so still do not see any data, gather table stats for the relevant table.
Hope it helps,
Ogan -
Problem in data selection tab in infopack
Hi,
I created one text datasource ZACCOUNT_GRP_TEXT based on infoset.
in r/3 , SPRAS is selected as a selection field .
but wen i created the infopak for this , in data selection tab its not giving me the option of sparas selection dats coming blank .
plz let me know the reason why data selection tab is blank and how i can correct it.
thnxhi,
go to extract structure and see whether the selection coulmn is checked for this field.
if not check then check and save it.
now go to rsa3 and see wheter the field is coming in selection.
if yes then replicate the datasourcee to the bw.
now create the infopackage u get the field in IP. -
hi friends,
i need to write routine in data selection tab , i need like when ever i open need to show current data.
how can i write coding.
i have code like this, please correct my code
L_t_RANGE_IOBJNM = '0CALDAY'.
L_t_RANGE-FIELD NAME = 'CALDAY'.
L_t_RANGE-SIGN = 'I'.
L_t_RANGE-OPTION = 'EQ'.
L_t_RANGE-LOW = sy-datum .
I DIDNT UNDERSTAND HERE WHAT IS ACTUALLY IOBJNM WHAT DO U MEAN BY LOW AND HIGH ACTUALLY. FIELD NAME MEANS I NEED TO MENTION LIKE/BIC/ZMNO LIKE .
THANKING U,
SUNEEL.Check below link to understand the RANGE type objects in ABAP. The OBJNAM is the object name which is used for selection in the InfoPackage. l_t_range is the internal table which contains all the selections used in the InfoPackage. So, if you need dynamic selections you have to code to populate dynamic values for the corresponding InfoObject in this Internal table. Low/High are the fields which actually contains the "From" and "to" range in selection.
Option - <,>,=, <> etc.
Sign -Include/Exclude (I/E)
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba71f35c111d1829f0000e829fbfe/content.htm
Regards,
Sree
Maybe you are looking for
-
Need help on OLE excel paste in selected cell range
Hi Friends, I need to paste the clipbord contents in a selected range of cells using ole automation. Rage is selected using the following code : CALL METHOD OF G_EXCEL 'Cells' = G_CELL1 EXPORTING #1 = 4 #2 = 1. CALL METHOD OF G_EXCEL 'Cells
-
Hello, I have an internal table containing selection parameters determined at run-time. eg. it_ipak_selections contains the entries..... FIELDNAME SIGN OPT LOW FISCVARNT I EQ K4 FISCPER
-
Selected resource does not exist
Trying to download a file my teacher has posted for a Live Lesson. Get that the selected resource does not exist, gives link to Adobe Connect, I make sure I have latest download, but does not help, Don't know what to do?
-
Hi gurus, I generated BPs by going to DSWP>EDIT>Create Business Partner. I would like to add the communication methods Like E-mail: Email ID against them in a Mass manner. is there any way add the details in a Mass Manner.
-
HT4314 How to send message to my friends
I want to send message to my friends on the Game Center