on 04-22-2005 3:03 PM
I would like to run an InfoPackage on a regular basis, but use variable selection criteria, based on the run date. Can I attach ABAP to an InfoPackage? Would I need to include it in a Process Chain, or can I run I run the InfoPackage stand-alone?
Can someone please educate me?
Thanks.
Hi Jerry,
In case for 0CALMONTH or any month infoobject you can write ABAP.
In your Infopackage go to Select Data Tab.
Put 6 (abap routine) in "Type" coloumn for calmonth.
Create routine by pressing next coloumn (Detail on type 6).
read table l_t_range with key fieldname = <name of your current month
field>
l_idx = sy-tabix.
l_t_range-low = sy-datum(6). <get current month part from sy-datum>.
l_t_range-high = sy-datum(6). <get current month part from sy-datum>.
l_t_range-option = 'BT'.
modify l_t_range index l_idx.
p_subrc = 0.
Hope this helps
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jerry,
You can do a selection based on an ABAP routine in your InfoPackage. On the Data Selection tab, click column Type and select option 6 (ABAP routine). You can then put in your routine code.
You can run an InfoPackage as a standalone too. Just depends on what other processes follow it. If you have to activate the data in the ODS, or may be run an aggregation job, or activate the master data, it is a good idea to put in a process chain with all the processes.
Hope this helps...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.