on 12-04-2015 1:57 PM
Hi guys,
I would like to exclude some values with an infopackage routine, here my code:
data: l_idx like sy-tabix.
read table l_t_range with key
fieldname = 'VBELN'.
l_idx = sy-tabix.
*....
delete l_t_range where vbeln = '1'.
delete l_t_range where vbeln = '2'.
modify l_t_range index l_idx.
p_subrc = 0.
Let's say i would like to exclude values vbeln 1 and 2.
Thanks.
Amine
Hi Amine
Infopackage could not handle exclusions and guess that is why you are trying for routine.
If the selections are simple to exclude and just for one time load, use ranges of what you need. In infopackage selections, you could include 1 to 5 and 7 to 10 in order to exclude 6.
Check the below threads for your code.
https://scn.sap.com/thread/913846
Regards
Karthik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.