on 11-11-2004 4:43 PM
Hello Experts,
Wondering if there is a way to specify (in the transfer rules / routines)not to load the records if it satisfies Infob1='abc' and Infob2='bcd'?
Thansk
Sweatha
Hi,
Start routine is used to filter the data during the extraction process itself.
You can specify start routine either in transfer rules or in update rules.
e.g.
In transfer rules, it is DATAPAK
DELETE DATAPAK WHERE Infob1='abc' and Infob2='bcd'.
In update rules, it is DATA_PACKAGE
DELETE DATA_PACKAGE WHERE Infob1='abc' and Infob2='bcd'.
You can also use other ABAP commands.
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 Sweatha,
You are thanking a poster for his answer.
Please next time also give him points.
See: /people/mark.finnern/blog/2004/08/10/spread-the-love
This time I did it for you.
Remember: When you ask a question you also assume the responsibility to assign points.
Please check your other questions and if the answers were good. Spread the love and give some points.
Thanks in advance, Mark.
Hi Sweatha,
do you need to get the record out during the extraction or during the upload in the data target?
In the upload rules you could use a Startroutine to filter the records. "abc" would be a value of the infoObject.
Data: n type i.
data: l_tabix like sy-tabix.
Loop AT DATA_PACKAGE.
l_tabix = sy-tabix.
If COMM_STRUCTURE-InfOb1="abc and COMM_STRUCTURE-InfOb2="BCD".
delete DATA_PACKAGE index l_tabix.
continue.
endif.
Endloop.
Hope that helped,
regards,Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.